This repository contains the source code for the official Fylgja website and documentation, available at fylgja.dev.
The site is built with Astro and serves as a comprehensive resource for the Fylgja CSS library, which is in a separate repository.
To get a local copy up and running, follow these simple steps.
- Node.js and npm (see
.nvmrcfor the recommended version)
- Clone the repo:
git clone https://github.com/fylgja/site.git
- Install NPM packages:
npm install
To start the development server, run the following command:
npm startThis will start a local development server, typically at http://localhost:4321.
In the project directory, you can run:
npm startornpm run dev: Runs the app in development mode.npm run build: Builds the static site for production to thedist/folder.npm run preview: Serves the production build locally to preview changes.
Here is a brief overview of the project's directory structure:
src/pages: Contains the site's pages.src/layouts: Contains page layouts.src/components: Contains reusable Astro components.src/content: Contains Markdown content for documentation and the blog.public/: Contains static assets that are copied directly to the build output.
Contributions make the open-source community an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
Please read our contributing.md for details on our code of conduct and the process for submitting pull requests.