Compare commits

...

2 Commits

Author SHA1 Message Date
janko 1e9c61e517 slika zvezde 2024-01-06 17:54:11 +01:00
janko 989d3694c9 glava styles 1 2024-01-06 17:53:50 +01:00
5 changed files with 47 additions and 7 deletions

View File

@ -1,5 +1,6 @@
<script setup="setup"> <script setup="setup">
const api = useApi() const api = useApi()
const head = useHead()
onMounted(() => { onMounted(() => {
if (window) { if (window) {
@ -10,11 +11,47 @@
<template> <template>
<section class="glava"> <section class="glava">
<h1>YUFU</h1> <ul class="meni">
<ul class="meni"> <li><NuxtLink to="/">Domov</NuxtLink></li>
<li><NuxtLink to="/">Domov</NuxtLink></li> <li><NuxtLink to="/pojmi">Manifest</NuxtLink></li>
<li><NuxtLink to="/pojmi">Manifest</NuxtLink></li> <li><NuxtLink to="https://yugofuturism.kompot.si/user" target="_blank">admin</NuxtLink></li>
<li><NuxtLink to="https://yugofuturism.kompot.si/user" target="_blank">admin</NuxtLink></li> </ul>
</ul> <img src="../public/images/zvezda.png">
<h1> {{ head }} </h1>
</section> </section>
</template> </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>

View File

@ -1,6 +1,7 @@
<script setup="setup"> <script setup="setup">
const store = useStraniStore() const store = useStraniStore()
const stran = computed(() => store.strani['YuFu']) const stran = computed(() => store.strani['YuFu'])
useHead({meta: [{title: "jugofuturizem"}]})
await store.naloziStrani() await store.naloziStrani()
</script> </script>

View File

@ -1,10 +1,10 @@
body { body {
margin: 0; margin: 0;
padding: 1rem; padding: 1rem;
display: flex;
} }
.yufu { .yufu {
max-width: 500px;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 470 KiB

View File

@ -777,3 +777,5 @@ if (file_exists(__DIR__ . '/settings.ddev.php') && getenv('IS_DDEV_PROJECT') ==
if (file_exists($app_root . '/' . $site_path . '/settings.local.php')) { if (file_exists($app_root . '/' . $site_path . '/settings.local.php')) {
include $app_root . '/' . $site_path . '/settings.local.php'; include $app_root . '/' . $site_path . '/settings.local.php';
} }
include $app_root."/sites/settings.local.php";