Skip to content

Commit 8e276fa

Browse files
committed
⚙ chore(#168): 동적 매니페스트 파일 생성
1 parent 492d3c8 commit 8e276fa

File tree

3 files changed

+32
-29
lines changed

3 files changed

+32
-29
lines changed

public/manifest.json

Lines changed: 0 additions & 28 deletions
This file was deleted.

src/app/layout.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ export const metadata = {
77
titleTemplate: '%s - 레터링',
88
description:
99
'다양한 우주 행성 그리고 별빛이 담긴 편지지로 마음을 형상화한 편지를 보관해보세요.',
10-
manifest: '/manifest.json',
1110
icons: {
1211
icon: '/icon_16.png'
1312
},

src/app/manifest.ts

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
import type { MetadataRoute } from 'next';
2+
3+
export default function manifest(): MetadataRoute.Manifest {
4+
return {
5+
theme_color: '#444d9b',
6+
background_color: '#060811',
7+
icons: [
8+
{
9+
purpose: 'maskable',
10+
sizes: '512x512',
11+
src: '/icon_512_maskable.png',
12+
type: 'image/png'
13+
},
14+
{
15+
purpose: 'any',
16+
sizes: '512x512',
17+
src: '/icon_512_rounded.png',
18+
type: 'image/png'
19+
}
20+
],
21+
orientation: 'any',
22+
display: 'standalone',
23+
dir: 'auto',
24+
lang: 'ko',
25+
name: '레터링',
26+
short_name: '레터링',
27+
description: '편지로 수놓는 나의 스페이스',
28+
start_url: 'https://www.lettering.world',
29+
scope: 'https://www.lettering.world',
30+
id: 'https://www.lettering.world'
31+
};
32+
}

0 commit comments

Comments
 (0)