-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Design/#202 메인 화면 디자인 변경
- Loading branch information
Showing
8 changed files
with
170 additions
and
83 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
37 changes: 37 additions & 0 deletions
37
src/components/Sidebar/ChannelCircle/MainChannelCircle.tsx
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,37 @@ | ||
import styled from '@emotion/styled'; | ||
import Image from 'next/image'; | ||
import { useRouter } from 'next/router'; | ||
|
||
const MainChannelCircle = () => { | ||
const router = useRouter(); | ||
|
||
return ( | ||
<ChannelBtn onClick={() => router.push('/')}> | ||
<Image src={'/img/logo/logo-circle.png'} width={58} height={38} alt='circle-logo' /> | ||
</ChannelBtn> | ||
); | ||
}; | ||
|
||
export default MainChannelCircle; | ||
|
||
const ChannelBtn = styled.button` | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
flex-direction: column; | ||
width: 8rem; | ||
height: 8rem; | ||
margin: 24px 0; | ||
border: 0; | ||
border-radius: 34px; | ||
cursor: pointer; | ||
font-size: 1.2rem; | ||
background-color: #ffffff; | ||
transition: border-radius 0.3s ease; | ||
&:hover { | ||
border-radius: 30%; | ||
} | ||
`; |
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,3 +1,9 @@ | ||
import styled from '@emotion/styled'; | ||
|
||
export default function Home() { | ||
return <div>Hello world!</div>; | ||
return <Main>LeagueHub의 공지사항입니다. 2023. 10. 29 패치노트</Main>; | ||
} | ||
|
||
const Main = styled.div` | ||
font-size: 2rem; | ||
`; |