Skip to content
Open
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
2 changes: 1 addition & 1 deletion src/components/shared/footer/footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ const Footer = ({ hasThemesSupport = false }) => (
{description && (
<span
className={cn(
'ml-1.5 py-px text-gray-new-70 dark:text-gray-new-40',
'ml-1.5 py-px text-gray-new-45 dark:text-gray-new-50',
to &&
'transition-colors duration-200 group-hover/link:text-gray-new-10 group-hover/link:dark:text-gray-new-90'
)}
Expand Down
14 changes: 14 additions & 0 deletions src/components/shared/layout/layout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,18 @@ const Layout = ({
isClient = false,
}) => (
<>
<a
className={cn(
'fixed top-0 left-4 z-100 -translate-y-full rounded-b-sm px-4 py-2.5',
'text-sm leading-none font-medium tracking-extra-tight',
'border border-t-0 border-gray-new-90 bg-white text-black-pure',
'dark:border-gray-new-20 dark:bg-black-pure dark:text-white',
'focus:translate-y-0'
)}
href="#main-content"
>
Skip to main content
</a>
{!isClient && <Topbar />}
<div
className={cn(
Expand All @@ -44,6 +56,8 @@ const Layout = ({
/>
<main
className={cn(withOverflowHidden && 'overflow-hidden', 'flex flex-1 flex-col', className)}
id="main-content"
tabIndex={-1}
>
{children}
</main>
Expand Down