2024-01-15 14:36:39 +01:00
|
|
|
<script setup="setup">
|
2024-03-05 14:34:46 +01:00
|
|
|
|
2024-01-15 14:36:39 +01:00
|
|
|
const route = useRoute()
|
|
|
|
|
|
|
|
const pot = computed(() => route.path)
|
2024-01-24 16:44:09 +01:00
|
|
|
const naManifestu = computed(() => route.path.indexOf('/manifest') === 0)
|
2024-03-05 14:34:46 +01:00
|
|
|
|
|
|
|
const { baseUrl } = useRuntimeConfig().public
|
|
|
|
|
2024-01-15 14:36:39 +01:00
|
|
|
</script>
|
|
|
|
|
2023-02-22 21:19:55 +01:00
|
|
|
<template>
|
2024-01-24 16:44:09 +01:00
|
|
|
<section class="glava" :class="{ manifest: naManifestu }">
|
|
|
|
<ul class="meni">
|
|
|
|
<li>
|
|
|
|
<NuxtLink to="/">
|
|
|
|
Domov
|
|
|
|
</NuxtLink>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<NuxtLink to="/manifest">
|
|
|
|
Manifest
|
|
|
|
</NuxtLink>
|
|
|
|
</li>
|
|
|
|
<li>
|
2024-03-05 14:34:46 +01:00
|
|
|
<NuxtLink :to="baseUrl + '/user'" class="posivljen" target="_blank">
|
2024-01-24 16:44:09 +01:00
|
|
|
admin
|
|
|
|
</NuxtLink>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<img src="/images/zvezda.png">
|
|
|
|
|
|
|
|
<h1 v-if="naManifestu">MANIFEST</h1>
|
|
|
|
<h1 v-else>JUGOFUTURIZEM</h1>
|
|
|
|
</section>
|
2023-03-08 23:13:33 +01:00
|
|
|
</template>
|
2024-01-06 17:53:50 +01:00
|
|
|
|
|
|
|
<style scoped>
|
2024-01-06 19:58:08 +01:00
|
|
|
|
|
|
|
.glava {
|
2024-01-06 17:53:50 +01:00
|
|
|
height: 100vh;
|
|
|
|
width: 100%;
|
2024-01-06 19:58:08 +01:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2024-01-15 14:36:39 +01:00
|
|
|
.glava.manifest {
|
|
|
|
background: var(--rdeca)
|
|
|
|
}
|
2024-01-06 19:58:08 +01:00
|
|
|
|
|
|
|
h1 {
|
2024-01-06 20:02:05 +01:00
|
|
|
font-family: Trailers;
|
2024-01-17 20:24:11 +01:00
|
|
|
font-size: 16rem;
|
2024-01-15 14:36:39 +01:00
|
|
|
z-index: 50;
|
2024-01-06 19:58:08 +01:00
|
|
|
}
|
2024-01-06 17:53:50 +01:00
|
|
|
|
2024-01-17 20:24:11 +01:00
|
|
|
@media screen and (max-width: 1090px) {
|
|
|
|
h1 { font-size: 10rem; }
|
|
|
|
}
|
|
|
|
@media screen and (max-width: 768px) {
|
|
|
|
h1 { font-size: 8rem; }
|
|
|
|
}
|
|
|
|
@media screen and (max-width: 560px) {
|
|
|
|
h1 { font-size: 5rem; }
|
|
|
|
}
|
|
|
|
|
2024-01-06 19:58:08 +01:00
|
|
|
img {
|
2024-01-19 15:00:53 +01:00
|
|
|
position: fixed;
|
2024-01-22 12:55:24 +01:00
|
|
|
top: -10vh;
|
2024-01-19 15:14:26 +01:00
|
|
|
left: -10vw;
|
|
|
|
width: 120vw;
|
|
|
|
height: 120vh;
|
2024-01-15 14:36:39 +01:00
|
|
|
z-index: 10;
|
2024-01-19 15:14:26 +01:00
|
|
|
object-fit: cover;
|
2024-01-06 19:58:08 +01:00
|
|
|
}
|
2024-01-06 17:53:50 +01:00
|
|
|
|
2024-01-22 12:55:24 +01:00
|
|
|
@media screen and (min-width: 1980px) {
|
|
|
|
img {
|
|
|
|
width: 100vw;
|
|
|
|
height: 100vh;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-01-06 19:58:08 +01:00
|
|
|
.meni {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
2024-01-06 18:48:35 +01:00
|
|
|
display: flex;
|
2024-01-06 17:53:50 +01:00
|
|
|
margin: 0;
|
2024-01-06 18:48:35 +01:00
|
|
|
justify-content: space-between;
|
2024-01-15 14:36:39 +01:00
|
|
|
z-index: 100;
|
2024-01-06 17:53:50 +01:00
|
|
|
}
|
2024-01-06 19:58:08 +01:00
|
|
|
|
2024-01-06 17:53:50 +01:00
|
|
|
.meni a {
|
2024-01-06 18:50:32 +01:00
|
|
|
display: block;
|
2024-01-06 17:53:50 +01:00
|
|
|
text-decoration: none;
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-weight: bold;
|
2024-01-06 18:48:35 +01:00
|
|
|
color: black;
|
2024-01-06 18:50:32 +01:00
|
|
|
padding: 10px 30px;
|
2024-01-06 17:53:50 +01:00
|
|
|
}
|
|
|
|
|
2024-01-06 18:48:35 +01:00
|
|
|
ul {
|
2024-01-06 17:53:50 +01:00
|
|
|
list-style: none;
|
|
|
|
padding: 0%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2024-03-05 14:34:46 +01:00
|
|
|
.posivljen {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
2024-01-06 18:48:35 +01:00
|
|
|
@media screen and (max-width: 768px) {
|
|
|
|
.meni {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
2024-01-06 17:54:42 +01:00
|
|
|
}
|
2024-01-06 17:53:50 +01:00
|
|
|
}
|
|
|
|
|
2024-01-24 16:44:09 +01:00
|
|
|
@media screen and (min-width: 768px) {
|
|
|
|
.glava img {
|
|
|
|
width: 768px;
|
|
|
|
height: auto;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-01-06 19:58:08 +01:00
|
|
|
</style>
|