feat(nav): active state
This commit is contained in:
@@ -5,7 +5,7 @@ import { Header, Heading, Section, Text } from "../components";
|
||||
|
||||
export default function Index({ data }) {
|
||||
return (
|
||||
<Layout>
|
||||
<Layout location="/about">
|
||||
<Header
|
||||
image={data.headerImage.childImageSharp.fluid}
|
||||
position="bottom right"
|
||||
|
||||
@@ -49,7 +49,7 @@ export default function Index({ data }) {
|
||||
.catch(error => console.log(error));
|
||||
};
|
||||
return (
|
||||
<Layout>
|
||||
<Layout location="/contact">
|
||||
<Header
|
||||
image={data.headerImage.childImageSharp.fluid}
|
||||
position="bottom right"
|
||||
|
||||
@@ -14,7 +14,7 @@ import {
|
||||
|
||||
export default function Index({ data }) {
|
||||
return (
|
||||
<Layout>
|
||||
<Layout location="/">
|
||||
<Header image={data.headerImage.childImageSharp.fluid}>
|
||||
<HeaderLogo transition={true} />
|
||||
</Header>
|
||||
|
||||
@@ -5,7 +5,7 @@ import { Header } from "../../components";
|
||||
|
||||
export default function Index({ data }) {
|
||||
return (
|
||||
<Layout>
|
||||
<Layout location="/services/bathrooms">
|
||||
<Header image={data.headerImage.childImageSharp.fluid}>
|
||||
<h1>Bathrooms</h1>
|
||||
</Header>
|
||||
|
||||
@@ -5,7 +5,7 @@ import { Header } from "../../components";
|
||||
|
||||
export default function Index({ data }) {
|
||||
return (
|
||||
<Layout>
|
||||
<Layout location="/services">
|
||||
<Header image={data.headerImage.childImageSharp.fluid}>
|
||||
<h1>Services</h1>
|
||||
</Header>
|
||||
|
||||
Reference in New Issue
Block a user