From 89b820eafce21ee7296dc5de88c7529c06d1d015 Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Fri, 15 Aug 2025 17:37:02 -0400 Subject: [PATCH] Scroll all the way to the top for home --- src/components/BottomBar.astro | 2 +- src/layouts/Layout.astro | 5 +++-- src/pages/index.astro | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/components/BottomBar.astro b/src/components/BottomBar.astro index de5bf0a..47727da 100644 --- a/src/components/BottomBar.astro +++ b/src/components/BottomBar.astro @@ -4,7 +4,7 @@ import type Page from "../types/page.ts" const sections: Array = [ { title: "Home", id: "home", icon: "home" }, { title: "Projects", id: "projects", icon: "build" }, - { title: "Hire", id: "hire", icon: "person" }, + { title: "Hire Me", id: "hire", icon: "person" }, ] --- diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 251cc07..c9e6deb 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -5,9 +5,10 @@ import "../styles/global.css" interface Props { title: string + id?: string } -const { title } = Astro.props +const { title, id } = Astro.props --- @@ -23,7 +24,7 @@ const { title } = Astro.props Henry Hiles - {title} - +
diff --git a/src/pages/index.astro b/src/pages/index.astro index eba4a5b..6840f01 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -17,8 +17,8 @@ import BottomBar from "../components/BottomBar.astro" import CallToAction from "../components/CallToAction.astro" --- - -
+ +
Henry Hiles Multiplatform Flutter Developer & Front-End Web Developer