diff --git a/components/quick-links.tsx b/components/quick-links.tsx index 4743a56..71cf15d 100644 --- a/components/quick-links.tsx +++ b/components/quick-links.tsx @@ -4,7 +4,6 @@ import Pages from '../public/external.json'; function QuickLinks() { return (
-

Quick Links

{ Object.entries(Pages).map(([title, link], i) => { const extern = link.match(/^http/) && `blue extern` || ''; diff --git a/components/title.tsx b/components/title.tsx index 21ac638..5114181 100644 --- a/components/title.tsx +++ b/components/title.tsx @@ -30,6 +30,8 @@ function Title() { if (pagePath !== '/') { const subPaths = pagePath.split('?')[0].split('#')[0].split('/'); for (const p of subPaths.slice(1, subPaths.length)) { + if (!p) + continue; splitPath.push({ name: currRoot[p].title, path: p }); if (currRoot === undefined diff --git a/next.config.js b/next.config.js index d7e6ce7..d4341cc 100644 --- a/next.config.js +++ b/next.config.js @@ -8,7 +8,6 @@ const config = { { test: /\.ya?ml$/, use: 'js-yaml-loader', - }, { test: /\.svg$/, diff --git a/pages/about.tsx b/pages/about.tsx index 5ed5101..05f64fa 100644 --- a/pages/about.tsx +++ b/pages/about.tsx @@ -9,15 +9,17 @@ function AboutPage() {

Paul's Personal Website. I go by @LambdaPaul on GitHub and @lambda_paul on X/Twitter.

-

Why did I create this? +

I also have a Gitea server at git.paulw.xyz and a Pleroma (ActivityPub/Mastodon-compatible) server at social.paulw.xyz as back-ups for my GitHub and X/Twitter.

+

Why did I create this? Why do I have the back-ups?

+

The original motivation was to just play with Next.js as it pretty much did the things I wanted web pages to do. But it came at the cost of needless complexity. As I use the JavaScript/ECMAScript/Whatever-you-want-to-call-it-script more and more, I am convinced that it is not a platform worth pursuing because the more complex it gets, the less control I have over what it does and this platform and its users seems to be okay with that sort of loss. I have been instead pivoting toward things that impressed and got me interested in working with computers.

Most services/products are keen on going against what Steph Ango calls File over app, a philosophy in which you prioritize data over software, and anticipate and embrace the eventual death of software. People instead want subscription services that barely support open formats and sometimes do not support exporting data to commonly used formats. The goal here is to avoid storing artifacts under locations that are easily not accessible, not under my control, and does not lock me out of using it with other software. The only reason I have not completely abandoned this is thanks to my decision to rely on Markdown files alone. Had it been reliant on any cloud software, I would have started over.

-

Got any questions, concerns, or issues? Contact me via email: lambdapaul [at] pm [dot] me.

+

Got any questions, concerns, or issues? Contact me via email: contact [at] paulw [dot] xyz.


-

Source for this site is available on GitHub: https://github.com/LambdaPaul/www

+

Source for this site is available on GitHub: github.com/LambdaPaul/www and git.paulw.xyz/LambdaPaul/www

Relevant information regarding the source is available on the repo and is also provided below.

diff --git a/pages/index.tsx b/pages/index.tsx index 92c556e..272035c 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -7,12 +7,12 @@ import RecentPosts from '../components/recent-posts'; import RootInfo from '../public/home.json'; function Nav() { - const nav = RootInfo; + const nav = Object.entries(RootInfo); return (

Navigation

{ - Object.entries(nav).map(([slug, info], i) => { + nav.map(([slug, info], i) => { return {info.title} }) } diff --git a/public/home.json b/public/home.json index 927782e..b294552 100644 --- a/public/home.json +++ b/public/home.json @@ -10,5 +10,11 @@ }, "sitemap": { "title": "Site Map" + }, + "https://git.paulw.xyz": { + "title": "Git.PaulW.XYZ" + }, + "https://social.paulw.xyz": { + "title": "Social.PaulW.XYZ" } }