Giter Club home page Giter Club logo

astro-cn.com's Introduction

Astro 中文网站 Showcase

Built with Astro Built with Astro

展示一些使用 Astro 构建的中文网站!

🧞 Commands

运行以下命令:

Command Action
pnpm install 安装依赖
pnpm run dev localhost:4321 启动开发服务器
pnpm run build 打包到 ./dist/
pnpm run preview 本地预览

添加 Showcase

用 Astro 或 Starlight 构建过中文网站?欢迎添加 Showcase!

  1. Fork 此仓库,在你的本地运行

  2. 添加一个你的网站的截图到 src/assets/showcase/ 文件夹。

    • 你网站域名命名的 .png 格式,例如 example.com.png
    • 图片尺寸为 800 × 450 像素。
  3. src/sites.ts 为你的网站添加新的一条。

    • 新的网站必须放在已存在的列表最后。
    • title 属性是必须的,它是你的网站的名称。
    • href 属性是必须的,它是你的网站的 URL。
    • thumbnail 属性是必须的,它是第 2 步中添加的截图文件名。
const sites: Site[] = [
  // ...
  { title: "Example", href: "https://example.com", thumbnail: "example.com.png" },
  { title: "Last Example", href: "https://example.org", thumbnail: "example.org.png" },
+ { title: "你的网站", href: "https://example.com", thumbnail: "example.com.png" },
]
  1. 创建一个 PR 到本仓库。

进群交流

如果你是 Astro 用户,欢迎加我微信 liruifengv2333 进 Astro 中文交流群

Deployed on Zeabur

astro-cn.com's People

Contributors

liruifengv avatar jw-12138 avatar cgqaq avatar ccbikai avatar moeyua avatar yjl9903 avatar oe avatar hexwars avatar crazyzard avatar towelong avatar 100gle avatar licodeao avatar syhily avatar yy4382 avatar iwfan avatar hu-qi avatar huyikai avatar javayhu avatar suzulang avatar ttttinyfish avatar wanghanzhen avatar zuozizhen avatar xijaja avatar otto-j avatar yuhangch avatar a5yncx avatar bingal avatar recallwei avatar emjio avatar captainofphb avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.