frontend: add shadcn vue, replace custom css with tailwind
Signed-off-by: Nicolas Froger <nicolas@kektus.xyz>
This commit is contained in:
parent
08d529c381
commit
227332e5d4
19 changed files with 1480 additions and 289 deletions
|
|
@ -3,26 +3,13 @@ import { RouterLink, RouterView } from 'vue-router'
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<div class="header">
|
||||
<a id="kektus-link" href="https://www.kektus.fr"><h1 id="kektus">kektus</h1></a>
|
||||
<h1 style="font-weight: 300">carnet de voyage été 2024</h1>
|
||||
<div class="fixed w-full top-0 z-50 flex items-center backdrop-blur-md bg-black/10">
|
||||
<a href="https://www.kektus.fr"
|
||||
><h1 id="kektus" class="font-bold select-none mx-6 my-3 text-2xl hover:text-3xl transition-all duration-300">kektus</h1></a
|
||||
>
|
||||
<h1 class="font-light text-lg">carnet de voyage été 2024</h1>
|
||||
</div>
|
||||
<RouterView />
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.header {
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
top: 0;
|
||||
z-index: 9;
|
||||
backdrop-filter: blur(10px);
|
||||
background-color: rgba(0, 0, 0, 0.1);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.header h1 {
|
||||
font-size: 15pt;
|
||||
}
|
||||
</style>
|
||||
<style scoped></style>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue