Compare commits
No commits in common. "main" and "0.4.3" have entirely different histories.
5 changed files with 6 additions and 10 deletions
|
@ -2,8 +2,8 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="favicon" href="/favicon.png" type="image/png" />
|
||||
<link rel="icon" href="/favicon.png" type="image/png" />
|
||||
<link rel="favicon" href="favicon.png" type="image/png" />
|
||||
<link rel="icon" href="favicon.png" type="image/png" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
|
||||
<title>Viktor Kraastav – Reference Page</title>
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
import { ref } from 'vue'
|
||||
import { RouterView } from 'vue-router'
|
||||
import { version } from '../package.json'
|
||||
import router from '@/router'
|
||||
|
||||
import ModalDialog from '@/components/ModalDialog.vue'
|
||||
import LocaleSwitcher from '@/components/LocaleSwitcher.vue'
|
||||
|
@ -45,7 +46,7 @@ const close = () => {
|
|||
|
||||
<SiteNavigation>
|
||||
<NavigationItem
|
||||
v-for="(route, idx) in $router.getRoutes()"
|
||||
v-for="(route, idx) in router.options.routes"
|
||||
:key="idx"
|
||||
:icon="route.meta?.icon"
|
||||
:href="route.path"
|
||||
|
|
|
@ -15,12 +15,8 @@ interface Props {
|
|||
locales: LocaleOption[]
|
||||
}
|
||||
|
||||
interface Emits {
|
||||
(e: 'update:modelValue', value: string): void
|
||||
}
|
||||
|
||||
const props = defineProps<Props>()
|
||||
const emit = defineEmits<Emits>()
|
||||
const emit = defineEmits(['update:modelValue'])
|
||||
|
||||
const selectModel = computed({
|
||||
get() {
|
||||
|
|
|
@ -11,7 +11,7 @@ defineProps<Props>()
|
|||
|
||||
<template>
|
||||
<RouterLink class="navigation__link" :to="href">
|
||||
<component class="navigation__link-icon" :is="icon" />
|
||||
<component class="navigation__link-icon" :is="icon"></component>
|
||||
<span class="navigation__link-text">
|
||||
<slot></slot>
|
||||
</span>
|
||||
|
|
|
@ -10,7 +10,6 @@ import '@/scss/main.scss'
|
|||
type MessageSchema = typeof messages.en
|
||||
|
||||
const i18n = createI18n<[MessageSchema], 'en' | 'de'>({
|
||||
legacy: false,
|
||||
locale: 'en',
|
||||
fallbackLocale: 'en',
|
||||
messages
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue