Created
December 7, 2023 01:50
-
-
Save rahulmore01/306356afa76708c39ff5dc8c918c9bef to your computer and use it in GitHub Desktop.
favicon in nextjs
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
export const metadata = { | |
title: "Rahul More", | |
description: "A Frontend Developer Portfolio", | |
//line 5 to 8 is only addition to make in layout.js | |
icons: { | |
icon: "/images/rahul.png", | |
}, | |
}; | |
export default function RootLayout({ children }) { | |
return ( | |
<html lang="en"> | |
<body> | |
{children} | |
</body> | |
</html> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment