diff --git a/src/images/round-portrait.png b/src/images/round-portrait.png new file mode 100644 index 0000000..0ea5526 Binary files /dev/null and b/src/images/round-portrait.png differ diff --git a/src/pages/home.tsx b/src/pages/home.tsx index 1458ee9..fbf60c8 100644 --- a/src/pages/home.tsx +++ b/src/pages/home.tsx @@ -1,59 +1,52 @@ import MainTemplate from "@/templates/MainTemplate" import PostListing from "@/containers/PostListing" import { usePosts } from "@/hooks/usePosts" +import roundedPortrait from "../images/round-portrait.png" import { Card, CardHeader, CardContent, CardFooter } from "@/components/ui/card" import { Button } from "@/components/ui/button" import { Link } from "react-router" const HomePage = () => { - const { posts } = usePosts() - return ( - -
-

- Another software engineer with a blog -

-

- I'm a self-taught software engineer currently working at ITV, - previously at the BBC. This blog is a technical scrapbook and digital - garden. -

-
- {/* - - -

- Another software engineer with a blog! -

-
- -

- I'm a self-taught software engineer currently working at ITV, - previously at the BBC. This blog is a technical scrapbook and - digital garden. -

-
- - - -
- + const { posts } = usePosts() + return ( + +
+
+ {/* Image - centers on mobile, left-aligned on desktop */} +
+ Profile picture +
+ {/* Text content */} +
+

+ Another software engineer with a blog +

+

+ I'm a self-taught software engineer currently working at ITV, + previously at the BBC. This blog is a technical scrapbook and + digital garden. +

+
+
+
+ {/* + */} - -
- ) + +
+ ) } export { HomePage } diff --git a/src/styles/shadcn-overrides.css b/src/styles/shadcn-overrides.css index dd8fe9d..eab1f04 100644 --- a/src/styles/shadcn-overrides.css +++ b/src/styles/shadcn-overrides.css @@ -43,3 +43,8 @@ img { max-width: 600px; min-width: 300px; } + +img.rounded-image { + max-width: auto; + min-width: auto; +} \ No newline at end of file