manifest/nuxt/components/Glava.vue

57 lines
891 B
Vue

<script setup="setup">
const api = useApi()
const head = useHead()
onMounted(() => {
if (window) {
window.api = api
}
})
</script>
<template>
<section class="glava">
<ul class="meni">
<li><NuxtLink to="/">Domov</NuxtLink></li>
<li><NuxtLink to="/pojmi">Manifest</NuxtLink></li>
<li><NuxtLink to="https://yugofuturism.kompot.si/user" target="_blank">admin</NuxtLink></li>
</ul>
<img src="../public/images/zvezda.png">
<h1> {{ head }} </h1>
</section>
</template>
<style scoped>
.glava {
height: 100vh;
width: 100%;
}
img {
width: 100%;
}
.meni {
margin: 0;
width: 100%;
}
.meni a {
text-decoration: none;
text-transform: uppercase;
font-weight: bold;
}
ul {
list-style: none;
padding: 0%;
width: 100%;
}
@media screen (min-width: 480px) {
.meni{
}
}
</style>