-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replacing divs and spans with h1 and h2 tags for accessibility
- Loading branch information
1 parent
1df3a70
commit 85f99aa
Showing
2 changed files
with
14 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,36 @@ | ||
import Nav from './components/nav' | ||
import './globals.css' | ||
import Nav from './components/nav'; | ||
import './globals.css'; | ||
|
||
export const metadata = { | ||
title: 'Getting Started with Solid', | ||
description: 'Learn to build Solid Apps', | ||
} | ||
}; | ||
|
||
export default function RootLayout({ | ||
children, | ||
}: { | ||
children: React.ReactNode | ||
children: React.ReactNode; | ||
}) { | ||
return ( | ||
<html lang="en" className="bg-primary-50"> | ||
<body className="bg-transparent"> | ||
<main> | ||
<header className="fixed top-0 w-full"> | ||
<div className="bg-primary-800 shadow-lg border-dashed border-2 border-primary-100 border-x-transparent border-t-transparent"> | ||
<div className="flex text-primary-300"> | ||
<h1 className="flex text-primary-300"> | ||
<span className="flex pl-10 font-extrabold text-8xl tracking-tighter items-end"> | ||
Solid | ||
</span> | ||
<span className="flex text-8xl tracking-tight font-extralight items-end"> | ||
DeveloperGroup | ||
</span> | ||
</div> | ||
</h1> | ||
</div> | ||
<Nav></Nav> | ||
</header> | ||
<div className="mt-48">{children}</div> | ||
</main> | ||
</body> | ||
</html> | ||
) | ||
); | ||
} |