diff --git a/project-words.txt b/project-words.txt index 141346e..0893b85 100644 --- a/project-words.txt +++ b/project-words.txt @@ -16,6 +16,7 @@ Dechorionator ebox fhhs flowbite +Gitea HDFS headshot Homelab diff --git a/src/assets/experience/osu-robotics-club/mars-rover-software-lead/silly-poke.gif b/src/assets/experience/osu-robotics-club/mars-rover-software-lead/silly-poke.gif new file mode 100644 index 0000000..379fc55 Binary files /dev/null and b/src/assets/experience/osu-robotics-club/mars-rover-software-lead/silly-poke.gif differ diff --git a/src/assets/experience/spacex/avionics-test-engineering-internship/swag.jpg b/src/assets/experience/spacex/avionics-test-engineering-internship/swag.jpg new file mode 100644 index 0000000..813bdf3 Binary files /dev/null and b/src/assets/experience/spacex/avionics-test-engineering-internship/swag.jpg differ diff --git a/src/assets/resume/corwin_perren_2025-10-27-infrastructure_engineer.pdf b/src/assets/resume/corwin_perren_2025-10-27_infrastructure_engineer.pdf similarity index 88% rename from src/assets/resume/corwin_perren_2025-10-27-infrastructure_engineer.pdf rename to src/assets/resume/corwin_perren_2025-10-27_infrastructure_engineer.pdf index e88030b..aedf620 100644 Binary files a/src/assets/resume/corwin_perren_2025-10-27-infrastructure_engineer.pdf and b/src/assets/resume/corwin_perren_2025-10-27_infrastructure_engineer.pdf differ diff --git a/src/components/Footer.astro b/src/components/Footer.astro index b9d1939..af98c0e 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -1,10 +1,23 @@ --- +import InlineLink from "@components/InlineLink.astro"; +const { pathname } = Astro.url; --- diff --git a/src/components/InlineLink.astro b/src/components/InlineLink.astro index a302e00..93f5428 100644 --- a/src/components/InlineLink.astro +++ b/src/components/InlineLink.astro @@ -7,16 +7,10 @@ interface Props extends ComponentPropsBase { } const { class: className, href, target } = Astro.props; +const { pathname } = Astro.url; -let finalTarget: string | undefined = target; - -if (target === undefined) { - if (href.startsWith("/")) { - finalTarget = ""; - } else { - finalTarget = "_blank"; - } -} +const finalTarget = + target === undefined ? (href.startsWith("/") ? undefined : "_blank") : target; --- <> @@ -24,6 +18,7 @@ if (target === undefined) { class:list={["text-blue-500", "hover:text-blue-300", className]} href={href} target={finalTarget} + aria-current={pathname === href ? "page" : undefined} > diff --git a/src/components/NestedNavbarEntries.astro b/src/components/NestedNavbarEntries.astro index b965f3e..30b94e5 100644 --- a/src/components/NestedNavbarEntries.astro +++ b/src/components/NestedNavbarEntries.astro @@ -1,26 +1,18 @@ --- import type { navLink } from "@interfaces/site-layout.ts"; +import { getHrefPath, getNavLinkSuffix } from "@data/site-layout.ts"; + const items: navLink[] = Astro.props.items; const depth: number = Astro.props.depth ?? 0; const paths: string[] = Astro.props.paths ?? []; -const getNavLinkSuffix = (entry: navLink): string => { - return "-" + [...paths, entry.path].join("-"); -}; -const getHrefPath = (entry: navLink): string => { - return entry.pubpath - ? entry.pubpath - : "/" + - (paths && paths.length ? [...paths, entry.path].join("/") : entry.path); -}; - const { pathname } = Astro.url; ---