-
Notifications
You must be signed in to change notification settings - Fork 0
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
google_clone KDT5_beakjiuk #81
Open
beakjiuk
wants to merge
1
commit into
KDT1-FE:KDT5-beakjiuk
Choose a base branch
from
beakjiuk:KDT5_beakjiuk
base: KDT5-beakjiuk
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
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 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,45 +1,6 @@ | ||
# ๐ ์์ ์ด ์ํ๋ ์ฌ์ดํธ ๋ ์ด์์ ํด๋ก | ||
# google-page-clone Website ๐ | ||
|
||
์ํ๋ ์ฌ์ดํธ(ํ์ด์ง)๋ฅผ ์์ ๋กญ๊ฒ ์ ํํ๊ณ ๋ ์ด์์์ ํด๋ก ์ฝ๋ฉํ์ธ์. | ||
ํ์์ ๋์ ํด ๋ณด๊ณ ์ถ์๊ฑฐ๋ ํน์ ์์ ์ ์์ค์ ๋ง๋ ์ฌ์ดํธ(ํ์ด์ง)๋ฅผ ์ ํํ์ธ์. | ||
๊ณผ์ ์ํ ๋ฐ ๋ฆฌ๋ทฐ ๊ธฐ๊ฐ์ ๋ณ๋ ๊ณต์ง๋ฅผ ์ฐธ๊ณ ํ์ธ์! | ||
|
||
## ๊ณผ์ ์ํ ๋ฐ ์ ์ถ ๋ฐฉ๋ฒ | ||
|
||
1. ํ์ฌ ์ ์ฅ์๋ฅผ ๋ก์ปฌ์ ํด๋ก (Clone)ํฉ๋๋ค. | ||
1. ์์ ์ ๋ณธ๋ช ์ผ๋ก ๋ธ๋์น๋ฅผ ์์ฑํฉ๋๋ค.(๊ตฌ๋ถ ๊ฐ๋ฅํ๋๋ก ๋ณธ๋ช ์ ๊ผญ ํ์ค์นผ์ผ์ด์ค๋ก ํ์ํ์ธ์, `git branch KDT0_ParkYoungWoong`) | ||
1. ์์ ์ ๋ณธ๋ช ๋ธ๋์น์์ ๊ณผ์ ๋ฅผ ์ํํฉ๋๋ค. | ||
1. ๊ณผ์ ์ํ์ด ์๋ฃ๋๋ฉด, ์์ ์ ๋ณธ๋ช ๋ธ๋์น๋ฅผ ์๊ฒฉ ์ ์ฅ์์ ํธ์(Push)ํฉ๋๋ค.(`main` ๋ธ๋์น์ ํธ์ํ์ง ์๋๋ก ๊ผญ ์ฃผ์ํ์ธ์, `git push origin KDT0_ParkYoungWoong`) | ||
1. ์ ์ฅ์์์ `main` ๋ธ๋์น๋ฅผ ๋์์ผ๋ก Pull Request ์์ฑํ๋ฉด, ๊ณผ์ ์ ์ถ์ด ์๋ฃ๋ฉ๋๋ค!(E.g, `main` <== `KDT0_ParkYoungWoong`) | ||
|
||
- `main` ํน์ ๋ค๋ฅธ ์ฌ๋์ ๋ธ๋์น๋ก ์ ๋ ๋ณํฉํ์ง ์๋๋ก ์ฃผ์ํ์ธ์! | ||
- Pull Request์์ ๋ณด์ด๋ ์ค๋ช ์ ๋ค๋ฅธ ์ฌ๋๋ค์ด ์ดํดํ๊ธฐ ์ฝ๋๋ก ๊ผผ๊ผผํ๊ฒ ์์ฑํ์ธ์! | ||
- Pull Request์์ ๊ณผ์ ์ ์ถ ํ ์ ๋ ๋ณํฉ(Merge)ํ์ง ์๋๋ก ์ฃผ์ํ์ธ์! | ||
- ๊ณผ์ ์ํ ๋ฐ ์ ์ถ ๊ณผ์ ์์ ๋ฌธ์ ๊ฐ ๋ฐ์ํ ๊ฒฝ์ฐ, ๋ฐ๋ก ๋ด๋น ๋ฉํ ๋ ๊ฐ์ฌ์์ ์๊ธฐํ์ธ์! | ||
|
||
## ํ์ ์๊ตฌ์ฌํญ | ||
|
||
- [ ] ๊ณผ์ ์ ๋ํ ์ค๋ช ์ ํฌํจํ `README.md` ํ์ผ์ ์ ๊ณตํ์ธ์! | ||
- [ ] ๊ณผ์ ๊ฒฐ๊ณผ์ ๋น๊ตํ ์ ์๋ ์ค์ ์ฌ์ดํธ(ํ์ด์ง)์ ์ฃผ์๋ฅผ ๋ช ์ํ์ธ์! | ||
- [ ] ๊ณผ์ ์์ ์ฌ์ฉํ ํ๋ก์ ํธ ํด๋/ํ์ผ์ด ๋ชจ๋ ํฌํจ๋ผ์ผ ํฉ๋๋ค, ์ผ๋ถ ํ์ผ๋ง ์ ์ถํ์ง ๋ง์ธ์! | ||
- [ ] ์ค์ ์๋น์ค๋ก ๋ฐฐํฌํ๊ณ ์ ๊ทผ ๊ฐ๋ฅํ ๋งํฌ๋ฅผ ์ถ๊ฐํด์ผ ํฉ๋๋ค. | ||
|
||
## ์ ํ ์๊ตฌ์ฌํญ | ||
|
||
- [ ] `<header>`, `<section>` ๋ฑ ์๋ฉํฑ ํ๊ทธ๋ฅผ ์ต๋ํ ํ์ฉํด๋ณด์ธ์. | ||
- [ ] ์ค์ ์ฌ์ดํธ์ ๋ ๊ฑฐ์ ์ฝ๋ ํ์ฉ๋ณด๋จ ์ต์ ์ CSS Flex ํน์ Grid ๋ฑ์ ํ์ฉํด๋ณด์ธ์. | ||
- [ ] ๋ถ๋ถ์ ์ผ๋ก BEM ๋ฐฉ๋ฒ๋ก ์ ๋์ ํด๋ณด์ธ์. | ||
- [ ] JS๊ฐ ํ์ํ ๋ถ๋ถ์ ๋๋๋ก ์๋ตํ๋ ์ด์ ๋ฅผ ๋ช ์ํด๋ณด์ธ์.(CSS๋ก ๋์ฒด ๊ฐ๋ฅํ์ง ํผ๋๋ฐฑ์ด ์์ ์ ์๊ฒ ์ฃ ?!) | ||
- [ ] JS๊ฐ ํ์ํ ๋ถ๋ถ ์ค ๊ตฌํํ ๋ถ๋ถ์ด ์๋ค๋ฉด ์์ ๋กญ๊ฒ ๊ตฌํํด๋ณด์ธ์.(JS ๊ณผ์ ๊ฐ ์๋๋๊น ๊ฐ๋ณ๊ฒ ๊ตฌํํ์๊ธธ ์ถ์ฒํด์) | ||
- [ ] SCSS ๋ฑ์ CSS ์ ์ฒ๋ฆฌ๋๊ตฌ๋ฅผ ๋์ ํด๋ณด์ธ์. | ||
- [ ] SCSS ์ปดํ์ผ์ Webpack์ด๋ Parcel ๊ฐ์ ๋ฒ๋ค๋ฌ๋ฅผ ํ์ฉํด๋ณด์ธ์. | ||
|
||
## ์์ฌ์ด ์ด๋ฏธ์ง ์ถ์ถ ๋ฐฉ๋ฒ | ||
|
||
์ฌ์ดํธ ํด๋ก ์ ํ์ํ ์ด๋ฏธ์ง๋ฅผ ์ข ๋ ์ฝ๊ฒ ์ถ์ถํ๊ธฐ ์ํด์ Chrome ํ์ฅ ํ๋ก๊ทธ๋จ์ธ [Image Downloader](https://chrome.google.com/webstore/detail/image-downloader/cnpniohnfphhjihaiiggeabnkjhpaldj?hl=ko)๋ฅผ ์ฌ์ฉํ์ธ์. | ||
|
||
1. ์ํ๋ ์ฌ์ดํธ ์ ์ | ||
1. Image Downloader ํ์ฅ ํ๋ก๊ทธ๋จ ์คํ | ||
1. ๋ค์ด๋ก๋ ์ํ๋ ์ด๋ฏธ์ง ์ ํ | ||
1. ์๋ธ ํด๋ ์ด๋ฆ(Save to subfolder) ๋ช ์ | ||
1. ๋ค์ด๋ก๋! | ||
- ๊ฐ์ธ์ผ๋ก ํ์ด์ง๋ก ๋ง๋๋๊ฑด ์ข ์๋๊ฑฐ๊ฐ์์ ๊ธํ๊ฒ ๊ตฌ๊ธ๋ฉ์ธํ์ด์ง ํด๋ก ์ฝ๋ฉ | ||
- ๋คํฌ๋ชจ๋ ๊ตฌํํ๋ค๊ฐ ์คํจ.... ํด๋ฆญ์ด๋ฒคํธ ์ ์ฉํ ๋ ค๋ค๊ฐ ์๊ฐ์์ด์ ์ ์ถ... | ||
- ๊ฒ์์ฐฝ์ ๋๋ณด๊ธฐ ๋ชจ์ ์์ด์ฝ ๋ค๋ถํฐ ํ์ดํ ๊ฐ๋ฅํจ | ||
- ๊ฒ์์ฐฝ์ ๋ง์ฐ์ค ํฌ์ธํ , ํฌ์ปค์ค ํ์ ๋ ๊ฒ์์ฐฝ ์ฃผ๋ณ์ ๊ทธ๋ฆผ์ ํจ๊ณผ ํธ๋ฒ, ํฌ์ปค์ค ์ฌ์ฉ |
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,59 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Google</title> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.7.0/css/all.min.css"> | ||
<link rel="stylesheet" href="style.css"> | ||
</head> | ||
|
||
<body> | ||
<!-- ์ค๋ฅธ์ชฝ ์๋จ๋ถ์ --> | ||
<header> | ||
<ul> | ||
<li><a href="https://mail.google.com/">Gmail</a></li> | ||
<li><a href="https://www.google.co.kr/imghp?hl=ko&ogbl">์ด๋ฏธ์ง</a></li> | ||
<li><button class="google-app"><i class="fas fa-th"></i></button></li> | ||
<li><button><img class="profile-image" src="images/profile.jpeg"></button></li> | ||
</ul> | ||
</header> | ||
<!-- ๋ก๊ณ , ๊ฒ์๋ฐ, Google ๊ฒ์, ํ๋ก๊ทธ๋๋จธ์ค ์ฝํ ์ฐ์ต --> | ||
<section class="middle"> | ||
<div class="google-logo"> | ||
<img class="logo-image" src="images/logo.png"> | ||
</div> | ||
<div class="search-box"> | ||
<span class="search-icon"><i class="fas fa-search"></i></span> | ||
<span class="keyboard-icon"><i class="far fa-keyboard"></i></span> | ||
<span class="microphone-icon"><i class="fas fa-microphone"></i></span> | ||
<input class="search-bar" type="text"> | ||
</div> | ||
<div class="additional-box"> | ||
<a href="#" class="additional-search">Google ๊ฒ์</a> | ||
<a href="https://school.programmers.co.kr/learn/challenges?order=acceptance_desc&levels=0&languages=javascript&partIds=33882" | ||
class="additional-lucky">ํ๋ก๊ทธ๋๋จธ์ค ์ฝํ ์ฐ์ต</a> | ||
</div> | ||
</section> | ||
<!-- ํ๋จ ๊ตญ๊ฐ, ์ฝ๊ด, ์ค์ ๋ฑ --> | ||
<footer> | ||
<div class="country-info">๋ํ๋ฏผ๊ตญ</div> | ||
<div class="instruction"> | ||
<ul> | ||
<li class="left-side"> | ||
<a href="#">Google ์ ๋ณด</a> | ||
<a href="#">๊ด๊ณ </a> | ||
<a href="#">๋น์ฆ๋์ค</a> | ||
<a href="#">๊ฒ์์ ์๋ฆฌ</a> | ||
</li> | ||
<li class="right-side"> | ||
<a href="#">๊ฐ์ธ์ ๋ณด์ฒ๋ฆฌ๋ฐฉ์นจ</a> | ||
<a href="#">์ฝ๊ด</a> | ||
<a href="#">์ค์ </a> | ||
</li> | ||
</ul> | ||
</div> | ||
</footer> | ||
</body> | ||
|
||
</html> |
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,244 @@ | ||
body { | ||
margin: 0; | ||
} | ||
|
||
header { | ||
width: 100%; | ||
height: 58px; | ||
} | ||
|
||
header ul { | ||
position: absolute; | ||
top: 0; | ||
right: 0; | ||
margin: 0; | ||
display: flex; | ||
align-items: center; | ||
list-style: none; | ||
} | ||
|
||
header a { | ||
text-decoration: none; | ||
color: black; | ||
font-size: 13px; | ||
margin: 10px; | ||
} | ||
|
||
header a:hover { | ||
text-decoration: underline; | ||
} | ||
|
||
header button { | ||
border: 0; | ||
background-color: transparent; | ||
margin-top: 10px; | ||
} | ||
|
||
header .google-app { | ||
font-size: 17px; | ||
color: rgb(95, 99, 104); | ||
/* ์์ด์ฝ์ ์ */ | ||
padding: 10px 11px; | ||
/* hover์์ ๋ท๋ฐฐ๊ฒฝ ์ฌ์ด์ฆ, ๊ฐ๋ก ์ธ๋ก ๋น์จ ๋ง์ถ๋ ค๊ณ 10, 11 */ | ||
border-radius: 50%; | ||
/* hover์์ ๋ท๋ฐฐ๊ฒฝ ์ ์ค์ */ | ||
} | ||
|
||
header .profile-image { | ||
border-radius: 50%; | ||
width: 35px; | ||
padding: 4px; | ||
/* hover์์ ๋ท๋ฐฐ๊ฒฝ ์ฌ์ด์ฆ */ | ||
margin-right: 10px; | ||
} | ||
|
||
header .google-app:hover { | ||
background-color: rgb(240, 240, 240); | ||
} | ||
|
||
header .profile-image:hover { | ||
background-color: rgb(240, 240, 240); | ||
} | ||
|
||
.middle .logo-image { | ||
width: 273px; | ||
height: auto; | ||
margin: 200px 65px 24px; | ||
/* logo-image, search-bar ์ฌ์ด ๊ฐ๊ฒฉ 24px */ | ||
} | ||
|
||
.middle .google-logo { | ||
max-width: 400px; | ||
/* ํ๋ฉด ํฌ๊ธฐ 400px๋๋ฉด ๋๋ ค๋์จ๋ค. */ | ||
margin: auto; | ||
} | ||
|
||
.middle .search-box { | ||
max-width: 580px; | ||
/* ํ๋ฉด ํฌ๊ธฐ ์์์ง๋ฉด ๊ฐ์ด ์์์ง๋ ๊ธฐ๋ฅ ๊ตฌํ ํ์ */ | ||
margin: auto; | ||
} | ||
|
||
.middle .search-bar { | ||
width: 390px; | ||
height: 44px; | ||
border-radius: 30px; | ||
border: 1px solid rgb(225, 225, 226); | ||
outline: none; | ||
padding: 0 140px 0 48px; | ||
font-size: 16px; | ||
} | ||
|
||
.middle .search-bar:hover { | ||
box-shadow: 0 0 5px 1px rgb(225, 225, 226); | ||
} | ||
|
||
.middle .search-bar:focus { | ||
box-shadow: 0 0 5px 1px rgb(225, 225, 226); | ||
} | ||
|
||
.middle .search-icon { | ||
position: absolute; | ||
margin: 13px 17px; | ||
color: rgb(154, 160, 166); | ||
font-size: 14px; | ||
} | ||
|
||
.middle .keyboard-icon { | ||
position: absolute; | ||
margin: 13px 505px; | ||
font-size: 16px; | ||
color: rgb(137, 136, 136); | ||
} | ||
|
||
.middle .microphone-icon { | ||
position: absolute; | ||
margin: 10px 545px; | ||
font-size: 18px; | ||
color: rgb(62, 128, 234); | ||
} | ||
|
||
.middle .clear-btn { | ||
visibility: hidden; | ||
border: 0; | ||
border-right: 1px solid rgb(137, 136, 136); | ||
padding-right: 17px; | ||
background-color: transparent; | ||
position: absolute; | ||
margin: 12px 450px; | ||
font-size: 20px; | ||
color: rgb(123, 123, 123); | ||
} | ||
|
||
.additional-box { | ||
max-width: 400px; | ||
margin: 33px auto; | ||
/* search-bar, additional-box ์ฌ์ด ๊ฐ๊ฒฉ 33px */ | ||
} | ||
|
||
.additional-box a { | ||
background-color: rgb(254, 254, 254); | ||
text-decoration: none; | ||
color: black; | ||
border-radius: 5%; | ||
padding: 9px 17px; | ||
/* additional-search, additional-lucky ํฌ๊ธฐ ์กฐ์ */ | ||
font-size: 14px; | ||
} | ||
|
||
.additional-box .additional-search { | ||
margin: auto 5px auto 65px; | ||
/* additional-search, additional-lucky ์ฌ์ด ๊ฐ๊ฒฉ ์กฐ์ , ์์น ์กฐ์ */ | ||
} | ||
|
||
.additional-box a:hover { | ||
border: 1px solid rgb(254, 254, 254); | ||
} | ||
|
||
footer { | ||
position: absolute; | ||
/* footer ํ๋จ ๊ณ ์ ์ ์ํด */ | ||
bottom: 0; | ||
left: 0; | ||
width: 100%; | ||
background-color: rgb(254, 254, 254); | ||
height: 100px; | ||
display: grid; | ||
/* country-info, instruction ๋๊ฐ์ ๋น์จ๋ก ๋๋๊ธฐ ์ํด grid ์ฌ์ฉ ํจ */ | ||
grid-template-rows: 1fr 1fr; | ||
} | ||
|
||
footer .country-info { | ||
margin: 15px 30px; | ||
color: rgb(138, 138, 138); | ||
font-size: 15px; | ||
} | ||
|
||
footer .instruction { | ||
border-top: 1px solid rgb(254, 254, 254); | ||
} | ||
|
||
footer .instruction li { | ||
list-style: none; | ||
} | ||
|
||
footer .instruction ul { | ||
display: flex; | ||
flex-wrap: wrap; | ||
/* ํ๋ฉด ํฌ๊ธฐ ์์์ง๋ฉด ๊ฒน์น๊ฒ ํ๊ธฐ ์ํด์ */ | ||
margin: 14px 0px; | ||
} | ||
|
||
footer .left-side { | ||
position: absolute; | ||
left: 33px; | ||
} | ||
|
||
footer .right-side { | ||
position: absolute; | ||
right: 10px; | ||
} | ||
|
||
footer .instruction a { | ||
margin-right: 25px; | ||
text-decoration: none; | ||
color: rgb(123, 123, 123); | ||
font-size: 14px; | ||
} | ||
|
||
footer .instruction a:hover { | ||
text-decoration: underline; | ||
} | ||
|
||
@media(max-width:1200px) { | ||
footer .left-side { | ||
left: 190px; | ||
} | ||
|
||
footer .right-side { | ||
right: 135px; | ||
} | ||
} | ||
|
||
@media(max-width:640px) { | ||
footer { | ||
height: 130px; | ||
/* ์๋ footer ๋์ด ์ฆ๊ฐ */ | ||
grid-template-rows: 1fr 2fr; | ||
/* 1:2๋ก ์ค์ , instruction์ li๊ฐ ๊ฒน์น ์์์ */ | ||
} | ||
|
||
footer .left-side { | ||
position: static; | ||
/* absolute๋ฉด right-side๋ ์ ๊ฒน์ณ์ง.... flex-wrap์ ์ ์ฉํ๋ ค๊ณ */ | ||
margin: auto; | ||
/* 640px๋ณด๋ค ์์์ง๋ฉด ์์์ ๊ฐ์ด๋ฐ์ ์ด๋ */ | ||
} | ||
|
||
footer .right-side { | ||
position: static; | ||
/* absolute๋ฉด ์๋๋ก ์ ๊ฒน์ณ์ง... flex-wrap์ ์ ์ฉ */ | ||
margin: 10px auto auto; | ||
/* left-side ์๋ ๊ฐ๊ฒฉ์ฃผ๊ณ ๋๋จธ์ง margin์ auto์ค์ ์ผ๋ก ์์์ ๊ฐ์ด๋ฐ๋ก ์ด๋ */ | ||
} | ||
} |
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.
fas
far
ํด๋์ค๊ฐ ์ด๋ ํ ์๋ฏธ๋ฅผ ๊ฐ์ง๋์?