Skip to content

Commit

Permalink
fix: adding favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
rupali-codes committed Jan 14, 2023
1 parent 1199e30 commit d341718
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import Header from "components/Header"
import config from "4c.config"
import { motion } from "framer-motion"
import Footer from "components/Footer"
import favicon from "../public/favicon.ico"

const Layout = ({ header, children, ...rest }) => {
const variants = {
Expand All @@ -16,7 +17,7 @@ const Layout = ({ header, children, ...rest }) => {
<div className="bg-theme min-h-screen" id="get-projects-scroll">
<Header {...header} />
<Head>
<link rel="icon" href={config.favicon} />
<link rel="shortcut icon" type="image/x-icon" href={favicon.src} />
</Head>
<NextSeo
title={config.title.short}
Expand Down

0 comments on commit d341718

Please sign in to comment.