This commit is contained in:
tree🌴 2024-03-07 12:00:26 +01:00
parent 3b1961e526
commit 113ac85b76
3 changed files with 32 additions and 18 deletions

View file

@ -33,6 +33,6 @@
{/each}
</div>
<div class="absolute left-10 bottom-10 bg-white text-black text-sm uppercase py-1.5 px-3">
summit2024.web3privacy.info
web3privacy.info/events
</div>
</div>

View file

@ -0,0 +1,26 @@
---
const { title } = Astro.props;
---
<html>
<head>
<link
rel="preload"
href="/fonts/dm-mono-regular-latin.woff2"
as="font"
type="font/woff2"
crossorigin
/>
</head>
<body class="bg-[#F0F0F0] text-black font-mono font-['DM Mono Regular Latin']">
<div class="pl-10 pt-10 pb-0 text-4xl">
<h1>W3PN Image Generator | {title}</h1>
</div>
<slot />
</body>
</html>

View file

@ -1,24 +1,12 @@
---
import ImageGenerator from '../../components/EventImageGenerator.svelte';
let url = Astro.url;
import GeneratorLayout from '../../layouts/generator.astro';
import EventImageGenerator from '../../components/EventImageGenerator.svelte';
---
<html>
<head>
<link
rel="preload"
href="/fonts/dm-mono-regular-latin.woff2"
as="font"
type="font/woff2"
crossorigin
/>
</head>
<body class="bg-[#F0F0F0] text-black font-mono font-['DM Mono Regular Latin']">
<GeneratorLayout title="Events">
<ImageGenerator client:load />
<EventImageGenerator client:load />
</body>
</html>
</GeneratorLayout>