chore: components 패키지에 Noto Sans KR 폰트 파일 추가

This commit is contained in:
2025-02-24 15:05:31 +09:00
parent 7a09590774
commit 421ba970d0
11 changed files with 12 additions and 6 deletions
@@ -1,8 +1,9 @@
import { Header } from "./header";
import { LNB } from "./lnb";
import "./common.css";
import { Header } from "./header";
import { Footer } from "./footer";
import "./common.css";
export function BaseLayout({ children }: { children: React.ReactNode }) {
return (
<div>
@@ -3,25 +3,29 @@
@font-face {
font-family: "Noto Sans KR";
font-style: normal;
src: url("../fonts/NotoSansKR-Light.otf") format("opentype");
src: url("../../../public/assets/fonts/NotoSansKR-Light.ttf")
format("truetype");
font-weight: 300;
}
@font-face {
font-family: "Noto Sans KR";
font-style: normal;
src: url("../fonts/NotoSansKR-Regular.otf") format("opentype");
src: url("../../../public/assets/fonts/NotoSansKR-Regular.ttf")
format("truetype");
font-weight: 400;
}
@font-face {
font-family: "Noto Sans KR";
font-style: normal;
src: url("../fonts/NotoSansKR-Medium.otf") format("opentype");
src: url("../../../public/assets/fonts/NotoSansKR-Medium.ttf")
format("truetype");
font-weight: 500;
}
@font-face {
font-family: "Noto Sans KR";
font-style: normal;
src: url("../fonts/NotoSansKR-Bold.otf") format("opentype");
src: url("../../../public/assets/fonts/NotoSansKR-Bold.ttf")
format("truetype");
font-weight: 600;
}
@@ -72,6 +76,7 @@
width: 100%;
padding: 14px 0;
margin: 0 auto;
font-family: "Noto Sans KR", sans-serif;
font-size: 14px;
font-weight: 500;
background: #ffffff;