This stores the code and content for our club website! Eventually, a non-technical guide will be written for how to contribute content to the site, but for now it is still under heavy development.
This is a SvelteKit project using Svelte 5, the most recent version as of time of writing. To make the ui easier to develop for, this also uses TailwindCSS and the DaisyUI library.
Currently, it is configured to be published as a static site and uses the static SvelteKit adapter. What that means is that when a push is made to the main branch, our "Deploy" github action will fire and regenerate the site and deploy it to ufaes.github.io. As far as I'm aware our org should have plenty of CPU hours for the purposes of site regeneration, but most development should happen out of main as it is trivial to test changes to the site locally.
Read below for tips automatically generated by the project setup.
Everything you need to build a Svelte project, powered by sv.
If you're seeing this, you've probably already done this step. Congrats!
# create a new project in the current directory
npx sv create
# create a new project in my-app
npx sv create my-appOnce you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --openTo create a production version of your app:
npm run buildYou can preview the production build with npm run preview.
To deploy your app, you may need to install an adapter for your target environment.