From c0af3a63d6cd7b893ca23aeb442e776955bc2c91 Mon Sep 17 00:00:00 2001 From: Polesznyák Márk Date: Thu, 25 Sep 2025 01:39:56 +0200 Subject: feat: "rewrite" in pure HTML/CSS --- src/app.d.ts | 14 ------- src/app.html | 12 ------ src/app.scss | 79 ---------------------------------------- src/lib/assets/css/projects.scss | 64 -------------------------------- src/lib/assets/wave1.svg | 1 - src/lib/assets/wave2.svg | 1 - src/lib/index.ts | 1 - src/lib/projects.json | 28 -------------- src/lib/socials.json | 28 -------------- src/routes/+layout.svelte | 18 --------- src/routes/+layout.ts | 2 - src/routes/+page.svelte | 34 ----------------- src/routes/projects/+page.svelte | 38 ------------------- 13 files changed, 320 deletions(-) delete mode 100644 src/app.d.ts delete mode 100644 src/app.html delete mode 100644 src/app.scss delete mode 100644 src/lib/assets/css/projects.scss delete mode 100644 src/lib/assets/wave1.svg delete mode 100644 src/lib/assets/wave2.svg delete mode 100644 src/lib/index.ts delete mode 100644 src/lib/projects.json delete mode 100644 src/lib/socials.json delete mode 100644 src/routes/+layout.svelte delete mode 100644 src/routes/+layout.ts delete mode 100644 src/routes/+page.svelte delete mode 100644 src/routes/projects/+page.svelte (limited to 'src') diff --git a/src/app.d.ts b/src/app.d.ts deleted file mode 100644 index ede21d9..0000000 --- a/src/app.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -// See https://kit.svelte.dev/docs/types#app -// for information about these interfaces -import '@poppanator/sveltekit-svg/dist/svg' -declare global { - namespace App { - // interface Error {} - // interface Locals {} - // interface PageData {} - // interface PageState {} - // interface Platform {} - } -} - -export {}; diff --git a/src/app.html b/src/app.html deleted file mode 100644 index db4d6c5..0000000 --- a/src/app.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - %sveltekit.head% - - -
%sveltekit.body%
- - diff --git a/src/app.scss b/src/app.scss deleted file mode 100644 index fe57f71..0000000 --- a/src/app.scss +++ /dev/null @@ -1,79 +0,0 @@ -$font-min: 16px; -$font-desired: calc((2.6vh + 8vw) / 2); -$font-max: 32px; - -$icon-min: 50px; -$icon-desired: calc((3.25vh + 10vw) / 2); -$icon-max: 96px; - -*{ - box-sizing: border-box; - margin: 0; - padding: 0; -} - -body { - background-color: #1e1e2e; - color: #ccc; - font-family: 'Space Mono', monospace; - width: 100%; - font-size: clamp($font-min, $font-desired, $font-max); - position: fixed; - height: 100dvh; -} - -.socials { - margin-top: 10px; -} - -.social-icon { - width: clamp($icon-min, $icon-desired, $icon-max); -} - -a { - color: #ccc; - text-decoration: none; - transition: color .25s ease-in-out; - - &:hover { - color: #a6fbb2; - transition: color .25s ease-in-out; - } -} - -a.icon { - margin-right: 2vw; -} - -.container { - display: flex; - height: 100dvh; - align-items: center; - justify-content: center; - overflow: hidden; - flex-direction: column; - width: 100%; -} - -.main { - text-align: left; - line-height: 1.2; - margin: 20px; -} - -.wave { - position: absolute; - top: 0; - max-width: 140vw; - max-height: 140vh; -} - -.wave1 { - left: 0; - transform: rotate(-45deg) translate(-30%, -80%); -} - -.wave2 { - right: 0; - transform: rotate(45deg) translate(50%, -90%); -} diff --git a/src/lib/assets/css/projects.scss b/src/lib/assets/css/projects.scss deleted file mode 100644 index 03376a1..0000000 --- a/src/lib/assets/css/projects.scss +++ /dev/null @@ -1,64 +0,0 @@ -$font-min: 16px; -$font-desired: 1vw; -$font-max: 32px; - -.project-container { - padding: 0 10vw; - display: grid; - grid-template-columns: repeat(2, minmax(40vw, 1fr)); - height: 80dvh; - align-items: center; - justify-items: center; - overflow: auto; - align-content: center; - -ms-overflow-style: none; - scrollbar-width: none; -} - -.project-container::-webkit-scrollbar { - display: none; -} - -.project { - margin: 15px 15px; - font-size: clamp($font-min, $font-desired, $font-max); - padding: 25px 10px; - display: flex; - align-items: center; - background: #1e1e2e; - transition: transform .3s ease-in-out; - border-radius: 2vh; - box-shadow: -12px -12px 28px #27273b73, 12px 12px 20px #12121c73; -} - -.spacer { - height: 20dvh; - display: flex; - flex-direction: column; - justify-content: end; - z-index: 30; -} - -.home { - font-size: clamp($font-min, 2.5vw, 48px); - margin-bottom: 15px; -} - -.project-icon { - width: 4rem; - height: 4rem; - margin-right: 10px; -} - -@media (max-width: 839px) { - .project-container { - grid-template-columns: minmax(90vw, 1fr); - padding: 0 5vw; - align-content: normal; - } -} - -a:hover .project { - transform: scale(103%); - transition: transform .3s ease-in-out; -} diff --git a/src/lib/assets/wave1.svg b/src/lib/assets/wave1.svg deleted file mode 100644 index 76699ab..0000000 --- a/src/lib/assets/wave1.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/lib/assets/wave2.svg b/src/lib/assets/wave2.svg deleted file mode 100644 index 95d41a5..0000000 --- a/src/lib/assets/wave2.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/lib/index.ts b/src/lib/index.ts deleted file mode 100644 index 856f2b6..0000000 --- a/src/lib/index.ts +++ /dev/null @@ -1 +0,0 @@ -// place files you want to import through the `$lib` alias in this folder. diff --git a/src/lib/projects.json b/src/lib/projects.json deleted file mode 100644 index 6296dde..0000000 --- a/src/lib/projects.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "projects": [ - { - "icon": "https://pml68.dev/pml68.png", - "link": "https://sr.ht/~pml68/pml68.dev", - "title": "pml68", - "description": "My personal website — the one you're currently viewing" - }, - { - "icon": "https://iced.rs/logo.svg", - "link": "https://sr.ht/~pml68/iced-builder", - "title": "iced Builder", - "description": "UI builder for iced, built with iced. (WIP)" - }, - { - "icon": "https://avatars.githubusercontent.com/u/209838582?s=200&v=4", - "link": "https://github.com/foghorn-rs/foghorn", - "title": "Foghorn", - "description": "Signal Messenger client written in Rust and Iced" - }, - { - "icon": "https://iced.rs/logo.svg", - "link": "https://sr.ht/~pml68/iced_dialog", - "title": "iced_dialog", - "description": "Custom dialog for iced" - } - ] -} diff --git a/src/lib/socials.json b/src/lib/socials.json deleted file mode 100644 index c6a4a55..0000000 --- a/src/lib/socials.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "socials": [ - { - "name": "github", - "link": "https://github.com/pml68" - }, - { - "name": "sourcehut", - "link": "https://sr.ht/~pml68" - }, - { - "name": "dev", - "link": "https://dev.to/pml68" - }, - { - "name": "steam", - "link": "https://steamcommunity.com/id/nigmaballs" - }, - { - "name": "telegram", - "link": "https://t.me/pml68_1" - }, - { - "name": "email", - "link": "mailto:contact@pml68.dev" - } - ] -} diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte deleted file mode 100644 index 856ee27..0000000 --- a/src/routes/+layout.svelte +++ /dev/null @@ -1,18 +0,0 @@ - - - - - -
- {@render children?.()} -
diff --git a/src/routes/+layout.ts b/src/routes/+layout.ts deleted file mode 100644 index c5dbeb7..0000000 --- a/src/routes/+layout.ts +++ /dev/null @@ -1,2 +0,0 @@ -export const prerender = true -export const trailingSlash = 'always' diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte deleted file mode 100644 index d9ec52f..0000000 --- a/src/routes/+page.svelte +++ /dev/null @@ -1,34 +0,0 @@ - - - - pml68 - - -
-

pml68

-

Just your average IT student

-
- {#each socialsList as {name, link}} - - - - {/each} -
-
-
- Check out my projects here -
-
diff --git a/src/routes/projects/+page.svelte b/src/routes/projects/+page.svelte deleted file mode 100644 index d19af6c..0000000 --- a/src/routes/projects/+page.svelte +++ /dev/null @@ -1,38 +0,0 @@ - - - - Projects - - -
-
- Take me back home -
-
-
- {#each projectsList as {icon, link, title, description}} - -
- {title -
-

{title}

-

{description}

-
-
-
- {/each} -
-- cgit v1.2.3