ZOYKU火線榜

ajayns/gatsby-absurd技術文件

An absurd Gatsby starter

多語言回退提示:當前倉庫原作者暫未發布在地化文件,已為您無縫切換至官方英文原版(English),排版及程式碼實例完整保真。
npm i gatsby-absurd

gatsby-absurd

An absurd Gatsby starter. The collection of illustrations, absurd.design by Diana Valeanu is a very fascinating and beautiful project with some pretty thoughtful concepts. Experimentation on how that could be put together on a site ended up as this starter.

screenshot

Live Demo

Installation

Install the dependencies:

yarn install

Run the development server:

yarn dev

Production build to /public:

yarn build

Cleanup cache (often fixes misc errors when run before yarn dev):

yarn clean

Content

Each of the sections in the site are placed in src/sections. Data is usually separated out into objects/arrays to be rendered in the component.

SEO

The component src/components/common/SEO.js handles all meta data and SEO content, modify the SEO_DATA variable to add the data automatically. For application manifest data and favicon, modify the gatsby-plugin-manifest configuration in gatsby-config.js.

Styling

This project uses styled-components to handle styling: src/styles/theme.js defines the styling base and src/styles/GlobalStyles.js includes basic element styles along with the CSS Reset.

文件鏡像歸檔自 GitHub 官方源路徑 · 造訪原專案 GitHub
最後同步快照:2026-11-10