Skip to content

Commit 609892c

Browse files
authored
Merge pull request #113 from Devminjeong-eum/feat/DEV-165
[DEV-165] 다양한 크기의 favicon파일 추가, 애플 터치 아이콘 파일 교체
2 parents 1ed99b7 + c6a8f00 commit 609892c

7 files changed

+8
-3
lines changed
File renamed without changes.

public/icon_144x144.png

4.03 KB
Loading

public/icon_48x48.png

1 KB
Loading

public/icon_96x96.png

2.38 KB
Loading

public/sw.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/app/apple-icon.png

13.3 KB
Loading

src/app/layout.tsx

+7-2
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ export const metadata: Metadata = {
6363
title: '데브말싸미',
6464
statusBarStyle: 'black-translucent',
6565
},
66+
6667
icons: {
6768
apple: [{ url: '/apple-touch-icon.png' }],
6869
},
@@ -72,7 +73,6 @@ const gugi = localFont({
7273
src: [
7374
{
7475
path: './fonts/Gugi-Regular.woff2',
75-
//weight: '400',
7676
style: 'normal',
7777
},
7878
],
@@ -137,9 +137,14 @@ export default function RootLayout({
137137
}: {
138138
children: React.ReactNode;
139139
}) {
140-
141140
return (
142141
<html lang="ko" className={`${gugi.variable} ${pretendard.variable}`}>
142+
<head>
143+
<link rel="icon" href="/icon-16x16.ico" />
144+
<link rel="icon" href="/icon_48x48.png" />
145+
<link rel="icon" href="/icon_96x96.png" />
146+
<link rel="icon" href="/icon_144x144.png" />
147+
</head>
143148
<GoogleAnalytics gaId="G-JVH2GTHE6P" />
144149
<body className="font-pretendard antialiased">
145150
<HeightWrapper>

0 commit comments

Comments
 (0)