-
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.
fix: fix static components (Navbar, Footer) being hydrated
- Loading branch information
Showing
15 changed files
with
393 additions
and
182 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
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 |
---|---|---|
|
@@ -40,6 +40,10 @@ body { | |
} | ||
} | ||
|
||
h1 { | ||
margin: 20px 0; | ||
} | ||
|
||
.divider { | ||
margin: 0 7px; | ||
} | ||
|
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
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 |
---|---|---|
@@ -0,0 +1,87 @@ | ||
main#my { | ||
display: flex; | ||
flex-direction: row; | ||
flex-wrap: center; | ||
align-content: center; | ||
justify-content: center; | ||
align-items: center; | ||
|
||
margin-top: 10px; | ||
|
||
aside { | ||
width: 220px; | ||
height: 300px; | ||
|
||
padding: 10px 0 0 10px; | ||
|
||
#hat { | ||
padding: 10px; | ||
|
||
border-top-right-radius: 5px; | ||
border-top-left-radius: 5px; | ||
|
||
background-color: #1D89FF; | ||
|
||
color: white; | ||
} | ||
|
||
#shoes { | ||
padding: 10px; | ||
|
||
height: 104%; | ||
|
||
border-bottom-right-radius: 5px; | ||
border-bottom-left-radius: 5px; | ||
|
||
background-color: #EEEEEE; | ||
|
||
ul { | ||
margin: 0px; | ||
padding: 0px; | ||
|
||
li { | ||
list-style: none; | ||
} | ||
} | ||
} | ||
} | ||
|
||
#content { | ||
width: 520px; | ||
height: 300px; | ||
|
||
padding: 10px 10px 0 0; | ||
|
||
#next-time { | ||
padding: 10px; | ||
margin-bottom: 10px; | ||
|
||
background-color: #B8E9FF; | ||
} | ||
|
||
#weather { | ||
padding: 10px; | ||
margin-top: 10px; | ||
|
||
height: 100%; | ||
|
||
background-color: #ccd4dd; | ||
text-align: center; | ||
|
||
#icon { | ||
display: flex; | ||
align-content: center; | ||
justify-content: center; | ||
align-items: center; | ||
|
||
> svg { | ||
margin: 10px 20px; | ||
} | ||
} | ||
|
||
#description { | ||
margin-top: 10px; | ||
} | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
'use client'; | ||
|
||
import { | ||
FaSun, FaCloudRain, FaSnowflake, | ||
FaCheckCircle | ||
} from 'react-icons/fa'; | ||
|
||
import "./page.css"; | ||
|
||
|
||
|
||
export default function MyPage() { | ||
return ( | ||
<main id="my"> | ||
<aside> | ||
<div id="hat"> | ||
<span>구독 중인 알림 <FaCheckCircle color="#5FA777"/></span> | ||
</div> | ||
<div id="shoes"> | ||
<ul> | ||
<li>학식 알림</li> | ||
<li>시간표 알림</li> | ||
</ul> | ||
</div> | ||
</aside> | ||
<div id="content"> | ||
<div id="next-time"> | ||
<span>다음 강의 : { "ChatGPT" }</span> | ||
</div> | ||
<div id="weather"> | ||
<div id="icon"> | ||
<FaCloudRain | ||
color="blue" | ||
size={60} | ||
/> | ||
<FaSun | ||
color="yellow" | ||
size={60} | ||
/> | ||
<FaSnowflake | ||
color="white" | ||
size={60} | ||
/> | ||
</div> | ||
<div id="description"> | ||
<span>오늘의 날씨는 아주 화창합니다.</span> | ||
</div> | ||
</div> | ||
</div> | ||
</main> | ||
); | ||
} |
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
Oops, something went wrong.