mirror of
https://github.com/web3privacy/web
synced 2024-10-15 18:26:27 +02:00
update
This commit is contained in:
parent
3b1961e526
commit
113ac85b76
3 changed files with 32 additions and 18 deletions
|
@ -33,6 +33,6 @@
|
||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
<div class="absolute left-10 bottom-10 bg-white text-black text-sm uppercase py-1.5 px-3">
|
<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>
|
||||||
</div>
|
</div>
|
26
src/layouts/generator.astro
Normal file
26
src/layouts/generator.astro
Normal 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>
|
|
@ -1,24 +1,12 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
import ImageGenerator from '../../components/EventImageGenerator.svelte';
|
import GeneratorLayout from '../../layouts/generator.astro';
|
||||||
|
import EventImageGenerator from '../../components/EventImageGenerator.svelte';
|
||||||
let url = Astro.url;
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
<html>
|
<GeneratorLayout title="Events">
|
||||||
<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']">
|
|
||||||
|
|
||||||
<ImageGenerator client:load />
|
<EventImageGenerator client:load />
|
||||||
|
|
||||||
</body>
|
</GeneratorLayout>
|
||||||
</html>
|
|
||||||
|
|
Loading…
Reference in a new issue