Skip to content

Commit

Permalink
Merge pull request #81 from DSM-PICK/74-favicont설정
Browse files Browse the repository at this point in the history
favicon설정
  • Loading branch information
phyuna0525 authored Mar 19, 2024
2 parents 6d5d0a6 + 652668b commit 33a2fda
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
Binary file removed public/favicon.ico
Binary file not shown.
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.
8 changes: 7 additions & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import { Provider } from "./provide";
import Head from "next/head";
import "../../tailwind.config";
import "../styles/global.css";

export const metadata = {
title: "pick",
description: "Generated by Next.js",
icons: {
icon: "/favicon.ico",
icon: "/favicon.svg",
},
};

Expand All @@ -18,6 +19,11 @@ export default function RootLayout({
}) {
return (
<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>
Expand Down

0 comments on commit 33a2fda

Please sign in to comment.