-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
191 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,76 +1,97 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
@tailwind components; | ||
@tailwind utilities; | ||
|
||
@layer base { | ||
:root { | ||
--background: 0 0% 100%; | ||
--foreground: 222.2 84% 4.9%; | ||
@layer base { | ||
:root { | ||
--background: 0 0% 100%; | ||
--foreground: 222.2 84% 4.9%; | ||
|
||
--card: 0 0% 100%; | ||
--card-foreground: 222.2 84% 4.9%; | ||
--card: 0 0% 100%; | ||
--card-foreground: 222.2 84% 4.9%; | ||
|
||
--popover: 0 0% 100%; | ||
--popover-foreground: 222.2 84% 4.9%; | ||
--popover: 0 0% 100%; | ||
--popover-foreground: 222.2 84% 4.9%; | ||
|
||
--primary: 222.2 47.4% 11.2%; | ||
--primary-foreground: 210 40% 98%; | ||
--primary: 222.2 47.4% 11.2%; | ||
--primary-foreground: 210 40% 98%; | ||
|
||
--secondary: 210 40% 96.1%; | ||
--secondary-foreground: 222.2 47.4% 11.2%; | ||
--secondary: 210 40% 96.1%; | ||
--secondary-foreground: 222.2 47.4% 11.2%; | ||
|
||
--muted: 210 40% 96.1%; | ||
--muted-foreground: 215.4 16.3% 46.9%; | ||
--muted: 210 40% 96.1%; | ||
--muted-foreground: 215.4 16.3% 46.9%; | ||
|
||
--accent: 210 40% 96.1%; | ||
--accent-foreground: 222.2 47.4% 11.2%; | ||
--accent: 210 40% 96.1%; | ||
--accent-foreground: 222.2 47.4% 11.2%; | ||
|
||
--destructive: 0 84.2% 60.2%; | ||
--destructive-foreground: 210 40% 98%; | ||
--destructive: 0 84.2% 60.2%; | ||
--destructive-foreground: 210 40% 98%; | ||
|
||
--border: 214.3 31.8% 91.4%; | ||
--input: 214.3 31.8% 91.4%; | ||
--ring: 222.2 84% 4.9%; | ||
--border: 214.3 31.8% 91.4%; | ||
--input: 214.3 31.8% 91.4%; | ||
--ring: 222.2 84% 4.9%; | ||
|
||
--radius: 0.5rem; | ||
} | ||
--radius: 0.5rem; | ||
} | ||
|
||
.dark { | ||
--background: 222.2 84% 4.9%; | ||
--foreground: 210 40% 98%; | ||
|
||
.dark { | ||
--background: 222.2 84% 4.9%; | ||
--foreground: 210 40% 98%; | ||
--card: 222.2 84% 4.9%; | ||
--card-foreground: 210 40% 98%; | ||
|
||
--card: 222.2 84% 4.9%; | ||
--card-foreground: 210 40% 98%; | ||
--popover: 222.2 84% 4.9%; | ||
--popover-foreground: 210 40% 98%; | ||
|
||
--popover: 222.2 84% 4.9%; | ||
--popover-foreground: 210 40% 98%; | ||
--primary: 210 40% 98%; | ||
--primary-foreground: 222.2 47.4% 11.2%; | ||
|
||
--primary: 210 40% 98%; | ||
--primary-foreground: 222.2 47.4% 11.2%; | ||
--secondary: 217.2 32.6% 17.5%; | ||
--secondary-foreground: 210 40% 98%; | ||
|
||
--secondary: 217.2 32.6% 17.5%; | ||
--secondary-foreground: 210 40% 98%; | ||
--muted: 217.2 32.6% 17.5%; | ||
--muted-foreground: 215 20.2% 65.1%; | ||
|
||
--muted: 217.2 32.6% 17.5%; | ||
--muted-foreground: 215 20.2% 65.1%; | ||
--accent: 217.2 32.6% 17.5%; | ||
--accent-foreground: 210 40% 98%; | ||
|
||
--accent: 217.2 32.6% 17.5%; | ||
--accent-foreground: 210 40% 98%; | ||
--destructive: 0 62.8% 30.6%; | ||
--destructive-foreground: 210 40% 98%; | ||
|
||
--destructive: 0 62.8% 30.6%; | ||
--destructive-foreground: 210 40% 98%; | ||
--border: 217.2 32.6% 17.5%; | ||
--input: 217.2 32.6% 17.5%; | ||
--ring: 212.7 26.8% 83.9%; | ||
} | ||
} | ||
|
||
--border: 217.2 32.6% 17.5%; | ||
--input: 217.2 32.6% 17.5%; | ||
--ring: 212.7 26.8% 83.9%; | ||
} | ||
@layer base { | ||
* { | ||
@apply border-border; | ||
} | ||
body { | ||
@apply bg-background text-foreground; | ||
} | ||
} | ||
|
||
html { | ||
scrollbar-width: none; | ||
} | ||
|
||
html::-webkit-scrollbar { | ||
display: none; | ||
} | ||
|
||
/* 스크롤바 숨기기 */ | ||
.no-scrollbar { | ||
max-height: 75svh; | ||
overflow: scroll; | ||
scrollbar-width: none; /* Firefox */ | ||
|
||
/* Chrome, Safari */ | ||
} | ||
|
||
@layer base { | ||
* { | ||
@apply border-border; | ||
} | ||
body { | ||
@apply bg-background text-foreground; | ||
} | ||
} | ||
.no-scrollbar::-webkit-scrollbar { | ||
display: none; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,24 +13,72 @@ import { | |
import { Button } from '@/components/ui/button'; | ||
|
||
const IntroduceModal = () => { | ||
const { isOpen, onClose } = useModal(); | ||
const { isOpen, onClose, type } = useModal(); | ||
|
||
if (!isOpen) { | ||
if (!isOpen || type !== 'Intro') { | ||
return null; | ||
} | ||
|
||
return ( | ||
<Dialog open={isOpen}> | ||
<DialogContent> | ||
<DialogHeader> | ||
<DialogTitle>Are you absolutely sure?</DialogTitle> | ||
<DialogContent className="no-scrollbar"> | ||
<DialogHeader className="flex flex-col items-center justify-center"> | ||
<DialogTitle>🎅스노우볼 속 내 마음🎅</DialogTitle> | ||
<DialogDescription> | ||
This action cannot be undone. This will permanently delete your | ||
account and remove your data from our servers. | ||
📌스노우볼은 최대 5️⃣개까지 생성 가능해요👍 | ||
<br /> | ||
📌한 스노우볼에 편지는 최대 30개까지 담겨요💌 | ||
</DialogDescription> | ||
</DialogHeader> | ||
<section> | ||
<p>👆스노우볼 클릭</p> | ||
<p> | ||
🔺확대한 스노우볼에서는 받은 편지들을 장식으로 확인할 수 있어요🎁 | ||
</p> | ||
<p>🔺장식 클릭으로 편지를 확인할 수 있어요👀</p> | ||
<p> | ||
🔺스노우볼을 다시 작게 보고 싶을 때는 왼쪽 위 < 표시를 | ||
눌러주세요🎄 | ||
</p> | ||
</section> | ||
|
||
<section> | ||
<p>🔒비공개 스노우볼 설정</p> | ||
<p> | ||
🔺로그인 후 자물쇠를 눌러서 스노우볼의 공개 여부를 설정할 수 | ||
있어요🔓 | ||
</p> | ||
<p> | ||
🔺비공개 스노우볼의 경우 스노우볼의 주인만 편지들을 열람할 수 | ||
있어요📮 | ||
</p> | ||
<p>🔺생성한 스노우볼별로 비공개 설정이 가능해요🔮</p> | ||
</section> | ||
|
||
<section> | ||
<p>❗아직 확인하지 않은 편지</p> | ||
<p>안 읽은 편지들을 확인할 수 있어요☃️</p> | ||
</section> | ||
|
||
<section> | ||
<p>🎉편지 AI 감정분석</p> | ||
<p>눈과 함께 편지의 감정들이 떨어져요❄️</p> | ||
<p>감정의 크기에 따라 사이즈가 달라요💫</p> | ||
<p>❤️긍정의 감정이 가득해요😊</p> | ||
<p>⭐온화한 감정으로 작성됐어요😌</p> | ||
<p>💧슬픈 내용이 들어있어요😢</p> | ||
</section> | ||
|
||
<section className="flex flex-col items-center"> | ||
<p>🚨버그 및 신고는</p> | ||
<p>[email protected]</p> | ||
<p>로 부탁드립니다🙇</p> | ||
</section> | ||
|
||
<DialogFooter> | ||
<Button onClick={() => onClose()}>Cancel</Button> | ||
<Button className="w-full" onClick={() => onClose()}> | ||
Close | ||
</Button> | ||
</DialogFooter> | ||
</DialogContent> | ||
</Dialog> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters