Skip to content

Commit 81aa9c7

Browse files
committed
feat: enhance SEO, security and performance through meta tags
- Add DNS prefetch and preconnect for performance optimization - Implement Referrer and Permissions Policy headers for security - Update theme-color meta tags for dark mode support - Update canonical URLs for improved SEO
1 parent b08c42a commit 81aa9c7

File tree

1 file changed

+24
-8
lines changed

1 file changed

+24
-8
lines changed

client/index.html

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,8 @@
4343
<meta charset="UTF-8">
4444
<meta name="viewport" content="width=device-width, initial-scale=1.0">
4545

46-
<link
47-
rel="preload"
48-
href="https://cdn.jsdelivr.net/gh/neodgm/[email protected]/neodgm_pro/neodgm_pro.woff2"
49-
as="font"
50-
type="font/woff2"
51-
crossorigin="anonymous"
52-
>
46+
<link rel="preload" href="https://cdn.jsdelivr.net/gh/neodgm/[email protected]/neodgm_pro/neodgm_pro.woff2"
47+
as="font" type="font/woff2" crossorigin="anonymous">
5348

5449
<meta name="theme-color" content="#7A38FF"> <!-- 브라우저 테마 색상 (violet-500) -->
5550
<meta name="description" content="잘 그렸나? 망쳤나? 정체를 숨긴 방해꾼이 쏘아올린 혼돈 속에서, 그림꾼들의 진실을 찾아내는 구경꾼들의 훈수가 시작됩니다! 🎨🕵️‍♀️">
@@ -87,6 +82,8 @@
8782
content="잘 그렸나? 망쳤나? 정체를 숨긴 방해꾼이 쏘아올린 혼돈 속에서, 그림꾼들의 진실을 찾아내는 구경꾼들의 훈수가 시작됩니다! 🎨🕵️‍♀️">
8883
<meta property="twitter:image" content="https://kr.object.ncloudstorage.com/troublepainter-assets/logo/main-logo.png">
8984

85+
<!-- 기본 URL -->
86+
<link rel="canonical" href="https://www.troublepainter.site" />
9087
<!-- 기본 파비콘 -->
9188
<link rel="icon" type="image/x-icon" href="/favicon.ico">
9289
<!-- iOS/Safari용 -->
@@ -100,6 +97,25 @@
10097
<!-- 웹 매니페스트 -->
10198
<link rel="manifest" href="/site.webmanifest">
10299

100+
<!-- 보안 관련 메타 태그 -->
101+
<meta http-equiv="Referrer-Policy" content="strict-origin-when-cross-origin">
102+
<meta http-equiv="Permissions-Policy" content="interest-cohort=()">
103+
104+
<!-- DNS 프리페치 & 프리커넥트 - 성능 최적화 -->
105+
<link rel="preconnect" href="https://cdn.jsdelivr.net" crossorigin>
106+
<link rel="dns-prefetch" href="https://cdn.jsdelivr.net">
107+
<link rel="preconnect" href="https://kr.object.ncloudstorage.com" crossorigin>
108+
<link rel="dns-prefetch" href="https://kr.object.ncloudstorage.com">
109+
110+
<!-- theme-color - 모든 브라우저용 -->
111+
<meta name="theme-color" content="#7A38FF" media="(prefers-color-scheme: light)">
112+
<meta name="theme-color" content="#7A38FF" media="(prefers-color-scheme: dark)">
113+
114+
<!-- 검색 엔진 제어 관련 -->
115+
<meta name="robots" content="index, follow, max-snippet:-1, max-image-preview:large">
116+
<link rel="canonical" href="https://troublepainter.site">
117+
<link rel="alternate" hreflang="ko" href="https://troublepainter.site">
118+
103119
<title>방해꾼은 못말려 : 그림꾼들의 역습</title>
104120
</head>
105121

@@ -109,4 +125,4 @@
109125
<script type="module" src="/src/main.tsx"></script>
110126
</body>
111127

112-
</html>
128+
</html>

0 commit comments

Comments
 (0)