1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-06-05 20:15:31 -04:00
This commit is contained in:
2025-05-18 23:38:56 -04:00
parent f272fb8b5f
commit 2796ce189b
11 changed files with 110 additions and 164 deletions
-17
View File
@@ -1,17 +0,0 @@
import Button from "@/components/ui/button";
export const SKIP_NAV_ID = "skip-nav";
const SkipNavButton = () => {
return (
<Button
asChild
className="sr-only focus:not-sr-only focus:absolute focus:top-4 focus:left-4 focus:z-100 focus:inline-flex focus:px-4 focus:py-2"
variant="default"
>
<a href={`#${SKIP_NAV_ID}`}>Skip to content</a>
</Button>
);
};
export default SkipNavButton;