Rinomina in Biohacking le etichette visibili della sezione

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-25 15:47:47 +02:00
parent c4107b84a5
commit 98beccb0cd
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ const user = Astro.locals.user;
<a href="/admin">Articoli</a>
{(user.role === 'superuser' || user.role === 'admin') && <a href="/admin/content">Contenuti</a>}
{user.role === 'admin' && <a href="/admin/users">Utenti</a>}
{user.role === 'admin' && <a href="/campus">Campus</a>}
{user.role === 'admin' && <a href="/campus">Biohacking</a>}
<a href="/admin/new">Nuovo</a>
<a href="/admin/logout">Esci</a>
<a href="/blog" target="_blank">Vedi sito ↗</a>
+2 -2
View File
@@ -23,7 +23,7 @@ const { title, nav, currentArea, currentLesson } = Astro.props;
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>{title} — Campus InsanityLab</title>
<title>{title} — Biohacking InsanityLab</title>
<meta name="robots" content="noindex, nofollow" />
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
</head>
@@ -34,7 +34,7 @@ const { title, nav, currentArea, currentLesson } = Astro.props;
<aside class="cp-side">
<a class="cp-brand" href="/campus">
<span class="eyebrow">InsanityLab</span>
Campus
Biohacking
</a>
<a class="cp-home" href="/">← Torna alla home</a>
+2 -2
View File
@@ -28,7 +28,7 @@ const chapter = lesson ? chapterOf(nav, lesson) : null;
{lesson ? (
<article>
<nav class="cp-crumbs">
<a href="/campus">Campus</a> <span>/</span>
<a href="/campus">Biohacking</a> <span>/</span>
<a href={`/campus/${area.slug}`}>{area.title}</a>
{chapter && <><span>/</span> <span>{chapter.num}. {chapter.title}</span></>}
</nav>
@@ -49,7 +49,7 @@ const chapter = lesson ? chapterOf(nav, lesson) : null;
</article>
) : (
<>
<nav class="cp-crumbs"><a href="/campus">Campus</a> <span>/</span> <span>{area.title}</span></nav>
<nav class="cp-crumbs"><a href="/campus">Biohacking</a> <span>/</span> <span>{area.title}</span></nav>
<p class="eyebrow">Area di studio</p>
<h1>{area.title}</h1>
<p class="cp-lead">{area.sub}</p>