diff --git a/package-lock.json b/package-lock.json index 4ab84a2..444841e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,6 +20,7 @@ "devDependencies": { "@playwright/test": "^1.28.1", "@sveltejs/adapter-auto": "^1.0.0", + "@sveltejs/adapter-static": "^1.0.5", "@sveltejs/kit": "^1.0.0", "@types/markdown-it": "^12.2.3", "@typescript-eslint/eslint-plugin": "^5.45.0", @@ -613,6 +614,15 @@ "@sveltejs/kit": "^1.0.0" } }, + "node_modules/@sveltejs/adapter-static": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@sveltejs/adapter-static/-/adapter-static-1.0.5.tgz", + "integrity": "sha512-W5jbgvy9sbYEHs27NQOSFEun+zQwdcL4kpk5qc2kSHl8cKsP5wfXuWDTDRmD1Co40aFcesi5Az5ZzdnPI8KCVg==", + "dev": true, + "peerDependencies": { + "@sveltejs/kit": "^1.0.0" + } + }, "node_modules/@sveltejs/kit": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-1.1.1.tgz", @@ -4085,6 +4095,13 @@ "import-meta-resolve": "^2.2.0" } }, + "@sveltejs/adapter-static": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@sveltejs/adapter-static/-/adapter-static-1.0.5.tgz", + "integrity": "sha512-W5jbgvy9sbYEHs27NQOSFEun+zQwdcL4kpk5qc2kSHl8cKsP5wfXuWDTDRmD1Co40aFcesi5Az5ZzdnPI8KCVg==", + "dev": true, + "requires": {} + }, "@sveltejs/kit": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-1.1.1.tgz", diff --git a/package.json b/package.json index b7cdeca..c3b416f 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "devDependencies": { "@playwright/test": "^1.28.1", "@sveltejs/adapter-auto": "^1.0.0", + "@sveltejs/adapter-static": "^1.0.5", "@sveltejs/kit": "^1.0.0", "@types/markdown-it": "^12.2.3", "@typescript-eslint/eslint-plugin": "^5.45.0", diff --git a/src/app.html b/src/app.html index 5d898a9..effe0d0 100644 --- a/src/app.html +++ b/src/app.html @@ -1,5 +1,5 @@ - + diff --git a/src/app.scss b/src/app.scss index b841c7a..2c0ae51 100644 --- a/src/app.scss +++ b/src/app.scss @@ -14,10 +14,14 @@ $min-desktop: 1024px; $min-ultrawide: 1700px; $default-border-radius:5px; +$border-hover-color: #999; +$default-main-color: white; +$default-active-color: rgb(176, 176, 176); + :root { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; color: $text-color; - background-color: $basecolor + background-color: $basecolor; } .box-with-shadow { @@ -32,6 +36,7 @@ $default-border-radius:5px; width: 80%; max-width: 1024px; } + } .image-container{ @@ -43,9 +48,6 @@ $default-border-radius:5px; max-width: 100%; max-height: 300px; object-fit: scale-down; - @media (prefers-color-scheme: light) { - background-color: $contrast; - } } } @@ -62,4 +64,4 @@ button{ h1, h2, h3 { font-weight: normal; -} \ No newline at end of file +} diff --git a/src/elements/Skills copy.svelte b/src/elements/Skills copy.svelte deleted file mode 100644 index 23c1697..0000000 --- a/src/elements/Skills copy.svelte +++ /dev/null @@ -1,37 +0,0 @@ - - -
- Hello -
-

HTML

-
-
percentage
-
-
-
- - diff --git a/src/lib/elements/AboutMe.svelte b/src/lib/elements/AboutMe.svelte index 8d041ab..b98b95b 100644 --- a/src/lib/elements/AboutMe.svelte +++ b/src/lib/elements/AboutMe.svelte @@ -1,6 +1,5 @@ -
- - +
+ +
+ + +
+ + diff --git a/src/lib/elements/Menu.svelte b/src/lib/elements/Menu.svelte index c5ca566..74d056d 100644 --- a/src/lib/elements/Menu.svelte +++ b/src/lib/elements/Menu.svelte @@ -1,119 +1,51 @@ -
- + diff --git a/src/lib/elements/MenuBig.svelte b/src/lib/elements/MenuBig.svelte new file mode 100644 index 0000000..05a80a3 --- /dev/null +++ b/src/lib/elements/MenuBig.svelte @@ -0,0 +1,143 @@ + + + + + diff --git a/src/lib/elements/MenuMobile.svelte b/src/lib/elements/MenuMobile.svelte index 2a957a7..c48997f 100644 --- a/src/lib/elements/MenuMobile.svelte +++ b/src/lib/elements/MenuMobile.svelte @@ -1,5 +1,4 @@ - -
- Hello -
-

HTML

-
-
percentage
-
-
-
- - diff --git a/src/lib/elements/Skills.svelte b/src/lib/elements/Skills.svelte index 6b9944f..3370864 100644 --- a/src/lib/elements/Skills.svelte +++ b/src/lib/elements/Skills.svelte @@ -25,7 +25,7 @@ .inside { width: 70px; height: 70px; - // background-color: white; + // background-color:$basecolor2; border-radius: 50%; text-align: center; vertical-align: middle; diff --git a/src/lib/elements/Training.svelte b/src/lib/elements/Training.svelte index ad6af28..96d393c 100644 --- a/src/lib/elements/Training.svelte +++ b/src/lib/elements/Training.svelte @@ -13,7 +13,7 @@ const training: Schema[] = data as Schema[]; -
+
{#each training as school}
school logo @@ -27,13 +27,10 @@
diff --git a/svelte.config.js b/svelte.config.js index 1768ddf..589c90a 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -1,4 +1,4 @@ -import adapter from '@sveltejs/adapter-auto'; +import adapter from '@sveltejs/adapter-static'; import { vitePreprocess } from '@sveltejs/kit/vite'; import {markdown} from 'svelte-preprocess-markdown'; import preprocess from 'svelte-preprocess'; @@ -14,7 +14,12 @@ const config = { })], kit: { - adapter: adapter() + adapter: adapter({ + // default options are shown + pages: 'build', + assets: 'build', + fallback: null + }) } }; diff --git a/to-be-done/blog/+page.svelte b/to-be-done/blog/+page.svelte new file mode 100644 index 0000000..a1bc2e8 --- /dev/null +++ b/to-be-done/blog/+page.svelte @@ -0,0 +1,56 @@ + + + + +
+ + + + +
+

{title.it}

+ +
+
+ + diff --git a/src/routes/blog/[slug]/+page.svelte b/to-be-done/blog/[slug]/+page.svelte similarity index 95% rename from src/routes/blog/[slug]/+page.svelte rename to to-be-done/blog/[slug]/+page.svelte index 477941f..56844f9 100644 --- a/src/routes/blog/[slug]/+page.svelte +++ b/to-be-done/blog/[slug]/+page.svelte @@ -1,6 +1,6 @@