feat: add top navigation links
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<UContainer class="flex flex-col md:gap-12 gap-5" as="header">
|
<UContainer class="flex flex-col md:gap-12 gap-5" as="header">
|
||||||
|
<div class="flex items-center justify-between">
|
||||||
<nuxt-img
|
<nuxt-img
|
||||||
placeholder
|
placeholder
|
||||||
alt="Marios Antonoudiou"
|
alt="Marios Antonoudiou"
|
||||||
@@ -8,6 +9,23 @@
|
|||||||
height="64"
|
height="64"
|
||||||
class="w-16 h-16 rounded-full border dark:border-gray-800 dark:bg-slate-300"
|
class="w-16 h-16 rounded-full border dark:border-gray-800 dark:bg-slate-300"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
<div class="flex gap-3 items-center justify-end">
|
||||||
|
<ULink
|
||||||
|
to="/"
|
||||||
|
class="text-slate-600 font-semibold underline-offset-4"
|
||||||
|
activeClass="text-slate-800 dark:text-slate-200 underline"
|
||||||
|
>Home</ULink
|
||||||
|
>
|
||||||
|
|
||||||
|
<ULink
|
||||||
|
to="/articles"
|
||||||
|
class="text-slate-600 font-semibold underline-offset-4"
|
||||||
|
activeClass="text-slate-800 dark:text-slate-200 underline"
|
||||||
|
>Articles</ULink
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<h1 class="md:text-xl text-lg font-semibold">
|
<h1 class="md:text-xl text-lg font-semibold">
|
||||||
<ULink
|
<ULink
|
||||||
class="text-blue-500 dark:text-blue-300 hover:underline hover:underline-offset-4"
|
class="text-blue-500 dark:text-blue-300 hover:underline hover:underline-offset-4"
|
||||||
|
|||||||
@@ -8,9 +8,25 @@
|
|||||||
src="mariosant.webp"
|
src="mariosant.webp"
|
||||||
class="w-10 h-10 rounded-full border dark:border-gray-800 dark:bg-slate-300 block"
|
class="w-10 h-10 rounded-full border dark:border-gray-800 dark:bg-slate-300 block"
|
||||||
/>
|
/>
|
||||||
<div class="font-bold">Marios Antonoudiou</div>
|
<div class="font-bold text-blue-500 dark:text-blue-300">
|
||||||
|
Marios Antonoudiou
|
||||||
|
</div>
|
||||||
</ULink>
|
</ULink>
|
||||||
<div class="flex gap-3 items-center justify-end"></div>
|
<div class="flex gap-3 items-center justify-end text-slate-600">
|
||||||
|
<ULink
|
||||||
|
to="/"
|
||||||
|
class="font-semibold text-sm underline-offset-4"
|
||||||
|
activeClass="text-slate-900 dark:text-slate-200 underline"
|
||||||
|
>Home</ULink
|
||||||
|
>
|
||||||
|
|
||||||
|
<ULink
|
||||||
|
to="/articles"
|
||||||
|
class="font-semibold text-sm underline-offset-4"
|
||||||
|
activeClass="text-slate-900 dark:text-slate-200 underline"
|
||||||
|
>Articles</ULink
|
||||||
|
>
|
||||||
|
</div>
|
||||||
</UContainer>
|
</UContainer>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user