added cookie notice page and removed some garden things

This commit is contained in:
2025-09-10 13:15:37 +02:00
parent fd68f2f635
commit 6de17570c9
6 changed files with 69 additions and 48 deletions

View File

@@ -26,9 +26,9 @@
<div class="subcontainer"> <div class="subcontainer">
<div class="img-container-wide"> <div class="img-container-wide">
{#if pixelated} {#if pixelated}
<img class="pixelated-img" src="{banner}" alt="{bannerAlt}"> <img class="pixelated-img" src="{banner}" alt="{bannerAlt}">
{:else} {:else}
<img src="{banner}" alt="{bannerAlt}"> <img src="{banner}" alt="{bannerAlt}">
{/if} {/if}
<div class="text-container-wide"> <div class="text-container-wide">
<div class="text-align-container-wide"> <div class="text-align-container-wide">
@@ -38,18 +38,26 @@
</div> </div>
</div> </div>
{:else} {:else}
<div class="subcontainer"> {#if banner}
<div class="img-container"> <div class="subcontainer">
{#if pixelated} <div class="img-container">
<img class="pixelated-img" src="{banner}" alt="{bannerAlt}"> {#if pixelated}
{:else} <img class="pixelated-img" src="{banner}" alt="{bannerAlt}">
<img src="{banner}" alt="{bannerAlt}"> {:else}
{/if} <img src="{banner}" alt="{bannerAlt}">
</div> {/if}
<div class="text-container"> </div>
{@render titles({title, subtitle, date})} <div class="text-container">
</div> {@render titles({title, subtitle, date})}
</div> </div>
</div>
{:else}
<div class="subcontainer subcontainer-textonly">
<div class="text-container text-container-fullwidth">
{@render titles({title, subtitle, date})}
</div>
</div>
{/if}
{/if} {/if}
</div> </div>
@@ -80,6 +88,12 @@
margin-right: auto; margin-right: auto;
} }
.subcontainer-textonly {
height: fit-content !important;
padding-top: 48px;
padding-bottom: 48px;
}
.img-container { .img-container {
flex-grow: 1; flex-grow: 1;
width: 50%; width: 50%;
@@ -110,6 +124,10 @@
margin: auto 24px; margin: auto 24px;
} }
.text-container-fullwidth {
width: 100% !important;
}
.container img { .container img {
height: 100%; height: 100%;
width: 100%; width: 100%;

View File

@@ -30,6 +30,7 @@
<div class="content-box"> <div class="content-box">
<h6>Meta</h6> <h6>Meta</h6>
<a href="https://codeberg.org/denizk0461/pages-svelte">Page Source</a> <a href="https://codeberg.org/denizk0461/pages-svelte">Page Source</a>
<a href="/privacy">Privacy & Cookies</a>
</div> </div>
<div class="content-box"></div> <div class="content-box"></div>
</div> </div>

View File

@@ -1,18 +1,6 @@
<script lang="ts"> <script lang="ts">
import BannerTitleAlt from "$lib/banner-title-alt.svelte"; import BannerTitleAlt from "$lib/banner-title-alt.svelte";
import Content from "$lib/content.svelte"; import Content from "$lib/content.svelte";
import LinkList, { type LinkEntry } from "$lib/link-list.svelte";
let links: LinkEntry[] = [
{
text: "Music I Like",
link: "music",
},
{
text: "Recipes",
link: "recipes",
},
]
</script> </script>
<svelte:head> <svelte:head>
@@ -26,6 +14,5 @@
/> />
<Content> <Content>
<p>work in progress! but some subpages already exist:</p> <p>work in progress! and due to be remade.</p>
<LinkList entries={links}></LinkList>
</Content> </Content>

View File

@@ -1,20 +0,0 @@
<script lang="ts">
import BannerTitleAlt from "$lib/banner-title-alt.svelte";
import Content from "$lib/content.svelte";
</script>
<svelte:head>
<title>Recipes | denizk0461</title>
</svelte:head>
<BannerTitleAlt
title="Recipes"
banner="/projects/banner.webp"
subtitle="we be cooking here"
/>
<Content>
<p>This is the future site for my recipes!</p>
<p>All my recipes are vegan, require not too many steps and ingredients, and are relatively inexpensive, because I don't have a lot of money lol</p>
</Content>

View File

@@ -0,0 +1,20 @@
<script lang="ts">
import BannerTitleAlt from "$lib/banner-title-alt.svelte";
import Content from "$lib/content.svelte";
</script>
<svelte:head>
<title>Privacy & Cookies | denizk0461</title>
</svelte:head>
<BannerTitleAlt
title="Information on Privacy & Cookies"
/>
<Content>
<p>This page uses <b>no cookies</b> as of now. No data will be stored on your device while browsing this website. <b>No trackers</b> are used either <b>no analytics</b>, not even a visit counter of any kind. Not by a third-party, and currently, none I built myself either.</p>
<p>The Godot and Unity projects on the <code>apps.denizk0461.dev</code> subdomain <i>may</i> cache compiled shaders on your device, I'm not sure. These files would only be used by your GPU to render visual effects for the game they were compiled for.</p>
<p>Last updated: 2025-09-10</p>
</Content>

View File

@@ -35,4 +35,19 @@ export let quotes: Quote[] = [
author: "Midnight Kids & klei", author: "Midnight Kids & klei",
source: "Find Your Way", source: "Find Your Way",
}, },
{
content: "If you see me falling I'll just see you looking up",
author: "Jaron",
source: "ICARUS",
},
{
content: "Let me simmer down and cover up for I am cooking broth; it don't take a genius to achieve it, it just takes some sauce",
author: "Jaron",
source: "PIECES",
},
{
content: "When I die, I hope I'm buried in a forest; that is if any of it's left",
author: "brakence",
source: "5g",
},
]; ];