diff --git a/TODO.md b/TODO.md new file mode 100644 index 0000000..e4cdb06 --- /dev/null +++ b/TODO.md @@ -0,0 +1,40 @@ +# TODO + +## Code +- [ ] Temporal API or day.js for dates + +## Layout +- [ ] Show current page in navbar +- [x] Correct bg colour on entire page + +## Accessibility +- [ ] Fix colours on buttons +- [ ] Correct contrast +- [ ] All interactable elements have labels + +## ~/ +- [ ] About me description +- [ ] Non-cat image + +## ~/about +- [ ] About me + +## ~/links +- [ ] Add Bluesky link +- [ ] Add MusicBrainz link + +## ~/slashes +- [ ] List of all slashes + +## ~/uses +- [ ] Homelab uses +- [ ] Raspberry PI uses +- [ ] Hardware anchor + +## ~/certifications +- [ ] Embed certifications + +## ~/tools + +### /simplify-truths +- [ ] Merge simplify truths implementation diff --git a/messages/en.json b/messages/en.json index e065450..d6978bc 100644 --- a/messages/en.json +++ b/messages/en.json @@ -2,7 +2,7 @@ "$schema": "https://inlang.com/schema/inlang-message-format", "hiIm": "Hi, I'm", "position": "Software Engineer", - "aboutMe": "Some bullshit about me", + "aboutMe": "Dedicated developer currently working at Capgemini Bergen.", "home": "Home", "contactMe": "Contact me", "myLinks": "My links", diff --git a/messages/nb.json b/messages/nb.json index 49c6ccd..07aca11 100644 --- a/messages/nb.json +++ b/messages/nb.json @@ -2,7 +2,7 @@ "$schema": "https://inlang.com/schema/inlang-message-format", "hiIm": "Hei, jeg er", "position": "Programvareutvikler", - "aboutMe": "Bunntekst", + "aboutMe": "Engasjert utvikler som for tiden jobber hos Capgemini Bergen", "home": "Hjem", "contactMe": "Kontakt meg", "myLinks": "Mine lenker", diff --git a/src/components/ContactMeForm.astro b/src/components/ContactMeForm.astro index 911e351..d37cbb2 100644 --- a/src/components/ContactMeForm.astro +++ b/src/components/ContactMeForm.astro @@ -12,12 +12,12 @@ import * as m from "@/paraglide/messages.js" - {/*Honeypot spam filter*/} + - + diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 7228ef4..8b9bf77 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -9,8 +9,10 @@ import * as m from "@/paraglide/messages" const giteaLink = `${GIT_URL}/martials/martials.no` --- -
-
+
+
diff --git a/src/components/Greeting.astro b/src/components/Greeting.astro index 6f8e75a..f4db6d3 100644 --- a/src/components/Greeting.astro +++ b/src/components/Greeting.astro @@ -7,7 +7,7 @@ import "@/styles/global.css"
-

+

{m.hiIm()}
Martin Berg Alstad diff --git a/src/components/Input.astro b/src/components/Input.astro index f3f1aed..e8a1589 100644 --- a/src/components/Input.astro +++ b/src/components/Input.astro @@ -19,7 +19,7 @@ const {

diff --git a/src/components/UsesPage.astro b/src/components/UsesPage.astro new file mode 100644 index 0000000..4aca7a4 --- /dev/null +++ b/src/components/UsesPage.astro @@ -0,0 +1,31 @@ +--- +import Select from "./Select.svelte" +import * as m from "@/paraglide/messages" +import CollapseList from "@/components/collapse/CollapseList.svelte" +import type { CollectionEntry } from "astro:content" + +interface Props { + uses: ReadonlyArray> +} + +const { uses } = Astro.props +// TODO set url anchor to selected hardware +--- + +
+ { + uses.map((hardware) => ( +
+

{hardware.data.title}

+ +
+ {hardware.data.accessories && ( + + )} +
+ )) + } +
diff --git a/src/components/UsesPage.svelte b/src/components/UsesPage.svelte deleted file mode 100644 index d002404..0000000 --- a/src/components/UsesPage.svelte +++ /dev/null @@ -1,44 +0,0 @@ - - -
-

{m.uses()}

-
-