updated image on about me page

This commit is contained in:
2025-08-10 20:39:54 +02:00
parent 2b75e2d324
commit 95e4b0166c
4 changed files with 13 additions and 9 deletions

View File

@@ -6,11 +6,13 @@
date = "", date = "",
subtitle = "", subtitle = "",
banner = "", banner = "",
pixelated,
}: { }: {
title: string; title: string;
date?: string; date?: string;
subtitle?: string; subtitle?: string;
banner?: string; banner?: string;
pixelated?: boolean;
} = $props(); } = $props();
</script> </script>
@@ -18,7 +20,11 @@
<div class="container"> <div class="container">
<div class="subcontainer"> <div class="subcontainer">
<div class="img-container"> <div class="img-container">
{#if pixelated}
<img class="pixelated-img" src="{banner}">
{:else}
<img src="{banner}"> <img src="{banner}">
{/if}
</div> </div>
<div class="text-container"> <div class="text-container">
<h1 class="title">{title}</h1> <h1 class="title">{title}</h1>

View File

@@ -288,5 +288,9 @@
margin: 16px 16px 16px 0; margin: 16px 16px 16px 0;
width: 20%; width: 20%;
} }
.pixelated-img {
image-rendering: pixelated;
}
} }
</style> </style>

View File

@@ -34,8 +34,9 @@
<BannerTitleAlt <BannerTitleAlt
title="About Me" title="About Me"
banner="/projects/banner.webp" banner="/common/me/b.webp"
subtitle="Just some small game projects" subtitle="If you'd like to learn more about me"
pixelated
/> />
<ContentSidebar> <ContentSidebar>

View File

@@ -1,7 +0,0 @@
Here's a list of what I used to create this page
svelte
background: rivers of bremen and nearby area, made using QGIS and data from ???