updated image on about me page
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
@@ -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>
|
||||||
|
|||||||
@@ -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 ???
|
|
||||||
Reference in New Issue
Block a user