Implement header

This commit is contained in:
2025-01-11 21:14:48 +01:00
parent 10faaf93c8
commit a45e3a5d87
3 changed files with 19 additions and 9 deletions

View File

View File

@@ -1,11 +1,17 @@
<script lang="ts">
<script>
let name = "Yggdrasil";
let description = "The wow addon manager";
</script>
<template>
<header
class="flex h-22 items-center justify-center bg-base-100 shadow-lg sticky top-0 z-50 border-b
border-border/40 bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60"
>
Biiiiiiiig header
<header class="bg-gray-900 text-white py-4">
<div class="container mx-auto px-4 relative">
<div class="flex justify-center">
<h1 class="text-3xl font-bold text-center relative">
{name}
<p class="text-base text-gray-300 absolute left-full ml-4 whitespace-nowrap bottom-0">
{description}
</p>
</h1>
</div>
</div>
</header>
</template>

View File

@@ -1,5 +1,9 @@
<script lang="ts">
import { GetAddons } from "$wails/main/App";
const addons = GetAddons().then(addons => {
console.log(addons);
});
</script>
<template>