diff --git a/README.md b/README.md index 5ce6766..8fa768b 100644 --- a/README.md +++ b/README.md @@ -1,22 +1,14 @@ -# create-svelte +# Suyu website -Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/main/packages/create-svelte). +This project contains the source code for the Suyu website, found at [suyu.dev](https://suyu.dev) -## Creating a project - -If you're seeing this, you've probably already done this step. Congrats! - -```bash -# create a new project in the current directory -npm create svelte@latest - -# create a new project in my-app -npm create svelte@latest my-app -``` ## Developing +If you are deeloping, please take note of the `.env.example` & the secrets config (found at src/lib/server/secrets/secrets.example.json). +At minimum, please make sure to clone the `secrets.example.json` file and rename it to `secrets.json`. Otherwise, the project will not run or build (you don't have to edit the values to get it running, but you can if you'd like). -Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server: + +Once you've installed dependencies with `npm install` (or `pnpm install` or `yarn`), you can start a development server by running: ```bash npm run dev @@ -27,12 +19,9 @@ npm run dev -- --open ## Building -To create a production version of your app: +To create a production version of our app, you can run: ```bash npm run build ``` -You can preview the production build with `npm run preview`. - -> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment. diff --git a/src/app.pcss b/src/app.pcss index 64b0630..46ea02e 100644 --- a/src/app.pcss +++ b/src/app.pcss @@ -41,6 +41,22 @@ h3 { @apply outline-none ring-2 ring-sky-400; } +::-webkit-scrollbar { + @apply w-[8px]; +} + +::-webkit-scrollbar-track { + @apply bg-[var(--page-bg)] +} + +::-webkit-scrollbar-thumb { + @apply rounded-xl bg-[#3c4f7c] +} + +::-webkit-scrollbar-thumb:hover { + @apply bg-[#526ca8] +} + .cta-button { background: linear-gradient(0deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.06)), radial-gradient(109.26% 109.26% at 49.83% 13.37%, #ffffff 0%, #babaca 100%); diff --git a/src/assets/branding/tuta.png b/src/assets/branding/tuta.png new file mode 100644 index 0000000..63dbe1b Binary files /dev/null and b/src/assets/branding/tuta.png differ diff --git a/src/assets/fonts/suivar.ttf b/src/assets/fonts/suivar.ttf new file mode 100644 index 0000000..859db80 Binary files /dev/null and b/src/assets/fonts/suivar.ttf differ diff --git a/src/components/Card.svelte b/src/components/Card.svelte new file mode 100644 index 0000000..f013004 --- /dev/null +++ b/src/components/Card.svelte @@ -0,0 +1,78 @@ + + +