Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ export default function RootLayout({
<body
className={`${inter.className} antialiased bg-background text-foreground transition-colors duration-500`}
>
<a
href="#main-content"
className="sr-only focus:not-sr-only focus:fixed focus:top-4 focus:left-4 focus:z-[1000] focus:bg-primary focus:text-white focus:px-4 focus:py-2 focus:rounded-md focus:shadow-lg focus:outline-none"
>
Skip to content
</a>
<Providers>
{children}
<ScrollToTopButton />
Expand Down
8 changes: 6 additions & 2 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,12 @@ const Home = () => {
<div className="flex flex-col min-h-screen">
<Banner />
<MainHeader />
<Intro />
<main className="flex-grow">
<main
id="main-content"
tabIndex={-1}
className="flex-grow outline-none focus:ring-0"
>
<Intro />
<div className="space-y-0">
<SkillsSection />
<CertificationsSection />
Expand Down