2023-03-08 23:13:33 +01:00
|
|
|
<script setup="setup">
|
2024-04-01 19:59:09 +02:00
|
|
|
|
2023-03-08 23:13:33 +01:00
|
|
|
const store = useStraniStore()
|
2024-04-01 19:59:09 +02:00
|
|
|
const nastavitveStore = useNastavitveStore()
|
|
|
|
|
|
|
|
const { izbraniJezik } = storeToRefs(nastavitveStore)
|
2024-01-15 14:36:39 +01:00
|
|
|
|
2023-05-03 21:31:01 +02:00
|
|
|
const stran = computed(() => store.strani['YuFu'])
|
2024-01-06 17:53:50 +01:00
|
|
|
useHead({meta: [{title: "jugofuturizem"}]})
|
2023-03-08 23:13:33 +01:00
|
|
|
|
2024-04-01 20:36:28 +02:00
|
|
|
await store.naloziStrani(izbraniJezik.value)
|
2023-03-08 23:13:33 +01:00
|
|
|
|
2024-04-01 19:59:09 +02:00
|
|
|
watch(izbraniJezik, jezik => {
|
|
|
|
store.naloziStrani(jezik)
|
|
|
|
})
|
|
|
|
|
|
|
|
</script>
|
2023-03-08 23:13:33 +01:00
|
|
|
<template>
|
2024-04-01 19:59:09 +02:00
|
|
|
<section v-if="stran" class="stran" v-html="stran.tekst" />
|
2023-03-08 23:13:33 +01:00
|
|
|
</template>
|