Rename the site to CorralitoComing and switch the UI to English
The name and tagline live in one place, shared/utils/site.ts, and feed the header, the footer, the home page and the title template.
This commit is contained in:
1 parent
d97fd3f92f
commit
005c90f33a
9 files changed
+55
-50
No files matched your search
@@ -9,14 +9,14 @@ const { data: categories } = await useFetch<Category[]>('/api/categories', {
|
||||
|
||||
<template>
|
||||
<div class="page">
|
||||
<a class="skip-link" href="#main">Salta al contenuto</a>
|
||||
<a class="skip-link" href="#main">Skip to content</a>
|
||||
|
||||
<header class="site-header">
|
||||
<div class="container header-inner">
|
||||
<NuxtLink to="/" class="brand">Blog</NuxtLink>
|
||||
<nav aria-label="Navigazione principale">
|
||||
<NuxtLink to="/" class="brand">{{ SITE_NAME }}</NuxtLink>
|
||||
<nav aria-label="Main navigation">
|
||||
<ul>
|
||||
<li><NuxtLink to="/blog">Articoli</NuxtLink></li>
|
||||
<li><NuxtLink to="/blog">Articles</NuxtLink></li>
|
||||
<li v-for="category in categories" :key="category.slug">
|
||||
<NuxtLink :to="`/category/${category.slug}`">{{ category.name }}</NuxtLink>
|
||||
</li>
|
||||
@@ -31,7 +31,7 @@ const { data: categories } = await useFetch<Category[]>('/api/categories', {
|
||||
|
||||
<footer class="site-footer">
|
||||
<div class="container">
|
||||
<p class="muted">© {{ new Date().getFullYear() }} Blog</p>
|
||||
<p class="muted">© {{ new Date().getFullYear() }} {{ SITE_NAME }}</p>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user