Rename home page to about

This page is all about me and what I've been doing, so it makes more
sense to call it the about page rather than home or index.
This commit is contained in:
Hornwitser 2025-02-03 12:57:04 +01:00
parent 3bcf621a1c
commit fed75e4930
3 changed files with 5 additions and 5 deletions

View file

@ -25,7 +25,7 @@ source.addEventListener("reload", () => location.reload());`;
<body>
<header class="header">
<nav>
<a href="/index.html">Home</a>
<a href="/about.html">About</a>
<a href="/updates.html">Updates</a>
<a href="/words.html">Words</a>
<a href="/projects.html">Projects</a>

View file

@ -3,9 +3,9 @@ import { projects } from "./projects.js"
import { updates } from "./updates.js"
const title = "Hornwitser's Site";
export const index = {
export const about = {
title,
ref: "/index.html",
ref: "/about.html",
content: <BasePage title={title}>
<main>
<div class="hero" />

View file

@ -1,5 +1,5 @@
import type { Page } from "./types.js";
import { index } from "./content/index.js";
import { about } from "./content/about.js";
import { updates, updatesIndex } from "./content/updates.js";
import { words, wordsIndex } from "./content/words.js";
import { projects, projectsIndex } from "./content/projects.js";
@ -7,7 +7,7 @@ import { sandbox } from "./content/sandbox.js";
import { links } from "./content/links.js";
export const pages: Page[] = [
index,
about,
updatesIndex,
...updates,
wordsIndex,