More mobile friendly, fix wrong URL, Hamburger menu
All checks were successful
Build and deploy website / build (push) Successful in 33s

- Hamburger menu on mobile
- title is moved into header on mobile
- Smaller titles on mobile
- Fix wrong import of env in config
- Cleaned up unused imports
This commit is contained in:
2025-02-15 23:00:38 +01:00
parent ff2f65bf59
commit 1b3c6c629e
11 changed files with 88 additions and 20 deletions

View File

@ -1,6 +1,5 @@
---
import ProjectCard from "./ProjectCard.astro"
import * as m from "@/paraglide/messages"
import { type CollectionEntry } from "astro:content"
import { type NavLink } from "@/utils/linking"

View File

@ -1,11 +1,11 @@
---
import Layout from "@/layouts/Layout.astro"
import { Image } from "astro:assets"
import { getEntry, render } from "astro:content"
import BadgeList from "@/components/badge/BadgeList.astro"
import * as m from "@/paraglide/messages"
import { languageTag } from "@/paraglide/runtime"
import GiteaLink from "@/components/links/GiteaLink.astro"
import { languageTag } from "@/paraglide/runtime"
import { getEntry, render } from "astro:content"
import { Image } from "astro:assets"
import * as m from "@/paraglide/messages"
import "@/styles/global.css"
interface Props {
@ -29,10 +29,10 @@ const {
---
<!--TODO day.js / Temporal API for dates?-->
<Layout title={title} class="mx-auto max-w-[750px]">
<Layout title={title} class="mx-auto max-w-[750px] px-3">
<div class="flex justify-between my-2">
<div>
<h1>{title}</h1>
<h2>{title}</h2>
<BadgeList tags={tags} />
</div>
<div class="flex flex-col items-end">