This commit is contained in:
zktsn0w 2023-10-10 20:52:28 +02:00
parent 4016409a66
commit 6b4e4c1223
5 changed files with 13 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

BIN
public/img/code.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

BIN
public/img/work.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

View File

@ -23,10 +23,10 @@ export const StoryItem = (props: StoryItemProps) => {
<p class="text-lg font-bold">{props.item.title}</p> <p class="text-lg font-bold">{props.item.title}</p>
<p class="w-1/2">{props.item.description}</p> <p class="w-1/2">{props.item.description}</p>
</div> </div>
{props.item.epochTime && <p class="font-mono text-zinc-500 font-bold">{props.item.epochTime}</p>} {props.item.epochTime && <p class="font-mono text-zinc-500 font-bold pt-3">{props.item.epochTime}</p>}
</div> </div>
<div class="shadow-md delay-75 group-hover:scale-105 transition-all items-center overflow-hidden flex justify-center shadow-gray-500 right-2 top-1 bg-gradient-to-br from-emerald-600 to-emerald-500 md:w-32 xl:w-36 w-20 aspect-square absolute"> <div class="shadow-md rounded-md delay-75 group-hover:scale-105 transition-all items-center overflow-hidden flex justify-center shadow-gray-500 right-2 top-1 bg-gradient-to-br from-emerald-600 to-emerald-500 md:w-32 xl:w-36 w-20 aspect-square absolute">
{props.item.image && <a class={`h-full w-full ${props.item.paddingedImage && 'p-6'}`} href={props.item.link && ''}><img class="h-auto w-full object-cover" src={props.item.image} alt="" /></a>} {props.item.image && <a class={`h-full w-full ${props.item.paddingedImage && 'p-6'}`} href={props.item.link && ''}><img class="h-auto w-full object-cover" src={props.item.image} alt="" /></a>}
</div> </div>
</div> </div>

View File

@ -15,16 +15,24 @@ const storyItems: StoryItemType[] = [
title: "First Code", title: "First Code",
description: description:
"At the age of 13, I penned my first lines of code. Over the following years, I transitioned from crafting Minecraft plugins with Java to entering the world of web development.", "At the age of 13, I penned my first lines of code. Over the following years, I transitioned from crafting Minecraft plugins with Java to entering the world of web development.",
image: "", image: "/img/code.png",
epochTime: "2017 - 2019" epochTime: "2017 - 2019"
}, },
{ {
title: "Apprenticeship", title: "Apprenticeship",
description: description:
"During my three-year apprenticeship, I delved into web and backend application development, honing my skills and building a strong foundation in the field.", "During my three-year apprenticeship, I delved into web and backend application development, honing my skills and building a strong foundation in the field.",
image: "/img/terminal.svg", image: "/img/apprenticeship.png",
epochTime: "2020 - 2023", epochTime: "2020 - 2023",
paddingedImage: true paddingedImage: false
},
{
title: "Coding",
description:
"Now, i'm working professionally at a digital-agency in munich, developing enterprise-level Web-Solutions for small and big companies.",
image: "/img/work.png",
epochTime: "since 2023",
paddingedImage: false
} }
]; ];
--- ---