A simple static web page providing a form that can be filled in and then downloaded as a json file.
To edit the contents:
- the headings and introductory text are defined in src/routes/+page.svelte
- the topics and subtopics are defined in src/lib/formTopics.ts
- the additional questions are defined in src/lib/formQuestions.ts
The website is automatically built and deployed to computer-science-hd.github.io/dacs-application on every push to the main branch using this Github Action.
Initial setup to edit the website locally:
- install pnpm, e.g.
curl -fsSL https://get.pnpm.io/install.sh | sh -
- clone the repo, e.g.
gh repo computer-science-hd.github.io/dacs-application-2024-25
- install node dependencies, e.g.
pnpm install
To start a dev server and open the website in browser:
pnpm run dev -- --open
Commands used to generate most of the first commit:
curl -fsSL https://get.pnpm.io/install.sh | sh -
pnpm create svelte@latest
pnpm i -D @sveltejs/adapter-static
Commands used to add flowbite-svelte UI library:
npx svelte-add@latest tailwindcss
pnpm i -D flowbite-svelte flowbite