-
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.
* feat: code refactoring * Refac: MainNavigation refac * design: 로고 컨테스트 이미지 추가 * feat: navigation Logo 설정 * Design: Admin 로고 수정
- Loading branch information
Showing
19 changed files
with
404 additions
and
347 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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.
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.
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.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import CompanyLogo from '@gdg/assets/CompanyLogo.svg'; | ||
import GithubLogo from '@gdg/assets/GithubLogo.svg'; | ||
import InstagramLogo from '@gdg/assets/InstagramLogo.svg'; | ||
import Phone from '@gdg/assets/Phone.svg'; | ||
|
||
type FooterLink = { | ||
icon: string; | ||
title: string; | ||
content: string; | ||
href?: string; | ||
}; | ||
|
||
export const footerLinks: FooterLink[] = [ | ||
{ | ||
icon: Phone, | ||
title: '대표 연락처', | ||
content: '010-4922-7687', | ||
}, | ||
{ | ||
icon: GithubLogo, | ||
title: 'GDG KNU 팀 깃허브', | ||
content: 'Github 바로가기', | ||
href: 'https://github.com/GDG-on-Campus-KNU', | ||
}, | ||
{ | ||
icon: InstagramLogo, | ||
title: '인스타그램', | ||
content: '@gdgoc.knu 바로가기', | ||
href: 'https://www.instagram.com/gdgoc.knu/', | ||
}, | ||
{ | ||
icon: CompanyLogo, | ||
title: '협력사', | ||
content: '데이터융복합연구원 바로가기', | ||
href: 'https://datainstitute.knu.ac.kr/contents/main.do', | ||
}, | ||
]; |
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,97 @@ | ||
import styled from '@emotion/styled'; | ||
import { Link } from 'react-router-dom'; | ||
import { motion } from 'framer-motion'; | ||
|
||
import { displayCenter } from '@gdg/styles/LayoutStyle'; | ||
|
||
export type DropdownMenuProps = { | ||
isOpen: boolean; | ||
}; | ||
|
||
export const LinkText = styled(Link)` | ||
margin-top: 3px; | ||
`; | ||
|
||
export const Header = styled.div` | ||
z-index: 1000; | ||
position: fixed; | ||
top: 0; | ||
width: 100%; | ||
background-color: var(--color-navy); | ||
height: 45px; | ||
${displayCenter} | ||
`; | ||
|
||
export const DisplayHeader = styled.nav` | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
width: 100%; | ||
max-width: 1024px; | ||
height: 45px; | ||
background-color: var(--color-navy); | ||
`; | ||
|
||
export const Menu = styled.ul` | ||
list-style: none; | ||
display: flex; | ||
flex-direction: row; | ||
align-items: center; | ||
padding: 9px 0px; | ||
height: calc(100% - 18px); | ||
background-color: var(--color-navy); | ||
`; | ||
export const MenuList = styled.li` | ||
display: flex; | ||
flex-direction: row; | ||
-webkit-box-align: center; | ||
align-items: center; | ||
margin-right: 20px; | ||
position: relative; | ||
cursor: pointer; | ||
`; | ||
|
||
export const ImgList = styled.img` | ||
width: 20px; | ||
height: 20px; | ||
border-radius: 50%; | ||
margin-right: 10px; | ||
`; | ||
|
||
export const DropDownImg = styled.img` | ||
margin-left: 10px; | ||
cursor: pointer; | ||
`; | ||
|
||
export const DropdownMenu = styled(motion.ul)<DropdownMenuProps>` | ||
position: absolute; | ||
top: 160%; | ||
right: 0; | ||
background-color: var(--color-white); | ||
list-style: none; | ||
border-radius: 10px; | ||
width: 104px; | ||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); | ||
display: ${(props) => (props.isOpen ? 'block' : 'none')}; | ||
`; | ||
|
||
export const DropdownItem = styled.li` | ||
padding: 15px 10px 15px 10px; | ||
height: 12px; | ||
display: flex; | ||
justify-content: center; | ||
flex-direction: column; | ||
text-align: center; | ||
cursor: pointer; | ||
border-bottom: 1px solid var(--color-alto); | ||
&:hover { | ||
background-color: rgba(255, 255, 255, 0.1); | ||
} | ||
&:last-child { | ||
border-bottom: none; | ||
} | ||
`; |
Oops, something went wrong.