refactoring theme.js by breaking up the root slot into further header, body slots to better compartmentalize css in components
This commit is contained in:
@@ -26,7 +26,7 @@ export default function Home() {
|
||||
|
||||
return (
|
||||
<Flex css={homeStyle.root}>
|
||||
<Flex as="header">
|
||||
<Flex as="header" css={homeStyle.header}>
|
||||
{/* TABS CONTAINER */}
|
||||
<Flex>
|
||||
{HOME_TABS.map((tab) => {
|
||||
@@ -52,7 +52,7 @@ export default function Home() {
|
||||
</Flex>
|
||||
|
||||
{/* TABS CONTENT */}
|
||||
<Flex>
|
||||
<Flex css={homeStyle.body}>
|
||||
<Outlet/>
|
||||
</Flex>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user