File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import BottomSection from '@/components/home/BottomSection' ;
2- import Card from '@/components/home/Card' ;
32import GraphSection from '@/components/home/GraphSection' ;
43import HeaderSection from '@/components/home/HeaderSection' ;
54import ProfileSection from '@/components/home/ProfileSection' ;
5+ import ButtonSection from '@/components/home/ButtonSection' ;
66
77const Page = ( ) => {
88 return (
@@ -21,6 +21,7 @@ const Page = () => {
2121
2222 { /* 3. ButtonSection */ }
2323 { /* 버튼 두개 만드쇼 */ }
24+ < ButtonSection />
2425 </ div >
2526 ) ;
2627} ;
Original file line number Diff line number Diff line change 1+ const ButtonSection = ( ) => {
2+ return (
3+ < div className = "flex w-full max-w-5xl gap-6" >
4+ < button
5+ type = "button"
6+ className = "bg-primary flex-1 rounded-xl py-4 text-center text-base font-semibold text-white shadow-sm transition hover:bg-violet-500 active:bg-violet-700 disabled:cursor-not-allowed disabled:opacity-60"
7+ >
8+ 새 TIL 작성
9+ </ button >
10+
11+ < button
12+ type = "button"
13+ className = "flex-1 rounded-xl border border-slate-300 bg-none py-4 text-center text-base font-semibold text-slate-700 transition hover:bg-slate-200 active:bg-slate-300 disabled:cursor-not-allowed disabled:opacity-60"
14+ >
15+ 계획 추가하기
16+ </ button >
17+ </ div >
18+ ) ;
19+ } ;
20+
21+ export default ButtonSection ;
Original file line number Diff line number Diff line change @@ -17,17 +17,17 @@ const ProfileSection = ({ className }: ProfileSectionProps) => {
1717 < h3 className = "text-xl font-bold text-gray-900" > 이건무</ h3 >
1818 < p className = "text-sm text-gray-500" > @mnmnnmm324</ p >
1919 < div className = "mt-1 flex gap-2 text-xs font-medium" >
20- < span className = "text-purple-600 " > 38193일 연속 </ span >
20+ < span className = "text-primary " > 38193일 </ span > 연속
2121 < span className = "text-gray-400" > |</ span >
22- < span className = "text-gray-600 " > 12개 TIL </ span >
22+ < span className = "text-primary " > 12개 </ span > TIL
2323 </ div >
2424 </ div >
2525 </ Card >
2626 </ div >
2727
2828 < div className = "md:col-span-1" >
2929 < Card className = "flex h-full flex-col items-center justify-center text-center" >
30- < div className = "mb-1 text-4xl font-bold text-purple-600 " > 3/5</ div >
30+ < div className = "text-primary mb-1 text-4xl font-bold" > 3/5</ div >
3131 < div className = "text-sm font-medium text-gray-500" >
3232 오늘의 목표 달성률
3333 </ div >
You can’t perform that action at this time.
0 commit comments