Skip to content

Commit

Permalink
Enhancement(site): accecibility
Browse files Browse the repository at this point in the history
  • Loading branch information
lucien-loua committed Sep 14, 2024
1 parent bb1858a commit 94dc9be
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 4 additions & 6 deletions apps/site/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import '@omi3/ui/neobrutalism.css';

import { silk } from '@omi3/ui';
import { cn } from '@omi3/utils';
import type { Metadata } from 'next';
import { Footer } from './_components/layout/footer';
import type { Metadata } from 'next';
import { Providers } from './_providers';
import { cn } from '@omi3/utils';
import { silk } from '@omi3/ui';

export const metadata: Metadata = {
metadataBase: new URL('https://omi3.dev'),
Expand All @@ -29,9 +29,7 @@ export default function RootLayout({
)}
>
<Providers>
<main className="flex flex-grow items-center justify-center p-5" tabIndex={-1} role="main">
{children}
</main>
{children}
<Footer />
</Providers>
</body>
Expand Down
8 changes: 5 additions & 3 deletions apps/site/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ export const metadata: Metadata = {

export default function Home() {
return (
<div className="w-full max-w-md">
<AudioPlayer />
</div>
<main className="flex flex-grow items-center justify-center p-5" role="main">
<div className="w-full max-w-md">
<AudioPlayer />
</div>
</main>
);
}

0 comments on commit 94dc9be

Please sign in to comment.