Skip to content

Commit

Permalink
add : favicon
Browse files Browse the repository at this point in the history
add : favicon
  • Loading branch information
phyuna0525 authored Apr 21, 2024
2 parents 19a424f + f3bbc31 commit c23e883
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 2 deletions.
19 changes: 19 additions & 0 deletions public/favicon.svg
Loading
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/app/favicon.ico
Binary file not shown.
19 changes: 19 additions & 0 deletions src/app/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 11 additions & 2 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
import { Provider } from "./provider";
import "../../tailwind.config";
import "@/style/global.css";
import Head from "next/head";

export const metadata = {
title: "PiCK",
description: "Generated by create next app",
icons: {
icon: "/favicon.svg",
},
};

export default function RootLayout({
Expand All @@ -13,8 +17,13 @@ export default function RootLayout({
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body suppressHydrationWarning>
<html lang="ko">
<Head>
<link rel="icon" href={metadata.icons.icon} />
<title>{metadata.title}</title>
<meta name="description" content={metadata.description} />
</Head>
<body className="">
<Provider>{children}</Provider>
</body>
</html>
Expand Down

0 comments on commit c23e883

Please sign in to comment.