From 5d272f015335c947bed72908b59856f085935cc3 Mon Sep 17 00:00:00 2001 From: thomasabishop Date: Tue, 21 Oct 2025 18:28:47 +0100 Subject: [PATCH] style: change font weights --- src/components/Header.tsx | 2 +- src/pages/about.tsx | 190 ++++++++++++++++----------------- src/templates/BlogTemplate.tsx | 70 ++++++------ 3 files changed, 130 insertions(+), 132 deletions(-) diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 0cf0cbc..ba6aef1 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -95,7 +95,7 @@ const Header = () => { //className="border md:border-none rounded-none z-500" > - + Systems Obscure diff --git a/src/pages/about.tsx b/src/pages/about.tsx index 838ed80..e2ec9d5 100644 --- a/src/pages/about.tsx +++ b/src/pages/about.tsx @@ -2,109 +2,109 @@ import MainTemplate from "@/templates/MainTemplate" import portrait from "../images/portrait-compressed.jpg" const AboutPage = () => { - return ( - -
-

- About -

-
+ return ( + +
+

+ About +

+
-
- A portrait of the blog author -
- Pictured with the WITCH computer at the{" "} - - National Museum of Computing - - , Bletchley Park. -
-
-

- I'm a self-taught software engineer based on the south coast of England. - This blog is my technical scrapbook. I document the details of my - technical life so I can have a record of progress when I look back.{" "} -

+
+ A portrait of the blog author +
+ Pictured with the WITCH computer at the{" "} + + National Museum of Computing + + , Bletchley Park. +
+
+

+ I'm a self-taught software engineer based on the south coast of England. + This blog is my technical scrapbook. I document the details of my + technical life so I can have a record of progress when I look back.{" "} +

-

- I completed a degree in Philosophy at the University of Warwick (2009) - and hold a Postgraduate Certificate of Education (2011). -

-

- Currently I work for{" "} - - ITV - {" "} - {""} - as a backend software engineer. Before that, I worked as a full-stack - engineer at the{" "} - - BBC - {" "} - and as a frontend engineer at{" "} - - Arria NLG - {" "} - and in several web developer roles. Before software I was a - teacher.{" "} -

+

+ I completed a degree in Philosophy at the University of Warwick (2009) + and hold a Postgraduate Certificate of Education (2011). +

+

+ Currently I work for{" "} + + ITV + {" "} + {""} + as a backend software engineer. Before that, I worked as a full-stack + engineer at the{" "} + + BBC + {" "} + and as a frontend engineer at{" "} + + Arria NLG + {" "} + and in several web developer roles. Before software I was a + teacher.{" "} +

-

- Some things I like: -

    -
  • 🐶 Staffies and other bull-breeds
  • -
  • 🎼 Classical music (Haydn, Mozart, JSB)
  • -
  • 🛸 Science fiction
  • -
-

+

+ Some things I like: +

    +
  • 🐶 Staffies and other bull-breeds
  • +
  • 🎼 Classical music (Haydn, Mozart, JSB)
  • +
  • 🛸 Science fiction
  • +
+

-

- Some things I'm interested in: -

    -
  • 🧑‍💻 Self-hosting and digital resiliance
  • -
  • 🖳 The history of computing and networks
  • -
  • 🇮🇪 Irish history and culture
  • -
  • ☸️ Buddhism
  • - {/* +

    + Some things I'm interested in: +

      +
    • 🧑‍💻 Self-hosting and digital resiliance
    • +
    • 🖳 The history of computing and networks
    • +
    • 🇮🇪 Irish history and culture
    • +
    • ☸️ Buddhism
    • + {/*
    • 📡 Civil communications infrastructure
    • */} -
    -

    +
+

-

- I self-host my own Git forge at{" "} - - forgejo.systemsobscure.net - {" "} - rather than use Microsoft GitHub. You can view my personal projects - there. -

-
- ) +

+ I self-host my own Git forge at{" "} + + forgejo.systemsobscure.net + {" "} + rather than use Microsoft GitHub. You can view my personal projects + there. +

+
+ ) } export { AboutPage } diff --git a/src/templates/BlogTemplate.tsx b/src/templates/BlogTemplate.tsx index 1dd67eb..a6b54cc 100644 --- a/src/templates/BlogTemplate.tsx +++ b/src/templates/BlogTemplate.tsx @@ -6,37 +6,35 @@ import { convertDate } from "@/utils/convertDate" import { usePosts } from "@/hooks/usePosts" const BlogTemplate = () => { - const { slug } = useParams() - const { posts } = usePosts() - const post = posts?.find((x) => x.slug === slug) + const { slug } = useParams() + const { posts } = usePosts() + const post = posts?.find((x) => x.slug === slug) - return ( - - {!post ? ( -
Loading...
- ) : ( - <> -
-

- {post?.title} -

-
-
- - {convertDate(post?.date)} - -
- {post?.tags?.map((tag, i) => ( - - - {tag} - - - ))} -
-
-
+

{post?.title}

+
+
+ + {convertDate(post?.date)} + +
+ {post?.tags?.map((tag, i) => ( + + + {tag} + + + ))} +
+
+
- - )} - - ) + dangerouslySetInnerHTML={{ __html: post?.html }} + /> + + )} + + ) } export default BlogTemplate