Skip to content

Create navbar.html #59

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions html template/navbar.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<header>
<div class="nav-left">
<span class="about"><a href="https://about.google/?fg=1&utm_source=google-US&utm_medium=referral&utm_campaign=hp-header">About</a></span>
<span class="store"><a href="https://store.google.com/US?utm_source=hp_header&utm_medium=google_ooo&utm_campaign=GS100042&hl=en-US">Store</a></span>
</div>
<div class="nav-right">
<span class="gmail"><a href="https://www.google.com/intl/zh-TW/gmail/about/">Gmail</a></span>
<span class="pic"><a href="https://www.google.com.tw/imghp?hl=en&ogbl">Images</a></span>
<span class="apps"><i class="fa-solid fa-list"></i></span>
<button class="btn-login">Sign in</button>
</div>
</header>
<main>
<div class="logo">
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/c/c9/Google_logo_%282013-2015%29.svg/1024px-Google_logo_%282013-2015%29.svg.png" alt="">
</div>
<div class="search-bar">
<i class="fa-solid fa-magnifying-glass"></i>
<input id="search-key" type="text">
</div>
<div class="btns">
<button class="btn-search">Google Search</button>
<button class="btn-lucky">I'm feeling lucky</button>
</div>
</main>
<footer>
<div class="country">
<span>Taiwan</span>
</div>
<div class="other">
<div class="other-left">
<span class="other-business"><a href="https://ads.google.com/intl/en_us/home/?subid=ww-ww-et-g-awa-a-g_hpafoot1_1!o2&utm_source=google.com&utm_medium=referral&utm_campaign=google_hpafooter&fg=1#!/">Advertising</a></span>
<span class="other-business"><a href="https://www.google.com/business/">Business</a></span>
<span class="other-business"><a href="https://www.google.com/search/howsearchworks/?fg=1">How Search works</a></span>
</div>
<div class="other-right">
<span class="other-info"><a href="https://policies.google.com/privacy?hl=en&fg=1">Privacy</a></span>
<span class="other-info"><a href="https://policies.google.com/terms?hl=en&fg=1">Terms</a></span>
<span class="other-info"><a href="#">Settings</a></span>
</div>
</div>
</footer>