2025-03-31 23:07:29 +02:00
< script lang = "ts" >
2025-08-25 11:35:00 +02:00
import { onMount } from "svelte";
2026-01-23 14:19:20 +01:00
import Content from "$lib/viewport/content.svelte";
2025-04-03 17:31:24 +02:00
import GamedevWebring from "$lib/webrings/gamedev.svelte";
2026-01-21 22:08:09 +01:00
import Gallery, { type GalleryEntry } from "$lib/lists/gallery.svelte";
2026-01-23 14:19:20 +01:00
import LinkList from "$lib/lists/link-list.svelte";
2025-08-25 11:35:00 +02:00
import { quotes , type Quote } from "./quotes";
2025-04-03 10:15:04 +02:00
2026-01-21 22:08:09 +01:00
import { posts } from "./projects/projectn5/devlog/posts";
2025-07-14 12:12:30 +02:00
2025-08-25 11:35:00 +02:00
let meImg: string = $state("common/me/a.webp");
let marqueeQuote: Quote = $state({
author: "",
content: "",
source: "",
});
2026-01-05 11:20:34 +00:00
let latestDevlogDate = posts.values().next().value?.date ?? "could not fetch";
const galleryEntries: GalleryEntry[] = [
{
title: "Project N5 – devlog",
2026-01-21 22:08:09 +01:00
subtitle: `my active Godot game project about finding yourself in an unfamiliar future. < i > latest update: ${ latestDevlogDate } </ i > `,
2026-01-05 11:20:34 +00:00
img: "projects/projectn5/devlog/2025/0523/birds_eye.webp",
imgAlt: "Project N5 screenshot of Laura looking down at two cuboids",
2026-01-23 15:46:08 +01:00
link: "projects/projectn5",
2026-01-05 11:20:34 +00:00
},
{
title: "Projects",
subtitle: "an overview of what I do and have done",
img: "projects/project-mix.webp",
imgAlt: "A collage of multiple projects: the Unity default third-person character and CJ from GTA San Andreas in the top left; purple protagonist from Project N5 holding a massive rocket launcher in the top right; two wizards in the bottom left; a breadboard with a microcontroller and input components in the bottom right",
link: "projects",
},
{
title: "Files",
2026-01-21 22:08:09 +01:00
subtitle: "find things I've put for download on my copyparty instance",
2026-01-05 11:20:34 +00:00
img: "common/hypertext.webp",
imgAlt: "Screenshot of Hypertext Unity level. Crates are strewn across the floor, Waluigi is flying in front of the camera, and text such as 'COME AND TRY OUR ALL-NEW BLENDER' and 'omg! it's the brandenburg er tor!' is displayed",
link: "//files.denizk0461.dev/",
},
];
2025-04-03 10:15:04 +02:00
2025-08-25 11:35:00 +02:00
onMount(() => {
setPicture();
setMarqueeText();
});
2025-07-14 12:12:30 +02:00
2025-08-25 11:35:00 +02:00
function getRandom(max: number): number {
return Math.floor(Math.random() * max);
2025-04-03 10:15:04 +02:00
}
2025-08-25 11:35:00 +02:00
2025-04-03 10:15:04 +02:00
let setPicture = function() {
2025-08-16 16:42:16 +02:00
var pictures = ["a", "b", "c", "e"];
2025-04-03 10:15:04 +02:00
var selectedPicture = pictures[getRandom(pictures.length)];
meImg = "common/me/" + selectedPicture + ".webp";
};
2025-07-14 14:36:05 +02:00
2025-08-25 11:35:00 +02:00
let setMarqueeText = function() {
marqueeQuote = quotes[getRandom(quotes.length)];
};
2025-03-31 23:07:29 +02:00
< / script >
2025-04-04 10:37:25 +02:00
< svelte:head >
< title > denizk0461's website< / title >
2025-12-30 19:03:57 +00:00
< meta name = "description" content = "I'm a developer posting about my gamedev, programming, electronics, and sometimes music projects!" >
2025-04-04 10:37:25 +02:00
< / svelte:head >
2025-04-18 11:30:21 +02:00
< Content >
< h1 class = "gradient-title" > < i > Moin!< / i > ~ welcome to my website :)< / h1 >
2025-04-03 10:15:04 +02:00
2026-01-21 20:33:40 +01:00
< hr >
<!-- <div class="quote - marquee - container">
2026-01-21 15:21:21 +01:00
{ @render marqueeContent ({ quote : marqueeQuote , ignoreA11y : false })}
{ @render marqueeContent ({ quote : marqueeQuote , ignoreA11y : true })}
{ @render marqueeContent ({ quote : marqueeQuote , ignoreA11y : true })}
2026-01-21 20:33:40 +01:00
< / div > -->
2026-01-21 15:21:21 +01:00
< h3 > about ↬< img id = "me-img" class = "me-img" title = "hi there" src = { meImg } alt="Deniz, the website developer , small and pixelated " > ↫ me </ h3 >
2026-01-21 20:20:06 +01:00
< p > Hi! I'm Deniz. I'm a programmer, sometimes a music producer, and student from Northern Germany. Welcome to my webpage! I mainly share my projects here. Check them out – the devlog of the game I'm working on especially!< / p >
2026-01-21 15:21:21 +01:00
< h3 > where to find me< / h3 >
< LinkList entries = {[
{
icon: "icons/bluesky.svg",
text: "Bluesky",
link: "https://bsky.app/profile/denizk0461.dev",
},
{
icon: "icons/codeberg.svg",
text: "Codeberg",
link: "https://codeberg.org/denizk0461",
},
{
icon: "icons/github.svg",
text: "GitHub",
link: "https://github.com/denizk0461",
},
]}/>
< GamedevWebring / >
< Gallery entries = { galleryEntries } / >
2025-04-18 11:30:21 +02:00
< / Content >
2025-04-03 10:15:04 +02:00
2025-08-25 11:35:00 +02:00
{ # snippet marqueeContent ({ quote , ignoreA11y } : { quote : Quote , ignoreA11y : boolean })}
< span class = "quote-marquee" aria-hidden = " { ignoreA11y } " >< i > { quote . content } </ i > – { quote . author } [{ quote . source } ] ***</ span >
{ /snippet }
2025-04-03 10:15:04 +02:00
< style >
.me-img {
width: 32px;
display: inline-block;
}
2025-04-04 19:33:17 +02:00
.gradient-title {
2026-01-21 15:21:21 +01:00
background: linear-gradient(
90deg,
var(--color-highlight) 30%,
var(--color-highlight-alt) 90%
);
2025-04-04 19:33:17 +02:00
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
2025-08-15 20:30:20 +02:00
padding-bottom: 12px;
2025-04-04 19:33:17 +02:00
}
2025-08-25 11:35:00 +02:00
.quote-marquee-container {
width: 100%;
background-color: var(--color-background-highlight);
display: flex;
overflow: hidden;
white-space: nowrap;
}
.quote-marquee {
animation: marquee-content 10s linear infinite;
font-family: 'Space Mono';
font-size: 1rem;
font-weight: 600;
padding: 6px 6px;
}
.quote-marquee-container:hover .quote-marquee {
animation-play-state: paused;
}
@keyframes marquee-content {
/* Element one fully ON screen at left-edge of container. */
from {
transform: translateX( 0% );
}
/* Element one fully OFF screen (just beyond left-ledge of container). */
to {
transform: translateX( -100% );
}
}
2025-04-03 10:15:04 +02:00
< / style >