This project contains a web template that was inspired by Tailwind, Astro, and other designs. We plan on using this design for the FusionAuth docs, blogs, and auxiliary websites.
The project also contains a custom search widget that uses Algolia's REST API. This could quite easily be ported to Lunr or any other search solution.
And most of all, this project is free and open source. Feel free to use any part of it for your own projects!
Happy coding!
We are currently using Astro for our SSG technology. We aren't leveraging any Astro components really because we wanted a template that would make it simple for someone to extract our HTML, CSS, and JavaScript and port it to anything (Jekyll, Hugo, Next, etc).
To run the project, just type this:
npm install
Then, generate your pages:
npm run start
To run in dev, so file changes are picked up:
npm run dev
If you want to run the linter for the whole project you can run:
npm run lint
However, the project has a billion violations at the moment. To target a specific file, you can run:
npm run lint -- src/components/BlogButton.astro
or similar to just target the individual files you want to check. Also your editor should be able to run the linter as you edit, so you will see your violations in real time.
If you need to skip the linter for any reason you can add a comment for either eslint-disable-next-line
or eslint-disable-line
to the line you want to skip.
{/* eslint-disable-next-line */}
<a href="https://www.fusionauth.io">FusionAuth</a>
The check on Pull Requests will only look at the files that you have changed in your PR