-
Notifications
You must be signed in to change notification settings - Fork 39
[박다인] Sprint1 #5
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
addiescode-sj
merged 4 commits into
codeit-bootcamp-frontend:Basic-박다인
from
canofmato:Basic-박다인-sprint1
Apr 4, 2025
The head ref may contain hidden characters: "Basic-\uBC15\uB2E4\uC778-sprint1"
Merged
Changes from all commits
Commits
Show all changes
4 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
Binary file not shown.
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.
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 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,128 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="ko"> | ||
| <head> | ||
| <meta charset="utf-8"> | ||
| <title>판다마켓</title> | ||
| <link rel="stylesheet" href="style.css"> | ||
| </head> | ||
| <body> | ||
| <container> | ||
| <header> | ||
| <div class="header-contents"> | ||
| <div class="logo"> | ||
| <img src="images/panda_logo.png"> | ||
| <a href="/">판다마켓</a> | ||
| </div> | ||
| <a class="login" href="/login">로그인</a> | ||
| </div> | ||
| </header> | ||
| <main> | ||
| <div class="branding"> | ||
| <div class="branding-contents"> | ||
| <div class="description"> | ||
| <h1> | ||
| 일상의 모든 물건을<br> | ||
| 거래해 보세요 | ||
| </h1> | ||
| <a class="looking" href="/items">구경하러 가기</a> | ||
| </div> | ||
| <img src="images/home_top.png" alt="인사하고 있는 판다"> | ||
| </div> | ||
| </div> | ||
|
|
||
| <section> | ||
| <div class="feature-contents"> | ||
| <img src="images/home_01.png" alt="판다가 옷을 보고 있는 이미지"> | ||
| <div class="content"> | ||
| <p class="title">Hot item</p> | ||
| <div class="description"> | ||
| <h1> | ||
| 인기 상품을<br> | ||
| 확인해 보세요 | ||
| </h1> | ||
| <p> | ||
| 가장 HOT한 중고거래 물품을<br> | ||
| 판다 마켓에서 확인해 보세요 | ||
| </p> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </section> | ||
|
|
||
| <section> | ||
| <div class="feature-contents"> | ||
| <div class="content reverse"> | ||
| <p class="title">Search</p> | ||
| <div class="description"> | ||
| <h1> | ||
| 구매를 원하는<br> | ||
| 상품을 검색하세요 | ||
| </h1> | ||
| <p> | ||
| 구매하고 싶은 물품은 검색해서<br> | ||
| 쉽게 찾아보세요 | ||
| </p> | ||
| </div> | ||
| </div> | ||
| <img src="images/home_02.png" alt="돋보기 이미지"> | ||
| </div> | ||
| </section> | ||
|
|
||
| <section> | ||
| <div class="feature-contents"> | ||
| <img src="images/home_03.png" alt="상품들과 폴더"> | ||
| <div class="content"> | ||
| <p class="title">Register</p> | ||
| <div class="description"> | ||
| <h1> | ||
| 판매를 원하는<br> | ||
| 상품을 등록하세요 | ||
| </h1> | ||
| <p> | ||
| 어떤 물건이든 판매하고 싶은 상품을<br> | ||
| 쉽게 등록하세요 | ||
| </p> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </section> | ||
|
|
||
| <div class="branding"> | ||
| <div class="branding-contents bottom"> | ||
| <div class="description"> | ||
| <h1> | ||
| 믿을 수 있는<br> | ||
| 판다마켓 중고거래 | ||
| </h1> | ||
| </div> | ||
| <img src="images/home_bottom.png" alt="헤어지고 있는 판다"> | ||
| </div> | ||
| </div> | ||
|
|
||
| </main> | ||
| <footer> | ||
| <div class="footer-info"> | ||
| <p>@codeit-2024</p> | ||
| <div class="footer-page"> | ||
| <a href="/privacy">Privacy</a> | ||
| <a href="/faq">FAQ</a> | ||
| </div> | ||
| <div class="social"> | ||
| <a href="https://facebook.com" target="_blank"> | ||
| <img src="images/facebook.png" alt="facebook" width="20"> | ||
| </a> | ||
| <a href="https://twitter.com" target="_blank"> | ||
| <img src="images/twitter.png" alt="twitter" width="20"> | ||
| </a> | ||
| <a href="https://youtube.com" target="_blank"> | ||
| <img src="images/youtube.png" alt="youtube" width="20"> | ||
| </a> | ||
| <a href="https://instagram.com" target="_blank"> | ||
| <img src="images/instagram.png" alt="instargram" width="20"> | ||
| </a> | ||
| </div> | ||
| </div> | ||
| </footer> | ||
| </container> | ||
| </body> | ||
| </html> |
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,216 @@ | ||
| * { | ||
| box-sizing: border-box; | ||
| } | ||
|
|
||
| html { | ||
| font-family: Pretendard, sans-serif; | ||
| } | ||
|
|
||
| body { | ||
| margin: 0; | ||
| padding: 0; | ||
|
|
||
| } | ||
|
|
||
| container { | ||
| width: 100%; | ||
| min-width: 1920px; | ||
| display: flex; | ||
| flex-direction: column; | ||
| justify-content: center; | ||
| } | ||
|
|
||
| header { | ||
| background-color: #ffffff; | ||
| border: 1px solid #DFDFDF; | ||
| width: 100%; | ||
| height: 70px; | ||
| display: flex; | ||
| justify-content: center; | ||
| align-items: center; | ||
| } | ||
|
|
||
| .header-contents { | ||
| width: 100%; | ||
| max-width: 1120px; | ||
| display: flex; | ||
| justify-content: space-between; | ||
| align-items: center; | ||
| } | ||
|
|
||
| .logo { | ||
| display: flex; | ||
| justify-content: center; | ||
| align-items: center; | ||
| gap: 10px; | ||
| } | ||
|
|
||
| .logo a { | ||
| color: #3692FF; | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 자주 사용되는 값을 css 변수로 관리해볼까요? 코드 중복을 줄이면서 재사용성을 높일수있습니다 :) :root {
--primary-color: #3692FF;
--background-light: #CFE5FF;
--text-dark: #374151;
--white: #ffffff;
--max-width: 1120px;
} |
||
| font-family: 'ROKAF Sans'; | ||
| font-size: 25.63px; | ||
| font-weight: 700; | ||
| line-height: 100%; | ||
| text-decoration: none; | ||
| cursor: pointer; | ||
| } | ||
|
|
||
| .login { | ||
| background-color: #3692FF; | ||
| color: #ffffff; | ||
| width: 128px; | ||
| height: 48px; | ||
| padding: 12px 23px; | ||
| gap: 10px; | ||
| border-radius: 8px; | ||
| font-size: 16px; | ||
| font-weight: 600; | ||
| line-height: 26px; | ||
| display: flex; | ||
| justify-content: center; | ||
| text-decoration: none; | ||
| cursor: pointer; | ||
| } | ||
|
|
||
| main section { | ||
| background-color: #ffffff; | ||
| width: 100%; | ||
| height: auto; | ||
| padding: 80px 10%; | ||
| gap: 10px; | ||
| display: flex; | ||
| justify-content: center; | ||
| align-items: center; | ||
| } | ||
|
|
||
| .branding { | ||
| background-color: #CFE5FF; | ||
| width: 100%; | ||
| height: 540px; | ||
| top: 70px; | ||
| display: flex; | ||
| justify-content: center; | ||
| align-items: flex-end; | ||
| } | ||
|
|
||
| .branding-contents { | ||
| display: flex; | ||
| justify-content: center; | ||
| gap: 7px; | ||
| } | ||
|
|
||
| .branding-contents.bottom { | ||
| align-items: center; | ||
| gap: 69px; | ||
| } | ||
|
|
||
|
|
||
| .description--branding-contents { | ||
| padding-bottom: 60px; | ||
| gap: 32px; | ||
| } | ||
|
|
||
| .looking { | ||
| background-color: #3692FF; | ||
| color: #F9FAFB; | ||
| height: 56px; | ||
| border-radius: 40px; | ||
| padding: 14px 124px; | ||
| gap: 10px; | ||
| font-size: 20px; | ||
| font-weight: 600; | ||
| line-height: 32px; | ||
| text-align: center; | ||
| text-decoration: none; | ||
| cursor: pointer; | ||
| } | ||
|
|
||
|
|
||
| section .feature-contents { | ||
| background-color: #FCFCFC; | ||
| position: relative; | ||
| width: 988px; | ||
| height: auto; | ||
| max-height: 444px; | ||
| border-radius: 12px; | ||
| gap: 64px; | ||
| display: flex; | ||
| justify-content: center; | ||
| align-items: center; | ||
| } | ||
|
|
||
| .feature-contents > img { | ||
| height: 100%; | ||
| } | ||
|
|
||
| .feature-contents .content { | ||
| position: relative; | ||
| padding-right: 24px; | ||
| gap: 12px; | ||
| } | ||
|
|
||
| .content .title { | ||
| color: #3692FF; | ||
| font-size: 18px; | ||
| font-weight: 700; | ||
| line-height: 26px; | ||
| } | ||
|
|
||
| .content .description { | ||
| color: #374151; | ||
| gap: 24px; | ||
| } | ||
|
|
||
| .content.reverse { | ||
| text-align: right; | ||
| padding-left: 24px; | ||
| padding-right: 0; | ||
| } | ||
|
|
||
| .description h1 { | ||
| font-size: 40px; | ||
| font-weight: 700; | ||
| line-height: 140%; | ||
| } | ||
|
|
||
| .description p { | ||
| font-size: 24px; | ||
| font-weight: 500; | ||
| line-height: 32px; | ||
| } | ||
|
|
||
| footer { | ||
| background-color: #111827; | ||
| width: 100%; | ||
| height: 160px; | ||
| padding: 32px 400px; | ||
| gap: 10px; | ||
| display: flex; | ||
| justify-content: center; | ||
| } | ||
|
|
||
| .footer-info { | ||
| color: #ffffff; | ||
| width: 100%; | ||
| max-width: 1120px; | ||
| display: flex; | ||
| justify-content: space-between; | ||
| font-size: 16px; | ||
| font-weight: 400; | ||
| line-height: 100%; | ||
| } | ||
|
|
||
| .footer-page { | ||
| display: flex; | ||
| gap: 30px; | ||
| } | ||
|
|
||
| .footer-info a { | ||
| color: #ffffff; | ||
| text-decoration: none; | ||
| } | ||
|
|
||
| .social { | ||
| display: flex; | ||
| gap: 12px; | ||
| } | ||
Oops, something went wrong.
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.
요런 코드는 css reset/ normalize 용도의 파일로 따로 분리해서 import해서 사용하는건 어떨까요?
이렇게 용도에 따라 css 파일을 나눠 사용해보는 경험을 늘려봅시다! :)