safetwitch/src/components/NavbarView.vue

29 lines
762 B
Vue
Raw Normal View History

2023-03-18 13:49:02 -04:00
<script lang="ts">
2023-04-16 12:37:23 -04:00
import SearchBar from './SearchBar.vue'
2023-06-13 12:08:43 -04:00
import LanguageSwitcher from './LanguageSwitcher.vue'
2023-04-16 12:37:23 -04:00
export default {
components: {
2023-06-13 12:08:43 -04:00
SearchBar,
LanguageSwitcher
2023-04-16 12:37:23 -04:00
}
}
2023-03-18 13:49:02 -04:00
</script>
<template>
<div class="p-4 flex items-center justify-between bg-ctp-base text-white">
2023-03-30 10:30:26 -04:00
<router-link to="/">
<h1 class="font-bold text-2xl">Safe<color class="text-purple-500">Twitch</color></h1>
</router-link>
2023-03-18 13:49:02 -04:00
<div>
2023-04-16 12:37:23 -04:00
<search-bar></search-bar>
2023-03-18 13:49:02 -04:00
</div>
<ul class="inline-flex space-x-6 font-medium">
2023-06-13 12:08:43 -04:00
<a href="https://codeberg.org/dragongoose/safetwitch">{{ $t("nav.code") }}</a>
<router-link to="/privacy">{{ $t("nav.privacy") }}</router-link>
<language-switcher></language-switcher>
2023-03-18 13:49:02 -04:00
</ul>
</div>
</template>