From c89bebb4c5f6204a05265563b484e24eff3623d8 Mon Sep 17 00:00:00 2001 From: SangHoon Lee <50488780+bbearcookie@users.noreply.github.com> Date: Tue, 23 Apr 2024 21:33:15 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=A6=20chore:=20=ED=8F=B0=ED=8A=B8=20pr?= =?UTF-8?q?eload=20=EC=A0=81=EC=9A=A9=20=EB=B0=8F=20robots.txt=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80=20(#307)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 📦 chore: 폰트 preload 적용 * 📦 chore: robots.txt 추가 --- index.html | 14 ++++++++++++++ public/robots.txt | 3 +++ src/main.css | 2 ++ 3 files changed, 19 insertions(+) create mode 100644 public/robots.txt diff --git a/index.html b/index.html index 61a3a7cb..1215fe2a 100644 --- a/index.html +++ b/index.html @@ -11,6 +11,20 @@ href="https://cdn.jsdelivr.net/gh/sun-typeface/SUIT/fonts/static/woff2/SUIT.css" rel="stylesheet" /> + + diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 00000000..b222e967 --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,3 @@ +User-agent: * +Allow: / +Disallow: /admin diff --git a/src/main.css b/src/main.css index c8634805..6c6a61e4 100644 --- a/src/main.css +++ b/src/main.css @@ -1,6 +1,7 @@ *, body { font-family: 'SUIT', sans-serif; + font-display: swap; } a { @@ -14,4 +15,5 @@ a { font-family: 'Jalnan OTF'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_four@1.2/JalnanOTF00.woff') format('woff'); + font-display: swap; }