Skip to content

Commit

Permalink
favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
Rouncer27 committed Jun 7, 2023
1 parent 986da6a commit 9db3859
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ module.exports = {
// https://css-tricks.com/meta-theme-color-and-trickery/
// theme_color: `#663399`,
display: `minimal-ui`,
icon: `src/images/gatsby-icon.png`, // This path is relative to the root of the site.
icon: `src/images/favicon.png`, // This path is relative to the root of the site.
},
},
`gatsby-plugin-netlify`,
Expand Down
Binary file removed src/images/example.png
Binary file not shown.
Binary file added src/images/favicon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/images/gatsby-icon.png
Binary file not shown.
7 changes: 6 additions & 1 deletion src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import styled from "styled-components"

import Layout from "../components/Layout"
import Seo from "../components/Seo"
import { B1Black, B2Black, H1Black, H2Black } from "../styles/helpers"
import { B1Black, B2Black, Btn1One, H1Black, H2Black } from "../styles/helpers"

const IndexPage = () => {
return (
Expand All @@ -26,6 +26,7 @@ const IndexPage = () => {
Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.
</p>
<button>Click Me</button>
<a href="#">Click Me Next Page</a>
</StyledSection>
</Layout>
)
Expand All @@ -47,6 +48,10 @@ const StyledSection = styled.section`
p:last-of-type {
${B2Black}
}
a {
${Btn1One};
}
`

export const Head = () => <Seo title="Home" />
Expand Down

0 comments on commit 9db3859

Please sign in to comment.