cecil/theme-applanding

Cecil 主题:App Landing

资助包维护!
ArnaudLigny
Open Collective

安装: 290

依赖项: 0

建议者: 0

安全性: 0

星标: 3

关注者: 2

分支: 0

开放问题: 0

语言:Twig

类型:cecil-theme

1.8.1 2023-12-12 10:53 UTC

This package is auto-updated.

Last update: 2024-09-12 12:27:29 UTC


README

App Landing 是由 Cecil 驱动的主题,由 Tailwind CSS 支持。

Demo screenshot

安装

composer require cecil/theme-applanding

或者 下载最新的存档 并将其内容解压到 themes/applanding

使用方法

配置 Cecil

在您的 config.ymltheme 部分添加 applanding

theme:
  - applanding

示例

theme:
  - applanding
applanding:
  buttons:
    - name: Netlify
      url: https://cecil.app/hosting/netlify/deploy
      image: https://www.netlify.com/img/deploy/button.svg
  source: https://github.com/Cecilapp/the-butler
  documentation: https://github.com/Cecilapp/the-butler#readme
  demo: https://the-butler-demo.cecil.app
  screenshot: cecil-preview.png

构建 CSS

创建 Tailwind 配置文件 tailwind.config.js

module.exports = {
  presets: [
    require('./themes/applanding/tailwind.preset.js')
  ],
  content: [
    './layouts/**/*.html.twig',
    './themes/**/layouts/**/*.html.twig',
  ]
}

运行以下命令

npm install -D tailwindcss
npx tailwindcss -i ./themes/applanding/tailwind.css -o ./assets/styles.css

许可证

App Landing 是在 MIT 许可证条款下分发的免费软件。

© Arnaud Ligny