update image gen

This commit is contained in:
tree🌴 2024-03-07 12:08:01 +01:00
parent 283443d352
commit 73127d704e
2 changed files with 19 additions and 9 deletions

View File

@ -110,7 +110,7 @@ const tools = {
</div> </div>
{#if !$eventSelected} {#if !$eventSelected}
<div class="w-full p-10"> <div class="w-full px-10">
Please select event. Please select event.
<div class="mt-10 flex flex-wrap gap-4"> <div class="mt-10 flex flex-wrap gap-4">
@ -125,7 +125,7 @@ const tools = {
</div> </div>
{:else} {:else}
<div class="px-10 py-4"> <div class="px-10 py-4">
<a href="/gen/event" class="underline hover:no-underline">Back to overview</a> <a href="/gen/event" class="underline hover:no-underline">Back to events overview</a>
</div> </div>
<div class="w-full flex flex-wrap gap-10 p-10"> <div class="w-full flex flex-wrap gap-10 p-10">

View File

@ -5,22 +5,32 @@ const { title } = Astro.props;
--- ---
<html> <html>
<head> <head>
<link <title>W3PN Gen | {title}</title>
<link
rel="preload" rel="preload"
href="/fonts/dm-mono-regular-latin.woff2" href="/fonts/dm-mono-regular-latin.woff2"
as="font" as="font"
type="font/woff2" type="font/woff2"
crossorigin crossorigin
/> />
</head> </head>
<body class="bg-[#F0F0F0] text-black font-mono font-['DM Mono Regular Latin']"> <body class="bg-[#F0F0F0] text-black font-mono font-['DM Mono Regular Latin']">
<div class="pl-10 pt-10 pb-0 text-4xl"> <div class="pl-10 pt-10 pb-0">
<h1>W3PN Image Generator | {title}</h1>
</div>
<slot /> <h1 class="text-4xl">W3PN Image Generator</h1>
<div class="mt-4 flex gap-4 mb-10">
<a href="/gen/event" class="underline hover:no-underline">Events</a>
<!--a href="/gen/research" class="underline hover:no-underline">Researches</a>
<a href="/gen/article" class="underline hover:no-underline">Articles</a>
<a href="/gen/video" class="underline hover:no-underline">Videos</a-->
</div>
<h2 class="text-3xl">{title}</h1>
</div>
<slot />
</body> </body>
</html> </html>