-
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.
- Loading branch information
Showing
9 changed files
with
156 additions
and
9 deletions.
There are no files selected for viewing
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
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 React from "react"; | ||
import { Container } from "../styles/NavbarStyled"; | ||
import logo from "../image/bangpro_logo.png"; | ||
import { BsChatSquareHeartFill } from "react-icons/bs"; | ||
import { BsCollectionFill } from "react-icons/bs"; | ||
import { BsPersonFill } from "react-icons/bs"; | ||
|
||
const Navbar = () => { | ||
return ( | ||
<Container> | ||
<div className="logoBox"> | ||
<img src={logo} alt="logo" className="logo"></img> | ||
</div> | ||
<div className="navBox"> | ||
<div className="nav1"> | ||
<div> | ||
<BsChatSquareHeartFill /> | ||
</div> | ||
<p>테마 추천</p> | ||
</div> | ||
<div className="nav2"> | ||
<div> | ||
<BsCollectionFill /> | ||
</div> | ||
<p>테마 정보</p> | ||
</div> | ||
<div className="nav3"> | ||
<div> | ||
<BsPersonFill /> | ||
</div> | ||
<p>마이페이지</p> | ||
</div> | ||
</div> | ||
</Container> | ||
); | ||
}; | ||
export default Navbar; |
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,4 @@ | ||
declare module "*.png" { | ||
const value: string; | ||
export default value; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
body { | ||
margin: 0; | ||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', | ||
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', | ||
sans-serif; | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
margin: 0; | ||
margin-top: 10vh; | ||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", | ||
"Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", | ||
"Helvetica Neue", sans-serif; | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
} | ||
|
||
code { | ||
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', | ||
monospace; | ||
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", | ||
monospace; | ||
} |
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,4 +1,5 @@ | ||
import React from "react"; | ||
import Navbar from "../components/Navbar"; | ||
|
||
const MainPage = () => { | ||
return ( | ||
|
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,66 @@ | ||
import styled from "styled-components"; | ||
import { Link } from "react-router-dom"; | ||
|
||
export const Container = styled.div` | ||
width: 80vw; | ||
height: 10vh; | ||
padding: 0 10vw; | ||
position: fixed; | ||
top: 0; | ||
display: flex; | ||
justify-content: space-between; | ||
background-color: #080101; | ||
box-shadow: 0px 4px 50px rgba(255, 255, 255, 0.2); | ||
color: #3b3b3b; | ||
.logoBox { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
.logoBox > img { | ||
width: 6vw; | ||
} | ||
.navBox { | ||
width: 30vw; | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
} | ||
.navBox > div { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
.navBox > div > div { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
font-size: 1.4rem; | ||
margin-right: 0.7rem; | ||
} | ||
.navBox > div:hover { | ||
cursor: pointer; | ||
color: white; | ||
} | ||
`; | ||
|
||
export const StyledLink = styled(Link)` | ||
text-decoration: none; | ||
&:focus, | ||
&:hover, | ||
&:visited, | ||
&:link, | ||
&:active { | ||
text-decoration: none; | ||
} | ||
`; |