From 4308d957b3ff810c4baef63f1b8df5ef7b412f29 Mon Sep 17 00:00:00 2001 From: Florian <45694132+flo-bit@users.noreply.github.com> Date: Sun, 22 Sep 2024 00:14:14 +0200 Subject: [PATCH 1/7] update about --- src/lib/components/About.svelte | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/src/lib/components/About.svelte b/src/lib/components/About.svelte index f603d7b..8e53554 100644 --- a/src/lib/components/About.svelte +++ b/src/lib/components/About.svelte @@ -37,31 +37,28 @@

- hey there, i'm florian. i live in berlin, where i create things for the web. + i'm florian. i live in berlin, where i create things for the web.

- i was one of the only kids in my class without a game console, but we did have a computer. - when i was 12, I got a coding book for christmas and started making my own games in C and - opengl. though i never finished any of those early projects, i got hooked on - programming. + i was one of the only kids in my class without a game console, but we did have a + computer. when i was 12, I got a coding book for christmas and started making my own + games in C and opengl. though i never finished any of those early projects, i got + hooked on programming.

- after school, I started studying computer science and started working as a software developer. - i really love the web because it's so accessible — anyone with a device and internet can - access your work instantly. publishing and sharing your work is also pretty simple, - whether as a website, a pwa, or a serverless function/api. + after school, I started studying computer science and started working as a software + developer. i really love the web because it's so accessible — anyone with a device and + internet can access your work instantly. publishing and sharing your work is also + pretty simple, whether as a website, a pwa, or a serverless function/api.

- in my free time, i build lots of web-based projects. i really like the - intersection of design and development. I love learning new things and am always - looking for new cool projects. - If you want to build something together or just want to connect, feel free to + in my free time, i build lots of web-based projects. i really like the intersection of + design and development. I love learning new things and am always looking for new cool + projects. If you want to build something together or just want to connect, feel free + to reach out.

-- knotmirror 0.0.1 From 7dfcd7ddbaccc0d4cc06c6ab5d2aa3dc26364881 Mon Sep 17 00:00:00 2001 From: Florian <45694132+flo-bit@users.noreply.github.com> Date: Sun, 22 Sep 2024 00:32:02 +0200 Subject: [PATCH 2/7] update readme --- README.md | 20 ++++++++ src/routes/test/+page.svelte | 95 ------------------------------------ todo.md | 3 +- 3 files changed, 22 insertions(+), 96 deletions(-) delete mode 100644 src/routes/test/+page.svelte diff --git a/README.md b/README.md index 02a90ae..aa2369b 100644 --- a/README.md +++ b/README.md @@ -15,3 +15,23 @@ older demo videos: https://github.com/flo-bit/flo-bit.github.io/assets/45694132/481296b2-f36d-466c-9741-4dd5771eb306 https://github.com/flo-bit/flo-bit.github.io/assets/45694132/a251ab6f-a416-4a2d-905f-8dffb2e36e0f + +## techstack + +- sveltekit (static build using `@sveltejs/adapter-static`) +- threlte (svelte wrapper for threejs) +- tailwind +- automatic deployment using github actions to github pages +- typescript + +## development + +clone the repo, install dependencies and run the dev server: + +```bash +git clone https://github.com/flo-bit/flo-bit.github.io.git +npm install +npm run dev +``` + +when using it for your own portfolio, please remove the posthog analytics script from `src/app.html` (line 3-6) \ No newline at end of file diff --git a/src/routes/test/+page.svelte b/src/routes/test/+page.svelte deleted file mode 100644 index 62b764c..0000000 --- a/src/routes/test/+page.svelte +++ /dev/null @@ -1,95 +0,0 @@ - -
- - - - - - - - - - - - - - - - - - - -
- - diff --git a/todo.md b/todo.md index 5b83714..36fc0b9 100644 --- a/todo.md +++ b/todo.md @@ -18,4 +18,5 @@ - update favicon (dark mode) - featured project? - autumn planet -- halloween planet \ No newline at end of file +- halloween planet +- accessibility (keyboard navigation, focus styles, check audio version) \ No newline at end of file -- knotmirror 0.0.1 From 35f46e4ac4d07faaff40a3986312cfed1647ed47 Mon Sep 17 00:00:00 2001 From: Florian <45694132+flo-bit@users.noreply.github.com> Date: Sun, 22 Sep 2024 00:33:08 +0200 Subject: [PATCH 3/7] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index aa2369b..7761b70 100644 --- a/README.md +++ b/README.md @@ -10,9 +10,9 @@ this is my portfolio, created using sveltekit, threlte, threejs and tailwind. wi ![screenshot](/static/image.jpg) -older demo videos: +demo videos: -https://github.com/flo-bit/flo-bit.github.io/assets/45694132/481296b2-f36d-466c-9741-4dd5771eb306 +https://github.com/user-attachments/assets/757d9b20-2232-4012-8013-68d5997960e6 https://github.com/flo-bit/flo-bit.github.io/assets/45694132/a251ab6f-a416-4a2d-905f-8dffb2e36e0f @@ -34,4 +34,4 @@ npm install npm run dev ``` -when using it for your own portfolio, please remove the posthog analytics script from `src/app.html` (line 3-6) \ No newline at end of file +when using it for your own portfolio, please remove the posthog analytics script from `src/app.html` (line 3-6) -- knotmirror 0.0.1 From 3bd528cfd291fb4f279f8a33ffb6f26e740cb84f Mon Sep 17 00:00:00 2001 From: Florian <45694132+flo-bit@users.noreply.github.com> Date: Sun, 22 Sep 2024 00:33:43 +0200 Subject: [PATCH 4/7] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7761b70..80a9af3 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,12 @@ this is my portfolio, created using sveltekit, threlte, threejs and tailwind. wip. +## demos + [see it live here](https://flo-bit.github.io/) [vr version here](https://flo-bit.github.io/vr) (only tested on quest 3) -## demos - ![screenshot](/static/image.jpg) demo videos: -- knotmirror 0.0.1 From 932e933e38018d728a9c961b1b47d116428ba2c9 Mon Sep 17 00:00:00 2001 From: Florian <45694132+flo-bit@users.noreply.github.com> Date: Wed, 25 Sep 2024 21:47:07 +0200 Subject: [PATCH 5/7] small fixes --- src/lib/components/Projects.svelte | 2 +- .../components/project/demos/swiper.svelte | 89 +++++++++---------- 2 files changed, 45 insertions(+), 46 deletions(-) diff --git a/src/lib/components/Projects.svelte b/src/lib/components/Projects.svelte index c2878ae..5fec119 100644 --- a/src/lib/components/Projects.svelte +++ b/src/lib/components/Projects.svelte @@ -28,7 +28,7 @@ loop muted playsinline - class="absolute inset-0 h-full w-full object-cover rounded-xl" + class="absolute inset-0 h-full w-full object-cover rounded-xl group-hover:scale-105 transition-transform duration-200" preload="none" > diff --git a/src/lib/components/project/demos/swiper.svelte b/src/lib/components/project/demos/swiper.svelte index 90ee80d..ebb95fa 100644 --- a/src/lib/components/project/demos/swiper.svelte +++ b/src/lib/components/project/demos/swiper.svelte @@ -2,59 +2,58 @@ import { onMount } from 'svelte'; import { CardSwiper } from './CardSwiper'; - //@ts-expect-error - not found - import person1 from './CardSwiper/images/1.jpg?format=webp&w=512'; - //@ts-expect-error - not found - import person2 from './CardSwiper/images/2.jpg?format=webp&w=512'; - //@ts-expect-error - not found - import person3 from './CardSwiper/images/3.jpg?format=webp&w=512'; - //@ts-expect-error - not found - import person4 from './CardSwiper/images/4.jpg?format=webp&w=512'; - //@ts-expect-error - not found - import person5 from './CardSwiper/images/5.jpg?format=webp&w=512'; - //@ts-expect-error - not found - import person6 from './CardSwiper/images/6.jpg?format=webp&w=512'; - //@ts-expect-error - not found - import person7 from './CardSwiper/images/7.jpg?format=webp&w=512'; - //@ts-expect-error - not found - import person8 from './CardSwiper/images/8.jpg?format=webp&w=512'; - //@ts-expect-error - not found - import person9 from './CardSwiper/images/9.jpg?format=webp&w=512'; - - let people = [person1, person2, person3, person4, person5, person6, person7, person8, person9]; - - function getRandomPerson(): { firstName: string; lastName: string; age: number } { - const firstNames = ['John', 'Jane', 'Alice', 'Bob', 'Mary', 'Tom']; - const lastNames = ['Smith', 'Doe', 'Johnson', 'White', 'Brown', 'Davis']; - - const firstNameIndex = Math.floor(Math.random() * firstNames.length); - const lastNameIndex = Math.floor(Math.random() * lastNames.length); - - const age = Math.floor(Math.random() * (60 - 18 + 1)) + 18; - - return { - firstName: firstNames[firstNameIndex], - lastName: lastNames[lastNameIndex], - age: age - }; -} + //@ts-expect-error - not found + import person1 from './CardSwiper/images/1.jpg?format=webp&w=512'; + //@ts-expect-error - not found + import person2 from './CardSwiper/images/2.jpg?format=webp&w=512'; + //@ts-expect-error - not found + import person3 from './CardSwiper/images/3.jpg?format=webp&w=512'; + //@ts-expect-error - not found + import person4 from './CardSwiper/images/4.jpg?format=webp&w=512'; + //@ts-expect-error - not found + import person5 from './CardSwiper/images/5.jpg?format=webp&w=512'; + //@ts-expect-error - not found + import person6 from './CardSwiper/images/6.jpg?format=webp&w=512'; + //@ts-expect-error - not found + import person7 from './CardSwiper/images/7.jpg?format=webp&w=512'; + //@ts-expect-error - not found + import person8 from './CardSwiper/images/8.jpg?format=webp&w=512'; + //@ts-expect-error - not found + import person9 from './CardSwiper/images/9.jpg?format=webp&w=512'; + let people = [person1, person2, person3, person4, person5, person6, person7, person8, person9]; + + function getRandomPerson(): { firstName: string; lastName: string; age: number } { + const firstNames = ['John', 'Jane', 'Alice', 'Bob', 'Mary', 'Tom']; + const lastNames = ['Smith', 'Doe', 'Johnson', 'White', 'Brown', 'Davis']; + + const firstNameIndex = Math.floor(Math.random() * firstNames.length); + const lastNameIndex = Math.floor(Math.random() * lastNames.length); + + const age = Math.floor(Math.random() * (60 - 18 + 1)) + 18; + + return { + firstName: firstNames[firstNameIndex], + lastName: lastNames[lastNameIndex], + age: age + }; + } let data = (index: number) => { - let person = getRandomPerson(); + let person = getRandomPerson(); return { title: `${person.firstName} ${person.lastName}, ${person.age}`, description: 'swipe left or right', - image: people[index % people.length] + image: people[index % people.length] }; }; - onMount(() => { - // preload images - people.forEach((person) => { - new Image().src = person; - }); - }); + onMount(() => { + // preload images + people.forEach((person) => { + new Image().src = person; + }); + }); - \ No newline at end of file + -- knotmirror 0.0.1 From 55481a0d057161c2075c6cd6420f5fefcd4274bd Mon Sep 17 00:00:00 2001 From: Florian <45694132+flo-bit@users.noreply.github.com> Date: Sat, 28 Sep 2024 07:31:44 +0200 Subject: [PATCH 6/7] small fixes --- src/lib/components/Projects.svelte | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/lib/components/Projects.svelte b/src/lib/components/Projects.svelte index 5fec119..3eeaa62 100644 --- a/src/lib/components/Projects.svelte +++ b/src/lib/components/Projects.svelte @@ -3,7 +3,10 @@ import { projects } from '$lib/projects'; -
+

@@ -16,11 +19,11 @@

-
+
{#each projects as project}
{#if project.src.endsWith('.mp4')}
-
+
{#each projects as project} -
- {#if project.src.endsWith('.mp4')} - - {:else} - - {/if} +
-
- {project.name} + {#if project.src.endsWith('.mp4')} + + {:else} + + {/if} +
+
+ {project.name} +
-
- -
-
-
+ +
+
+
+
{/each}
diff --git a/src/lib/components/Resume.svelte b/src/lib/components/Resume.svelte index 074d89c..b1fe898 100644 --- a/src/lib/components/Resume.svelte +++ b/src/lib/components/Resume.svelte @@ -62,7 +62,7 @@ ]; -
+

+ + work & education +

+
    + {#each resume as role} + + {/each} +
diff --git a/src/lib/components/project/ProjectTiered.svelte b/src/lib/components/project/ProjectTiered.svelte index 8576031..2c874f5 100644 --- a/src/lib/components/project/ProjectTiered.svelte +++ b/src/lib/components/project/ProjectTiered.svelte @@ -34,7 +34,7 @@ : ''} lg:gap-8" > {#if project.demo == 'swiper'} -
+
{:else if project.demo == 'autostereogram'} diff --git a/src/lib/components/project/demos/CardSwiper/Card.svelte b/src/lib/components/project/demos/CardSwiper/Card.svelte index 101a063..8efd3e7 100644 --- a/src/lib/components/project/demos/CardSwiper/Card.svelte +++ b/src/lib/components/project/demos/CardSwiper/Card.svelte @@ -10,7 +10,7 @@
{#key image} @@ -19,7 +19,7 @@ {/if} {/key}
-
+

{title}

{description}

diff --git a/src/lib/components/project/demos/swiper.svelte b/src/lib/components/project/demos/swiper.svelte index ebb95fa..ec5e83a 100644 --- a/src/lib/components/project/demos/swiper.svelte +++ b/src/lib/components/project/demos/swiper.svelte @@ -56,4 +56,21 @@ }); - +
+
+
+
+
+ +
+
+
+ +
+ +
+
+ +
+
+
diff --git a/src/lib/projects.ts b/src/lib/projects.ts index 90d9677..ffccd0a 100644 --- a/src/lib/projects.ts +++ b/src/lib/projects.ts @@ -78,7 +78,7 @@ export const projects: Project[] = [ { src: tinyplanets, key: 'tiny-planets', - projectUrl: 'https://flo-bit.github.io/tiny-planets/', + projectUrl: 'https://flo-bit.dev/tiny-planets/', aspect: 'aspect-[1]', name: 'tiny planets', codeUrl: 'https://github.com/flo-bit/tiny-planets', @@ -90,9 +90,9 @@ export const projects: Project[] = [ { src: svelteswipecards, key: 'svelte-swiper-cards', - href: 'https://flo-bit.github.io/svelte-swiper-cards/', + href: 'https://flo-bit.dev/svelte-swiper-cards/', - projectUrl: 'https://flo-bit.github.io/svelte-swiper-cards/', + projectUrl: 'https://flo-bit.dev/svelte-swiper-cards/', aspect: 'aspect-[9/18]', name: 'svelte swipable cards', @@ -116,7 +116,7 @@ export const projects: Project[] = [ { src: mandala, key: 'svg-mandala', - projectUrl: 'https://flo-bit.github.io/mandala/', + projectUrl: 'https://flo-bit.dev/mandala/', aspect: 'aspect-1', name: 'svg mandala drawer', description: @@ -130,7 +130,7 @@ export const projects: Project[] = [ { src: fluidtexteffect, key: 'text-effect-fluid', - projectUrl: 'https://flo-bit.github.io/text_effect_fluid/', + projectUrl: 'https://flo-bit.dev/text_effect_fluid/', aspect: 'aspect-[23/9]', name: 'fluid text effect', codeUrl: 'https://github.com/flo-bit/text_effect_fluid', @@ -165,7 +165,7 @@ export const projects: Project[] = [ // src: mandala, // key: 'svg-mandala', // alt: 'svg mandala drawer', - // projectUrl: 'https://flo-bit.github.io/mandala/', + // projectUrl: 'https://flo-bit.dev/mandala/', // aspect: 'aspect-1', // name: 'svg mandala drawer', // description: @@ -178,7 +178,7 @@ export const projects: Project[] = [ { src: shadowshmup, key: 'shadow-shmup', - codeUrl: 'https://flo-bit.github.io/shadow-shmup/', + codeUrl: 'https://flo-bit.dev/shadow-shmup/', aspect: 'aspect-[13/9]', name: 'shadow shmup', description: @@ -191,7 +191,7 @@ export const projects: Project[] = [ { src: fake3d, key: 'depth3dcomponent', - projectUrl: 'https://flo-bit.github.io/svelte-depth-3d-component/', + projectUrl: 'https://flo-bit.dev/svelte-depth-3d-component/', aspect: 'aspect-[9/16]', name: 'svelte depth 3d component', description: @@ -217,7 +217,7 @@ export const projects: Project[] = [ { src: oldcode, key: 'old-code', - projectUrl: 'https://flo-bit.github.io/old-code/', + projectUrl: 'https://flo-bit.dev/old-code/', aspect: 'aspect-[16/11]', name: 'old coding projects', codeUrl: 'https://github.com/flo-bit/old-code', @@ -240,7 +240,7 @@ export const projects: Project[] = [ { src: marblellous, key: 'marblellous', - projectUrl: 'https://flo-bit.github.io/ball-game/', + projectUrl: 'https://flo-bit.dev/ball-game/', aspect: 'aspect-[9/10]', name: 'marblellous', description: @@ -252,7 +252,7 @@ export const projects: Project[] = [ // src: autostereogramrenderer, // key: 'autostereogram-renderer', // alt: 'autostereogram renderer', - // projectUrl: 'https://flo-bit.github.io/autostereogram-renderer/', + // projectUrl: 'https://flo-bit.dev/autostereogram-renderer/', // codeUrl: 'https://github.com/flo-bit/autostereogram-renderer', // aspect: 'aspect-1', // name: 'autostereogram renderer', -- knotmirror 0.0.1