From e8d5dd44eb5fe82e1a1704efaeb65559d3dc6e34 Mon Sep 17 00:00:00 2001 From: Sangelo Date: Wed, 15 Nov 2023 20:02:58 +0100 Subject: [PATCH] [c] progress --- package.json | 1 + src/app.scss | 4 +- src/routes/+layout.svelte | 2 +- src/routes/+layout.ts | 1 + src/routes/About.svelte | 2 +- src/routes/Home.svelte | 11 ++ src/routes/Socials.svelte | 261 +++++++++++++++++--------------- src/styles/about.scss | 8 +- src/styles/home.scss | 85 +++++++++-- src/styles/index.scss | 1 + src/styles/socials.scss | 45 +++++- src/variables.scss | 2 + static/assets/emojis/svelte.png | Bin 0 -> 26019 bytes svelte.config.js | 13 +- yarn.lock | 5 + 15 files changed, 301 insertions(+), 140 deletions(-) create mode 100644 static/assets/emojis/svelte.png diff --git a/package.json b/package.json index 76af4ed..7384cbc 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ }, "devDependencies": { "@sveltejs/adapter-auto": "^2.0.0", + "@sveltejs/adapter-static": "^2.0.3", "@sveltejs/kit": "^1.20.4", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", diff --git a/src/app.scss b/src/app.scss index 5af6b9e..93889f4 100644 --- a/src/app.scss +++ b/src/app.scss @@ -9,8 +9,8 @@ html, body, main { font-family: $font-family; - width: 100%; - height: 100%; + // width: 100%; + // height: 100%; margin: 0; color: $white; background-color: $space-black; diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index a34abe2..5b1bf39 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -7,7 +7,7 @@ {#key data.pathname} -
+
{/key} diff --git a/src/routes/+layout.ts b/src/routes/+layout.ts index 8290a93..7f96587 100644 --- a/src/routes/+layout.ts +++ b/src/routes/+layout.ts @@ -5,3 +5,4 @@ export const load = ({ url }) => { pathname }; }; +export const prerender = true \ No newline at end of file diff --git a/src/routes/About.svelte b/src/routes/About.svelte index acd9bdb..bbb46b0 100644 --- a/src/routes/About.svelte +++ b/src/routes/About.svelte @@ -66,7 +66,7 @@
-

Hi! It's me, Sangelo.

+

Hi! It's me, Sangelo.

I'm a guy who does stuff.

diff --git a/src/routes/Home.svelte b/src/routes/Home.svelte index fe40736..14c4149 100644 --- a/src/routes/Home.svelte +++ b/src/routes/Home.svelte @@ -1,6 +1,8 @@