From 47d2355cdb30b1bbab74a5fd351278e5f590f09c Mon Sep 17 00:00:00 2001 From: James Purser Date: Sat, 24 Jan 2026 17:13:50 +1100 Subject: [PATCH] Putting photography back in its place --- pages/404.js | 2 +- pages/photography.js | 50 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 pages/photography.js diff --git a/pages/404.js b/pages/404.js index f35ec37..5433cc0 100644 --- a/pages/404.js +++ b/pages/404.js @@ -1,3 +1,3 @@ export default function Custom404() { - return

500 - Server-side error occurred

+ return

404 - I cannae find it Captain

} \ No newline at end of file diff --git a/pages/photography.js b/pages/photography.js new file mode 100644 index 0000000..ab16816 --- /dev/null +++ b/pages/photography.js @@ -0,0 +1,50 @@ +import Layout from "../components/main.js" +import GalleryList from "../components/gallerylist.js" +import { getAllGalleries } from "../data/external/cms.js" +import getConfig from 'next/config' +import config from "../data/internal/config" +import Head from 'next/head' + +export async function getStaticProps({params}) { + + const pagedata = { + title: "Angrybeanie - Photography" + } + + const { serverRuntimeConfig } = getConfig() + + const rssFeed = config.siteURL+"/feed/gallery-images-feed.xml" + + const gallerylist = await getAllGalleries() + + console.log(gallerylist); + + return { + props: { pagedata, serverRuntimeConfig, gallerylist, rssFeed }, + revalidate: 60 + } +} + +const Page = ({pagedata, serverRuntimeConfig, gallerylist, rssFeed}) => { + return( + + + +

Photography

+
+

I've always been drawn to photography. As a kid my Dad used to have his own darkroom and I remember the smell + of the chemicals and the wonder as the images went from the slightly disconcerting inverted colours on the negatives + to a full colour explosion on the paper.

+

I like taking pictures, I love capturing a moment and freezing it in time, so that I can look back and remember, or that I can + share that moment with others.

+

I'm also learning new things. I'm pushing myself to do more with the camera. Not just the "candid" shots that my family put up with, + but branching out into Macro photography, portraits and street photography.

+

So here is the space where I post the images I make, and the journey I take in my photography.

+
+
+ +
+
) +} + +export default Page