-
Notifications
You must be signed in to change notification settings - Fork 21
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
1 parent
a9f37e5
commit 41f70e7
Showing
8 changed files
with
78 additions
and
69 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import styled from "styled-components"; | ||
import Link from "next/link"; | ||
import { | ||
FlexRowCentered, | ||
StyledLink, | ||
} from "@/styles/CommonStyles"; | ||
|
||
const ItemContainer = styled(Link)``; | ||
|
||
const ArticleInfoDiv = styled(FlexRowCentered)` | ||
gap: 8px; | ||
color: var(--gray-600); | ||
font-size: 14px; | ||
`; | ||
|
||
const AddArticleLink = styled(StyledLink)``; | ||
|
||
export { ItemContainer, ArticleInfoDiv, AddArticleLink }; |
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
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,50 @@ | ||
import styled from "styled-components"; | ||
import Link from "next/link"; | ||
import { StyledLink } from "@/styles/CommonStyles"; | ||
|
||
const LoginLink = styled(StyledLink)``; | ||
|
||
const GlobalHeader = styled.header` | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
`; | ||
|
||
const HeaderLeft = styled.div` | ||
display: flex; | ||
align-items: center; | ||
`; | ||
|
||
const HeaderLogo = styled(Link)` | ||
margin-right: 16px; | ||
@media (min-width: 768px) { | ||
margin-right: 35px; | ||
} | ||
@media (min-width: 1280px) { | ||
margin-right: 47px; | ||
} | ||
`; | ||
|
||
const NavList = styled.ul` | ||
display: flex; | ||
list-style: none; | ||
gap: 8px; | ||
font-weight: bold; | ||
font-size: 16px; | ||
color: var(--gray-600); | ||
@media (min-width: 768px) { | ||
gap: 36px; | ||
font-size: 18px; | ||
} | ||
`; | ||
|
||
const NavItem = styled.li` | ||
a:hover { | ||
color: var(--blue); | ||
} | ||
`; | ||
|
||
export { LoginLink, GlobalHeader, HeaderLeft, HeaderLogo, NavList, NavItem }; |
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