-
Notifications
You must be signed in to change notification settings - Fork 4
✨ Feat: Footer 컴포넌트 구현 #24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,45 @@ | ||
| import { Container } from '@/components/layout'; | ||
| import { Icon } from '@/components/ui'; | ||
| import Link from 'next/link'; | ||
|
|
||
| const Footer = () => { | ||
| return ( | ||
| <footer> | ||
| <Container className='max-w-full bg-gray-100'> | ||
| <div className='mx-auto flex flex-wrap justify-between gap-10 px-5 py-8 desktop:w-[964px]'> | ||
| <div className='order-3 flex-grow text-caption font-normal text-gray-500 tablet:order-1 tablet:flex-grow-0 tablet:text-body-m'> | ||
| ©codeit - 2023 | ||
| </div> | ||
| <div className='order-1 flex gap-[30px] font-normal text-gray-500'> | ||
| <Link href={'/'} className='text-body-s hover:text-gray-300 tablet:text-body-m'> | ||
| Privacy Policy | ||
| </Link> | ||
| <Link href={'/'} className='text-body-s hover:text-gray-300 tablet:text-body-m'> | ||
| FAQ | ||
| </Link> | ||
| </div> | ||
|
|
||
| <ul className='order-2 flex gap-[10px]'> | ||
| <li className='hover:-translate-y-1'> | ||
| <Link href='https://mail.google.com/' target='_blank'> | ||
| <Icon iconName='envelope' ariaLabel='메일' className='bg-gray-400' /> | ||
| </Link> | ||
| </li> | ||
| <li className='hover:-translate-y-1'> | ||
| <Link href='https://www.facebook.com/' target='_blank'> | ||
| <Icon iconName='facebook' ariaLabel='페이스북' className='bg-gray-400' /> | ||
| </Link> | ||
| </li> | ||
| <li className='hover:-translate-y-1'> | ||
| <Link href='https://www.instagram.com/' target='_blank'> | ||
| <Icon iconName='instagram' ariaLabel='인스타그램' className='bg-gray-400' /> | ||
| </Link> | ||
| </li> | ||
| </ul> | ||
| </div> | ||
| </Container> | ||
| </footer> | ||
| ); | ||
| }; | ||
|
|
||
| export default Footer; |
Empty file.
This file contains hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
하나더 알려드리자면 text-heading-l 만 선언해도 반응형으로 만들어졌기 때문에 640 이하에서는 20px , 640 이상에서는 28로 보여지게 됩니다 :) global.css 참고해보시면 좋을것 같습니다~!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
아 그러네요! 꼼꼼히 읽어보겠습니다ㅠ 이 부분도 다시 수정해 놓을게요~!