Skip to content

Commit

Permalink
build(mainpage): Move mainpage(index.html) to base directory
Browse files Browse the repository at this point in the history
Netlify에 배포할 경우 메인페이지의 index.html 파일이 base directory에
있어야 정상적으로 css와 image가 로드 됨을 확인하고 수정함.
  • Loading branch information
leehj322 committed May 29, 2024
1 parent 5602ddf commit 37b06e4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions css/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ footer {

.privacy-faq-link {
display: flex;
gap: 10px;
justify-content: center;
}

Expand Down
8 changes: 4 additions & 4 deletions pages/index.html → index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
<img class="main-logo" src="/images/logo_with_typo.png" alt="로고 이미지"/>
</a>
</div>
<button class="login-button" onclick="location.href='./login'">로그인</button>
<button class="login-button" onclick="location.href='/pages/login'">로그인</button>
</header>
<main>
<div class="main-top">
<div class="top-page">
<div>
<p class="main-content">일상의 모든 물건을<br>거래해 보세요</p>
<button class="item-button" onclick="location.href='./items'">구경하러가기</button>
<button class="item-button" onclick="location.href='/pages/items'">구경하러가기</button>
</div>
<img
class="top-img" src="/images/img_home_top.png" alt="홈 페이지 상단 이미지" />
Expand Down Expand Up @@ -81,8 +81,8 @@ <h3>Register</h3>
<div class="footer-bar">
<div class="codeit-2024">@codeit - 2024</div>
<div class="privacy-faq-link">
<a class= "privacy-link" href="./privacy">Privacy Policy</a>
<a class= "faq-link" href="./faq">FAQ</a>
<a class= "privacy-link" href="/pages/privacy">Privacy Policy</a>
<a class= "faq-link" href="/pages/faq">FAQ</a>
</div>
<div>
<a class="external-link" href="https://www.facebook.com" target="_blank">
Expand Down

0 comments on commit 37b06e4

Please sign in to comment.