Scroll all the way to the top for home
Some checks are pending
Deploy to Pages / Build (push) Waiting to run
Deploy to Pages / Deploy (push) Blocked by required conditions

This commit is contained in:
Henry Hiles 2025-08-15 17:37:02 -04:00
commit 89b820eafc
No known key found for this signature in database
3 changed files with 6 additions and 5 deletions

View file

@ -4,7 +4,7 @@ import type Page from "../types/page.ts"
const sections: Array<Page> = [ const sections: Array<Page> = [
{ title: "Home", id: "home", icon: "home" }, { title: "Home", id: "home", icon: "home" },
{ title: "Projects", id: "projects", icon: "build" }, { title: "Projects", id: "projects", icon: "build" },
{ title: "Hire", id: "hire", icon: "person" }, { title: "Hire Me", id: "hire", icon: "person" },
] ]
--- ---

View file

@ -5,9 +5,10 @@ import "../styles/global.css"
interface Props { interface Props {
title: string title: string
id?: string
} }
const { title } = Astro.props const { title, id } = Astro.props
--- ---
<!doctype html> <!doctype html>
@ -23,7 +24,7 @@ const { title } = Astro.props
<meta name="generator" content={Astro.generator} /> <meta name="generator" content={Astro.generator} />
<title>Henry Hiles - {title}</title> <title>Henry Hiles - {title}</title>
</head> </head>
<body> <body id={id}>
<TopBar /> <TopBar />
<main><slot /></main> <main><slot /></main>
<slot name="navbar" /> <slot name="navbar" />

View file

@ -17,8 +17,8 @@ import BottomBar from "../components/BottomBar.astro"
import CallToAction from "../components/CallToAction.astro" import CallToAction from "../components/CallToAction.astro"
--- ---
<Layout title="Home"> <Layout title="Home" id="home">
<header id="home"> <header>
<Image src={logoLong} alt="Henry Hiles" /> <Image src={logoLong} alt="Henry Hiles" />
<span>Multiplatform Flutter Developer & Front-End Web Developer</span> <span>Multiplatform Flutter Developer & Front-End Web Developer</span>
<CallToAction /> <CallToAction />