-
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.
Merge pull request #53 from glweems/analytics
SEO Updates
- Loading branch information
Showing
10 changed files
with
61 additions
and
44 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
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Binary file not shown.
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,28 +1,30 @@ | ||
import { LogoIcon } from '@lib/Icons'; | ||
import { colors } from '@lib/theme'; | ||
import Link from 'next/link'; | ||
import React from 'react'; | ||
import React, { FC } from 'react'; | ||
import styled from 'styled-components'; | ||
|
||
const Navbar: React.FC = () => { | ||
return ( | ||
<Header> | ||
<Link href="/"> | ||
<span> | ||
<LogoIcon /> | ||
Super Grid 9K | ||
</span> | ||
</Link> | ||
</Header> | ||
); | ||
}; | ||
const Navbar: FC = () => ( | ||
<Header> | ||
<LogoIcon /> | ||
<Link href="/"> | ||
<a href="/" aria-label="homepage"> | ||
<div>Super Grid 9K</div> | ||
</a> | ||
</Link> | ||
</Header> | ||
); | ||
|
||
const Header = styled.header` | ||
display: flex; | ||
place-items: center; | ||
height: ${(props) => props.theme.navbarHeight}; | ||
padding-left: 1rem; | ||
background-color: ${colors.base}; | ||
border-bottom: 4px solid ${colors.baseShade}; | ||
svg { | ||
margin-right: 1rem; | ||
} | ||
`; | ||
|
||
export default Navbar; |
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
aa04c8d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: