Skip to content

Commit

Permalink
add role to content
Browse files Browse the repository at this point in the history
  • Loading branch information
nekiro committed Dec 6, 2024
1 parent ecee0b2 commit ae37911
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/layout/Head.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ const Head = ({ title, description = "Automatic Account Creator" }: HeadProps) =
<NextHead>
<meta charSet="UTF-8" key="charset" />
<meta name="viewport" content="width=device-width,initial-scale=1" key="viewport" />
<link rel="icon" href={`/favicon.ico`} key="favicon" />
<meta property="og:image" content="/favicon.ico" />
<link rel="icon" href="/favicon.ico" key="favicon" />
</NextHead>
<NextSeo
title={`${process.env.NEXT_PUBLIC_SERVER_NAME} - ${title}`}
Expand Down
2 changes: 1 addition & 1 deletion src/layout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const Layout = ({ children }: PropsWithChildren) => {
<>
<Head title="News" />
{TopBarComponent && <TopBarComponent />}
<Flex w={{ lg: "1050px", base: "100%" }} bgColor={bgColor} mt="2em" marginX={"auto"} padding="1em">
<Flex role="main" w={{ lg: "1050px", base: "100%" }} bgColor={bgColor} mt="2em" marginX={"auto"} padding="1em">
{children}
</Flex>
<Text userSelect="none" fontSize="sm" position="fixed" color="white" bottom="5" left="50%" transform="translateX(-50%)">
Expand Down

0 comments on commit ae37911

Please sign in to comment.