From 2f26f116ce715cd9c620d927cbaf3bab3eb4b9d3 Mon Sep 17 00:00:00 2001 From: study2895 <144806675+study2895@users.noreply.github.com> Date: Wed, 23 Oct 2024 16:17:41 +0900 Subject: [PATCH] =?UTF-8?q?Feat:=20Fonts=ED=8F=B4=EB=8D=94=EC=97=90=20Font?= =?UTF-8?q?s.css=20=EC=9E=91=EC=84=B1=20=EB=B0=8F=20=EB=A9=94=EC=9D=B8?= =?UTF-8?q?=ED=8E=98=EC=9D=B4=EC=A7=80=20=ED=8F=B0=ED=8A=B8=20uhbee?= =?UTF-8?q?=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fonts 추가 시 요 폴더에 추가해주시면 감사하겠습니다 !!!✨ --- src/assets/fonts/fonts.css | 8 ++++++++ src/main.js | 2 ++ src/views/mainpage/MainpageView.vue | 4 +++- tailwind.config.js | 3 ++- 4 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 src/assets/fonts/fonts.css diff --git a/src/assets/fonts/fonts.css b/src/assets/fonts/fonts.css new file mode 100644 index 0000000..318998f --- /dev/null +++ b/src/assets/fonts/fonts.css @@ -0,0 +1,8 @@ +/* src/assets/fonts.css */ +@font-face { + font-family: 'UhBeeSe_hyun'; + src: url('https://gcore.jsdelivr.net/gh/projectnoonnu/noonfonts_five@.2.0/UhBeeSe_hyun.woff') + format('woff'); + font-weight: normal; + font-style: normal; +} diff --git a/src/main.js b/src/main.js index f16b06b..2f8a672 100644 --- a/src/main.js +++ b/src/main.js @@ -7,6 +7,8 @@ import axios from 'axios' import './assets/styles/global.css' import 'tailwindcss/tailwind.css' import 'bootstrap/dist/css/bootstrap.min.css' +import './assets/fonts/fonts.css' + import VCalendar from 'v-calendar' // v-calendar를 불러오기 axios.defaults.withCredentials = true diff --git a/src/views/mainpage/MainpageView.vue b/src/views/mainpage/MainpageView.vue index 9063755..3f6368c 100644 --- a/src/views/mainpage/MainpageView.vue +++ b/src/views/mainpage/MainpageView.vue @@ -7,7 +7,9 @@
-

+

오늘도 우리 아코는 한 걸음씩!

diff --git a/tailwind.config.js b/tailwind.config.js index 8becf89..1894f5d 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -5,7 +5,8 @@ module.exports = { theme: { extend: { fontFamily: { - pretendard: ['Pretendard', 'sans-serif'] // Pretendard 폰트 추가 + pretendard: ['Pretendard', 'sans-serif'], // Pretendard 폰트 추가 + uhbeesehyun: ['UhBeeSe_hyun', 'sans-serif'] // UhBeeSe_hyun 폰트 추가 }, colors: { customBg: '#FFF9F2'