mirror of
https://github.com/web3privacy/web
synced 2024-10-15 18:26:27 +02:00
update
This commit is contained in:
parent
5257eddd0d
commit
283443d352
3 changed files with 32 additions and 18 deletions
|
@ -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>
|
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';
|
||||
|
||||
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>
|
||||
|
|
Loading…
Reference in a new issue