From ca1b18ba2b096adee4026c53d2d196d2ada59f8b Mon Sep 17 00:00:00 2001 From: imnyang Date: Thu, 13 Feb 2025 21:06:33 +0900 Subject: [PATCH] NType Font --- src/components/Home/Top.tsx | 2 +- src/index.css | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/components/Home/Top.tsx b/src/components/Home/Top.tsx index 103dafd..1235620 100644 --- a/src/components/Home/Top.tsx +++ b/src/components/Home/Top.tsx @@ -11,7 +11,7 @@ export default function Top() {
-

Nam
HyunSuk

+

Nam
HyunSuk

암냥이라는 이름으로 활동하고 있는
학생 개발자 남현석라고 합니다.

diff --git a/src/index.css b/src/index.css index f0f5051..0c0c805 100644 --- a/src/index.css +++ b/src/index.css @@ -3,6 +3,14 @@ @custom-variant dark (&:is(.dark *)); @import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"); +@font-face { + font-family: 'NType82Headline'; + src: url('https://f.imnya.ng/font/NType82-Headline.woff2') format('woff2'); +} + +.ntypefont { + font-family: "NType82Headline" !important; +} * { font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;