filecoin foundation site
1.0.0
Note: these docs will be expanded upon in a future iteration of the site
This is the repository for the Filecoin Foundation website (fil.org)
This repo represents a static site which requires compilation, but can then be served as a static resource
This site is hosted on IPFS and is compatible with relative URLs, for IPFS and IPNS gateway paths
The site's resources are served statically, but internal navigation is virtualized: in other words, the site acts as an SPA when browsed on the client
While a static site, this app can be extended at any time to a full application by changing the target
in settings
To build this site locally
npm ci && npm run generate
dist
is created, which contains the static site outputnpm ci && npm run dev
Key areas of this repo include
/pages
- All page templates/components
- Each reusable collection of elements is abstracted to a component, and most components accept various properties that determine the way they are rendered/static
- Static resources which will be available post-compile/assets/scss
- The global styles for the app are available here in SASS/SCSS, more specific styles can be found at the bottom of .vue
pages and components (single file components on vuejs.org)/assets/svgs
- Contains iconography or other small vectors, in SVG format/content
- The site's content, which is edited using the Forestry CMSdevelop
builds to a non public url
main
builds to fil.org
content
is a branch that the CMS writes to
main
, the content
branch will be auto approved by a Github actionjson
filesmd
files, in markdown formatcontent/pages/
directorygeneral
sectionpages
section)media
section, after which point it can be used in any rich media field