diff --git a/src/font/LINE_Seed_Sans_KR/OFL.txt b/src/font/LINE_Seed_Sans_KR/OFL.txt new file mode 100644 index 00000000..ba2594ab --- /dev/null +++ b/src/font/LINE_Seed_Sans_KR/OFL.txt @@ -0,0 +1,93 @@ +Copyright 2020-2022 LINE Corporation All Rights Reserved. + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/src/font/LINE_Seed_Sans_KR/OTF/LINESeedKR-Bd.otf b/src/font/LINE_Seed_Sans_KR/OTF/LINESeedKR-Bd.otf new file mode 100644 index 00000000..f2e04ffa Binary files /dev/null and b/src/font/LINE_Seed_Sans_KR/OTF/LINESeedKR-Bd.otf differ diff --git a/src/font/LINE_Seed_Sans_KR/OTF/LINESeedKR-Rg.otf b/src/font/LINE_Seed_Sans_KR/OTF/LINESeedKR-Rg.otf new file mode 100644 index 00000000..727339e7 Binary files /dev/null and b/src/font/LINE_Seed_Sans_KR/OTF/LINESeedKR-Rg.otf differ diff --git a/src/font/LINE_Seed_Sans_KR/OTF/LINESeedKR-Th.otf b/src/font/LINE_Seed_Sans_KR/OTF/LINESeedKR-Th.otf new file mode 100644 index 00000000..f88a8275 Binary files /dev/null and b/src/font/LINE_Seed_Sans_KR/OTF/LINESeedKR-Th.otf differ diff --git a/src/font/LINE_Seed_Sans_KR/TTF/LINESeedKR-Bd.ttf b/src/font/LINE_Seed_Sans_KR/TTF/LINESeedKR-Bd.ttf new file mode 100644 index 00000000..c0a0bfc7 Binary files /dev/null and b/src/font/LINE_Seed_Sans_KR/TTF/LINESeedKR-Bd.ttf differ diff --git a/src/font/LINE_Seed_Sans_KR/TTF/LINESeedKR-Rg.ttf b/src/font/LINE_Seed_Sans_KR/TTF/LINESeedKR-Rg.ttf new file mode 100644 index 00000000..623dbdc1 Binary files /dev/null and b/src/font/LINE_Seed_Sans_KR/TTF/LINESeedKR-Rg.ttf differ diff --git a/src/font/LINE_Seed_Sans_KR/TTF/LINESeedKR-Th.ttf b/src/font/LINE_Seed_Sans_KR/TTF/LINESeedKR-Th.ttf new file mode 100644 index 00000000..f4755ca2 Binary files /dev/null and b/src/font/LINE_Seed_Sans_KR/TTF/LINESeedKR-Th.ttf differ diff --git a/src/font/LINE_Seed_Sans_KR/Webfont/EOT/LINESeedKR-Bd.eot b/src/font/LINE_Seed_Sans_KR/Webfont/EOT/LINESeedKR-Bd.eot new file mode 100644 index 00000000..f66f5221 Binary files /dev/null and b/src/font/LINE_Seed_Sans_KR/Webfont/EOT/LINESeedKR-Bd.eot differ diff --git a/src/font/LINE_Seed_Sans_KR/Webfont/EOT/LINESeedKR-Rg.eot b/src/font/LINE_Seed_Sans_KR/Webfont/EOT/LINESeedKR-Rg.eot new file mode 100644 index 00000000..b93eccc5 Binary files /dev/null and b/src/font/LINE_Seed_Sans_KR/Webfont/EOT/LINESeedKR-Rg.eot differ diff --git a/src/font/LINE_Seed_Sans_KR/Webfont/EOT/LINESeedKR-Th.eot b/src/font/LINE_Seed_Sans_KR/Webfont/EOT/LINESeedKR-Th.eot new file mode 100644 index 00000000..17495351 Binary files /dev/null and b/src/font/LINE_Seed_Sans_KR/Webfont/EOT/LINESeedKR-Th.eot differ diff --git a/src/font/LINE_Seed_Sans_KR/Webfont/WOFF/LINESeedKR-Bd.woff b/src/font/LINE_Seed_Sans_KR/Webfont/WOFF/LINESeedKR-Bd.woff new file mode 100644 index 00000000..e7fda8cf Binary files /dev/null and b/src/font/LINE_Seed_Sans_KR/Webfont/WOFF/LINESeedKR-Bd.woff differ diff --git a/src/font/LINE_Seed_Sans_KR/Webfont/WOFF/LINESeedKR-Rg.woff b/src/font/LINE_Seed_Sans_KR/Webfont/WOFF/LINESeedKR-Rg.woff new file mode 100644 index 00000000..b50ee384 Binary files /dev/null and b/src/font/LINE_Seed_Sans_KR/Webfont/WOFF/LINESeedKR-Rg.woff differ diff --git a/src/font/LINE_Seed_Sans_KR/Webfont/WOFF/LINESeedKR-Th.woff b/src/font/LINE_Seed_Sans_KR/Webfont/WOFF/LINESeedKR-Th.woff new file mode 100644 index 00000000..935c3e33 Binary files /dev/null and b/src/font/LINE_Seed_Sans_KR/Webfont/WOFF/LINESeedKR-Th.woff differ diff --git a/src/font/LINE_Seed_Sans_KR/Webfont/WOFF2/LINESeedKR-Bd.woff2 b/src/font/LINE_Seed_Sans_KR/Webfont/WOFF2/LINESeedKR-Bd.woff2 new file mode 100644 index 00000000..f80e30f2 Binary files /dev/null and b/src/font/LINE_Seed_Sans_KR/Webfont/WOFF2/LINESeedKR-Bd.woff2 differ diff --git a/src/font/LINE_Seed_Sans_KR/Webfont/WOFF2/LINESeedKR-Rg.woff2 b/src/font/LINE_Seed_Sans_KR/Webfont/WOFF2/LINESeedKR-Rg.woff2 new file mode 100644 index 00000000..2f599234 Binary files /dev/null and b/src/font/LINE_Seed_Sans_KR/Webfont/WOFF2/LINESeedKR-Rg.woff2 differ diff --git a/src/font/LINE_Seed_Sans_KR/Webfont/WOFF2/LINESeedKR-Th.woff2 b/src/font/LINE_Seed_Sans_KR/Webfont/WOFF2/LINESeedKR-Th.woff2 new file mode 100644 index 00000000..9787e190 Binary files /dev/null and b/src/font/LINE_Seed_Sans_KR/Webfont/WOFF2/LINESeedKR-Th.woff2 differ diff --git a/src/initial/MainpageHost.css b/src/initial/MainpageHost.css index 81a7be18..15ec6559 100644 --- a/src/initial/MainpageHost.css +++ b/src/initial/MainpageHost.css @@ -59,12 +59,17 @@ left: 7%; } +@font-face { + font-family: "LINE Seed Sans"; /* 폰트 이름 지정 (임의의 이름으로 설정 가능) */ + src: url("../font/LINE_Seed_Sans_KR/Webfont/WOFF/LINESeedKR-Bd.woff") + format("woff"); /* 폰트 파일 경로 지정 */ +} .l6-2 { width: 250px; transform: rotate(90deg); color: #191919; text-align: center; - font-family: LINE Seed Sans; + font-family: 'LINE Seed Sans'; font-size: 28px; font-style: normal; font-weight: 700; @@ -164,7 +169,7 @@ } .Modal { - position: fixed; + position: flex; top: 50%; left: 44.5%; transform: translate(-50%, -50%); @@ -257,6 +262,9 @@ font-style: normal; font-weight: 500; line-height: 36px; + position: relative; + top:-13px; + left:10% } .l18-2 { diff --git a/src/initial/MainpageHost.js b/src/initial/MainpageHost.js index 39751ced..c22f84b7 100644 --- a/src/initial/MainpageHost.js +++ b/src/initial/MainpageHost.js @@ -140,7 +140,7 @@ function MainpageHost() { const handleSpring = () => { const resultDiv1 = document.getElementById("ifSpring"); setSeason("SPR 봄 ING"); - resultDiv1.style.left="24 %"; + resultDiv1.style.left="24%"; }; const handleSummer = () => { setSeason("SUM 여름 MER"); @@ -303,7 +303,25 @@ function MainpageHost() { return; } }, [stickerdata]); - + useEffect(() => { + const messageCircle = document.getElementById("ment") + if (Message=="") { + messageCircle.style.display = "none"; + } else { + messageCircle.style.display = "block"; + } + },[Message]) + useEffect(() =>{ + const makeProfile = document.getElementById("makeprofile") + if (Season=="") { + console.log(1); + makeProfile.style.display="block"; + } else { + makeProfile.style.display="none"; + } + },[Season]) + + return (
@@ -425,14 +443,17 @@ function MainpageHost() {
- Vector + Vector

{Season || ""}

@@ -586,18 +607,21 @@ function MainpageHost() {
*/}
- {/*
- - - - - - - - -
*/} +
+
+

+ 프로필이 아직 없다면 +

+
+
+

+ + 여기 + + 를 클릭하세요 +

+
+
{showFooter && (