frontend/app/components/navigation/mobile-navbar.vue

36 lines
1 KiB
Vue
Raw Normal View History

<template>
<div
class="fixed md:hidden bottom-0 inset-x-0 border-t h-16 bg-background z-10 flex items-center justify-around *:h-full *:w-full gap-6 px-4 py-2 [&>a>svg]:size-5 [&>button>svg]:size-5"
>
<Button :as="NuxtLink" href="/" variant="ghost" size="icon">
2025-12-09 22:32:22 +01:00
<Home/>
</Button>
<Button
:as="NuxtLink"
href="/notifications"
variant="ghost"
size="icon"
>
2025-12-09 22:32:22 +01:00
<Bell/>
</Button>
<Button variant="ghost" size="icon">
2025-12-09 22:32:22 +01:00
<User/>
</Button>
<Button
variant="default"
size="icon"
:title="m.salty_aloof_turkey_nudge()"
@click="useEvent('composer:open')"
>
2025-12-09 22:32:22 +01:00
<Pen/>
</Button>
</div>
</template>
<script lang="ts" setup>
import { Bell, Home, Pen, User } from "lucide-vue-next";
import { NuxtLink } from "#components";
2025-07-16 07:48:39 +02:00
import * as m from "~~/paraglide/messages.js";
import { Button } from "../ui/button";
</script>