diff --git a/TODO.md b/TODO.md index db71616..9338afd 100644 --- a/TODO.md +++ b/TODO.md @@ -1,7 +1,7 @@ # TODO ## Code -- [ ] Temporal API or day.js for dates +- [ ] day.js for dates ## SSE - [x] Correct Sitemap.xml @@ -12,15 +12,18 @@ - [x] Show current page - [x] Correct bg colour on entire page - [x] Hamburger menu on mobile +- [ ] Dark mode toggle +- [ ] Navigate using pathname / breadcrumbs ## Accessibility -- [ ] Fix colours on buttons +- [x] Fix colours on buttons - [x] Correct contrast - [ ] All interactable elements have labels -- [ ] Colour links, also in MDX posts +- [x] Colour links, also in MDX posts ## ~/ - [ ] About me description +- [ ] Latest projects - [ ] Non-cat image ## ~/about @@ -29,6 +32,7 @@ ## ~/links - [ ] Add Bluesky link - [ ] Add MusicBrainz link +- [ ] Add Archidekt link ## ~/slashes - [ ] List of all slashes diff --git a/src/components/ContactMeForm.astro b/src/components/ContactMeForm.astro index d37cbb2..fb78e9d 100644 --- a/src/components/ContactMeForm.astro +++ b/src/components/ContactMeForm.astro @@ -4,20 +4,28 @@ import * as m from "@/paraglide/messages.js" // TODO self-host email server --- -
- - - - {/*Honeypot spam filter*/} - - -
- +
+
+ + + + {/*Honeypot spam filter*/} + + +
+ +
diff --git a/src/components/Footer.astro b/src/components/Footer.astro index ad79733..adbc02a 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -11,11 +11,15 @@ const giteaLink = `${GIT_URL}/martials/martials.no`
- - + + +
diff --git a/src/components/badge/BadgeList.astro b/src/components/badge/BadgeList.astro index 800a083..ecbc3de 100644 --- a/src/components/badge/BadgeList.astro +++ b/src/components/badge/BadgeList.astro @@ -7,6 +7,6 @@ interface Props { const { tags } = Astro.props --- -
+
{tags.map((tag) => )}
diff --git a/src/components/header/Navbar.astro b/src/components/header/Navbar.astro index c4535bf..c258eb7 100644 --- a/src/components/header/Navbar.astro +++ b/src/components/header/Navbar.astro @@ -8,7 +8,7 @@ import Links from "@/links" Links.map(({ to, label }) => ( ~/{label()} diff --git a/src/components/myLinks/LinkCard.astro b/src/components/myLinks/LinkCard.astro index a869efb..70cd708 100644 --- a/src/components/myLinks/LinkCard.astro +++ b/src/components/myLinks/LinkCard.astro @@ -12,7 +12,7 @@ const iconStyle = "w-6 h-6" --- -
+
{ icon ? ( diff --git a/src/components/projects/ProjectCard.astro b/src/components/projects/ProjectCard.astro index f64c09c..307caa8 100644 --- a/src/components/projects/ProjectCard.astro +++ b/src/components/projects/ProjectCard.astro @@ -19,12 +19,13 @@ const { title, description, tags, image, imageAlt, linkTo } = Astro.props
{imageAlt} +
{imageAlt}
-
+

{title}

diff --git a/src/components/projects/ProjectPage.astro b/src/components/projects/ProjectPage.astro index c5f75ac..2e07feb 100644 --- a/src/components/projects/ProjectPage.astro +++ b/src/components/projects/ProjectPage.astro @@ -29,7 +29,7 @@ const { --- - +

{title}

@@ -46,7 +46,7 @@ const {
{heroImageAlt} - +

{description}

diff --git a/src/content/projects/homepage.mdx b/src/content/projects/homepage.mdx index d270ceb..bc085c5 100644 --- a/src/content/projects/homepage.mdx +++ b/src/content/projects/homepage.mdx @@ -1,5 +1,5 @@ --- -title: "Hjemmeside" +title: "Welcome" description: "Welcome to my homepage / portfolio" heroImage: "assets/recursive-meme.png" heroImageAlt: "A recursive meme that says: Self-reference, recursive meme is self-referential" diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 4d0e4ce..7cd4ed4 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -9,7 +9,8 @@ interface Props { class?: string } const { title, class: clazz } = Astro.props -const mainClass = "grow max-w-[1000px] m-auto sm:min-w-[500px]" +const mainClass = + "grow max-w-[1000px] m-auto sm:min-w-[500px] not-sm:w-full px-5" --- diff --git a/src/styles/global.css b/src/styles/global.css index 3f26d8f..13e4c61 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -48,6 +48,6 @@ h3 { /* TODO change default style*/ a { - @apply link; + @apply link text-cat-mauve; text-decoration-line: none; }