From 3d00852971d7e65cb252343b445fb332fa290c85 Mon Sep 17 00:00:00 2001 From: Kangdy Date: Thu, 10 Sep 2026 19:27:39 +0900 Subject: [PATCH] =?UTF-8?q?perf:=20LCP=20=EC=9D=B4=EB=AF=B8=EC=A7=80=20?= =?UTF-8?q?=EB=B0=8F=20=ED=8F=B0=ED=8A=B8=20=EB=A1=9C=EB=94=A9=20=EC=B5=9C?= =?UTF-8?q?=EC=A0=81=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/globals.css | 2 +- app/layout.tsx | 11 +--- package.json | 1 + pnpm-lock.yaml | 8 +++ public/fonts/Pretendard-Black.woff2 | Bin 800404 -> 0 bytes public/fonts/Pretendard-Bold.woff2 | Bin 791156 -> 0 bytes public/fonts/Pretendard-ExtraBold.woff2 | Bin 793540 -> 0 bytes public/fonts/Pretendard-ExtraLight.woff2 | Bin 734392 -> 0 bytes public/fonts/Pretendard-Light.woff2 | Bin 757000 -> 0 bytes public/fonts/Pretendard-Medium.woff2 | Bin 778432 -> 0 bytes public/fonts/Pretendard-Regular.woff2 | Bin 765892 -> 0 bytes public/fonts/Pretendard-SemiBold.woff2 | Bin 785856 -> 0 bytes public/fonts/Pretendard-Thin.woff2 | Bin 694804 -> 0 bytes public/fonts/pretendard.css | 71 ----------------------- 14 files changed, 11 insertions(+), 82 deletions(-) delete mode 100644 public/fonts/Pretendard-Black.woff2 delete mode 100644 public/fonts/Pretendard-Bold.woff2 delete mode 100644 public/fonts/Pretendard-ExtraBold.woff2 delete mode 100644 public/fonts/Pretendard-ExtraLight.woff2 delete mode 100644 public/fonts/Pretendard-Light.woff2 delete mode 100644 public/fonts/Pretendard-Medium.woff2 delete mode 100644 public/fonts/Pretendard-Regular.woff2 delete mode 100644 public/fonts/Pretendard-SemiBold.woff2 delete mode 100644 public/fonts/Pretendard-Thin.woff2 delete mode 100644 public/fonts/pretendard.css diff --git a/app/globals.css b/app/globals.css index 66f7e61..c663f25 100644 --- a/app/globals.css +++ b/app/globals.css @@ -68,7 +68,7 @@ } :root { - --font-pretendard: 'Pretendard', 'Pretendard Fallback'; + --font-pretendard: 'Pretendard Variable', 'Pretendard Fallback'; --radius: 0.625rem; /* 흰색 배경, 검은색 글씨 */ diff --git a/app/layout.tsx b/app/layout.tsx index f0ebfe8..29daaa9 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,3 +1,4 @@ +import 'pretendard/dist/web/variable/pretendardvariable-dynamic-subset.css'; import './globals.css'; import type { Metadata } from 'next'; import Script from 'next/script'; @@ -33,16 +34,6 @@ export default function RootLayout({ {`window.dataLayer = window.dataLayer || []; window.dataLayer.push({ 'gtm.start': new Date().getTime(), event: 'gtm.js' });`} - -