mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-04 09:15:58 +02:00
feat(header): add index link to logo
This commit is contained in:
committed by
Jean-Philippe Sirois
parent
87530f69c3
commit
bbb22cca33
@@ -1,3 +1,4 @@
|
||||
import { Link } from "gatsby"
|
||||
import React, { PropsWithChildren } from "react"
|
||||
import { Container } from "../Container"
|
||||
import logo from "../../images/tph-logo.png"
|
||||
@@ -16,7 +17,9 @@ export function Header() {
|
||||
<SC.HeaderWrapper>
|
||||
<Container>
|
||||
<SC.InnerWrapper>
|
||||
<SC.Logo src={logo} />
|
||||
<Link to="/">
|
||||
<SC.Logo src={logo} />
|
||||
</Link>
|
||||
<SC.Menu>
|
||||
<MenuItem to="/about">about</MenuItem>
|
||||
<MenuItem to="/rules">rules</MenuItem>
|
||||
|
||||
Reference in New Issue
Block a user