Update navbar

This commit is contained in:
2023-01-17 15:47:14 +01:00
parent fcb4ed5b34
commit a1ef570b9f
7 changed files with 46 additions and 26 deletions

View File

@ -5,6 +5,9 @@
<div class="block md:flex">
<div class="flex justify-end items-center order-2">
<a href="https://github.com/NotXia" class="rounded-full p-1 hover:bg-slate-200 dark:hover:bg-slate-700">
<img :src="github_icon" alt="Github" class="h-5 dark:invert" />
</a>
<ThemeSwitch />
<LanguageSelector />
@ -43,6 +46,8 @@
import locale from "./locale.json";
import { onMounted } from "vue";
import github_icon from "@/assets/icons/github.svg";
const { t } = useI18n({ messages: locale });
onMounted(() => {