···11-###############################################################################
22-# Set default behavior to automatically normalize line endings.
33-###############################################################################
44-* text=auto
55-
···11+# create-svelte
22+33+Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/main/packages/create-svelte).
44+55+## Creating a project
66+77+If you're seeing this, you've probably already done this step. Congrats!
88+99+```bash
1010+# create a new project in the current directory
1111+npm create svelte@latest
1212+1313+# create a new project in my-app
1414+npm create svelte@latest my-app
1515+```
1616+1717+## Developing
1818+1919+Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
2020+2121+```bash
2222+npm run dev
2323+2424+# or start the server and open the app in a new browser tab
2525+npm run dev -- --open
2626+```
2727+2828+## Building
2929+3030+To create a production version of your app:
3131+3232+```bash
3333+npm run build
3434+```
3535+3636+You can preview the production build with `npm run preview`.
3737+3838+> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.
···11-<style>
22-h6:before {
33- all: unset;
44-}
55-</style>
66-77-# about
88-99-hi, i'm dusk, a software engineer and aspiring game developer.
1010-feel free to send an e-mail or DM me on Discord if you have anything to ask.
1111-1212-+ contact:
1313- - discord: yusdacra
1414- - e-mail: y.bera003.06@pm.me
1515-+ others:
1616- - bluesky: https://bsky.app/profile/gaze.systems
1717- - misskey.art: https://misskey.art/@yusdacra
1818-1919-## bio
2020-2121-i love using Nix / NixOS for anything.
2222-i like developing with Rust for my hobby or work projects.
2323-my projects are on [my GitHub](https://github.com/yusdacra) and [my Gitea](https://git.gaze.systems/dusk).
2424-2525-i love playing (and making) video games.
2626-you can find any game i develop [here on my itch.io page](https://yusdacra.itch.io/).
2727-2828-###### [this site's source is available here](https://git.gaze.systems/dusk/website).
+1
src/lib/index.ts
···11+// place files you want to import through the `$lib` alias in this folder.
-9
src/posts/_exporting ssh key from gpg.md
···11-- gpg --export-secret-ssh-key doesn't work
22-- gpg --export-ssh-key works to export public key
33-44------------
55-66-- to export secret ssh key first remove password from your [A]uthentication subkey
77- - you can do this with `gpg --edit-key KEYID` and then `passwd` and `save`
88-- then do `gpg --export-secret-subkeys KEYID! | openpgp2ssh KEYID > ssh_key`
99-
src/resources/icon.png
This is a binary file and will not be displayed.
src/resources/icon.webp
This is a binary file and will not be displayed.
-11
src/resources/wave-alt.svg
···11-<?xml version="1.0" encoding="utf-8"?>
22-<svg id="wave" style="transform:rotate(0deg); transition: 0.3s" viewBox="0 0 1440 300" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:bx="https://boxy-svg.com">
33- <defs>
44- <linearGradient id="sw-gradient-0" x1="0" x2="0" y1="1" y2="0">
55- <stop stop-color="rgba(107, 213, 44, 1)" offset="0"/>
66- <stop stop-color="rgba(107, 213, 44, 1)" offset="1"/>
77- </linearGradient>
88- <bx:guide x="1441.0930872017134" y="165.14410770893244" angle="-90"/>
99- </defs>
1010- <path style="transform:translate(0, 0px); opacity:1" fill="url(#sw-gradient-0)" d="M 0 165 L 26.7 150 C 72.192 120.938 119.554 60.623 160 60 C 213.294 59.179 267 120 320 155 C 373.3 190 427 200 480 215 C 533.3 230 587 250 640 225 C 693.3 200 747 130 800 130 C 853.3 130 907 200 960 190 C 1013.3 180 1067 90 1120 85 C 1173.3 80 1227.415 158.934 1280 180 C 1333.487 201.428 1389.415 178.414 1440 165 C 1491.746 151.279 1547 220 1600 200 C 1653.3 180 1707 90 1760 80 C 1813.3 70 1867 140 1920 180 C 1973.3 220 2027 230 2080 220 C 2133.3 210 2187 180 2240 170 C 2293.3 160 2347 170 2400 190 C 2453.3 210 2507 240 2560 245 C 2613.3 250 2667 230 2720 210 C 2773.3 190 2827 170 2880 155 C 2933.3 140 2987 130 3040 145 C 3093.3 160 3147 200 3200 195 C 3253.3 190 3307 140 3360 120 C 3413.3 100 3467 110 3520 115 C 3573.3 120 3627 120 3680 135 C 3733.3 150 3787 180 3813 195 L 3840 210 L 3840 300 L 3813.3 300 C 3786.7 300 3733 300 3680 300 C 3626.7 300 3573 300 3520 300 C 3466.7 300 3413 300 3360 300 C 3306.7 300 3253 300 3200 300 C 3146.7 300 3093 300 3040 300 C 2986.7 300 2933 300 2880 300 C 2826.7 300 2773 300 2720 300 C 2666.7 300 2613 300 2560 300 C 2506.7 300 2453 300 2400 300 C 2346.7 300 2293 300 2240 300 C 2186.7 300 2133 300 2080 300 C 2026.7 300 1973 300 1920 300 C 1866.7 300 1813 300 1760 300 C 1706.7 300 1653 300 1600 300 C 1546.7 300 1493 300 1440 300 C 1386.7 300 1333 300 1280 300 C 1226.7 300 1173 300 1120 300 C 1066.7 300 1013 300 960 300 C 906.7 300 853 300 800 300 C 746.7 300 693 300 640 300 C 586.7 300 533 300 480 300 C 426.7 300 373 300 320 300 C 266.7 300 213 300 160 300 C 106.7 300 53 300 27 300 L 0 300 L 0 165 Z"/>
1111-</svg>
-10
src/resources/wave.svg
···11-<?xml version="1.0" encoding="utf-8"?>
22-<svg id="wave" style="transform:rotate(0deg); transition: 0.3s" viewBox="0 0 1440 430" version="1.1" xmlns="http://www.w3.org/2000/svg">
33- <defs>
44- <linearGradient id="sw-gradient-0" x1="0" x2="0" y1="1" y2="0">
55- <stop stop-color="rgba(107, 213, 44, 1)" offset="0"/>
66- <stop stop-color="rgba(80.792, 162.008, 32.523, 1)" offset="1"/>
77- </linearGradient>
88- </defs>
99- <path style="transform:translate(0, 0px); opacity:1" fill="url(#sw-gradient-0)" d="M 0 86 L 46.251 67.859 C 175.531 14.217 238.887 227.328 288 293.8 C 345.208 371.228 480 215 576 186.3 C 672 158 768 186 864 215 C 960 244 1055.968 271.887 1152 236.5 C 1248.032 201.113 1351.412 125.867 1440 86 C 1528.588 46.133 1632 143 1728 150.5 C 1824 158 1920 100 2016 71.7 C 2112 43 2208 43 2304 50.2 C 2400 57 2496 72 2592 129 C 2688 186 2784 287 2880 315.3 C 2976 344 3072 301 3168 243.7 C 3264 186 3360 115 3456 71.7 C 3552 29 3648 14 3744 50.2 C 3840 86 3936 172 4032 200.7 C 4128 229 4224 201 4320 179.2 C 4416 158 4512 143 4608 164.8 C 4704 186 4800 244 4896 229.3 C 4992 215 5088 129 5184 143.3 C 5280 158 5376 272 5472 329.7 C 5568 387 5664 387 5760 329.7 C 5856 272 5952 158 6048 143.3 C 6144 129 6240 215 6336 229.3 C 6432 244 6528 186 6624 143.3 C 6720 100 6816 72 6864 57.3 L 6912 43 L 6912 430 L 6864 430 C 6816 430 6720 430 6624 430 C 6528 430 6432 430 6336 430 C 6240 430 6144 430 6048 430 C 5952 430 5856 430 5760 430 C 5664 430 5568 430 5472 430 C 5376 430 5280 430 5184 430 C 5088 430 4992 430 4896 430 C 4800 430 4704 430 4608 430 C 4512 430 4416 430 4320 430 C 4224 430 4128 430 4032 430 C 3936 430 3840 430 3744 430 C 3648 430 3552 430 3456 430 C 3360 430 3264 430 3168 430 C 3072 430 2976 430 2880 430 C 2784 430 2688 430 2592 430 C 2496 430 2400 430 2304 430 C 2208 430 2112 430 2016 430 C 1920 430 1824 430 1728 430 C 1632 430 1536 430 1440 430 C 1344 430 1248 430 1152 430 C 1056 430 960 430 864 430 C 768 430 672 430 576 430 C 480 430 384 430 288 430 C 192 430 96 430 48 430 L 0 430 L 0 86 Z"/>
1010-</svg>
+2
src/routes/+page.svelte
···11+<h1>Welcome to SvelteKit</h1>
22+<p>Visit <a href="https://kit.svelte.dev">kit.svelte.dev</a> to read the documentation</p>
static/favicon.png
This is a binary file and will not be displayed.
+18
svelte.config.js
···11+import adapter from '@sveltejs/adapter-auto';
22+import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
33+44+/** @type {import('@sveltejs/kit').Config} */
55+const config = {
66+ // Consult https://kit.svelte.dev/docs/integrations#preprocessors
77+ // for more information about preprocessors
88+ preprocess: vitePreprocess(),
99+1010+ kit: {
1111+ // adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
1212+ // If your environment is not supported, or you settled on a specific environment, switch out the adapter.
1313+ // See https://kit.svelte.dev/docs/adapters for more information about adapters.
1414+ adapter: adapter()
1515+ }
1616+};
1717+1818+export default config;
+19
tsconfig.json
···11+{
22+ "extends": "./.svelte-kit/tsconfig.json",
33+ "compilerOptions": {
44+ "allowJs": true,
55+ "checkJs": true,
66+ "esModuleInterop": true,
77+ "forceConsistentCasingInFileNames": true,
88+ "resolveJsonModule": true,
99+ "skipLibCheck": true,
1010+ "sourceMap": true,
1111+ "strict": true,
1212+ "moduleResolution": "bundler"
1313+ }
1414+ // Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
1515+ // except $lib which is handled by https://kit.svelte.dev/docs/configuration#files
1616+ //
1717+ // If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
1818+ // from the referenced tsconfig.json - TypeScript does not merge them in
1919+}
+6
vite.config.ts
···11+import { sveltekit } from '@sveltejs/kit/vite';
22+import { defineConfig } from 'vite';
33+44+export default defineConfig({
55+ plugins: [sveltekit()]
66+});