Updated to Astro v5 beta.
All checks were successful
Build and deploy website / build (push) Successful in 1m56s

Created a new component for a collapsable list

Implemented some of the new features.
- astro:env
- New astro content layer

Signed-off-by: Martin Berg Alstad <git@martials.no>
This commit is contained in:
2024-10-20 12:05:32 +02:00
parent 32f4c6aaf0
commit 941a93f8a5
17 changed files with 423 additions and 571 deletions

View File

@ -3,15 +3,16 @@ import GiteaLink from "./links/GiteaLink.astro"
import PajamasIcon from "./icons/PajamasIcon.astro"
import ExternalLink from "./links/ExternalLink.astro"
import LanguageButtonGroup from "./LanguageButtonGroup.astro"
import { GIT_URL, STATUS_URL } from "astro:env/client"
import * as m from "@/paraglide/messages"
const { GIT_URL, STATUS_URL } = import.meta.env
const giteaLink = `${GIT_URL}/martials/martials.no`
---
<div class="divider" />
<div class="py-5 flex flex-row gap-1 justify-around w-full items-center">
<div>
<GiteaLink href={`${GIT_URL}/martials/martials.no`} />
<GiteaLink href={giteaLink} />
<ExternalLink href={STATUS_URL} class="flex items-center" title="Status">
<PajamasIcon name="pajamas:status-health" class="w-6 h-6 mr-2" />
{m.status()}