Skip to content

Commit 26078c5

Browse files
committed
feat: header
1 parent 0eaa21f commit 26078c5

2 files changed

Lines changed: 27 additions & 39 deletions

File tree

_includes/header.html

Lines changed: 12 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,13 @@
1-
<header class="site-header">
2-
3-
<div class="home-wrapper">
4-
<a class="site-title" href="{{ "/" | relative_url }}">
5-
<img alt="wiringbits icon" class="wiringbits-icon" src="{{"/assets/home/named_icon.png" | relative_url }}" type="image/png">
6-
</a>
7-
8-
9-
<nav class="site-nav">
10-
<input class="nav-trigger" id="nav-trigger" type="checkbox"/>
11-
<label for="nav-trigger">
12-
<span class="menu-icon">
13-
<svg height="15px" viewbox="0 0 18 15" width="18px">
14-
<path d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.032C17.335,0,18,0.665,18,1.484L18,1.484z M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.032C17.335,6.031,18,6.696,18,7.516L18,7.516z M18,13.516C18,14.335,17.335,15,16.516,15H1.484 C0.665,15,0,14.335,0,13.516l0,0c0-0.82,0.665-1.483,1.484-1.483h15.032C17.335,12.031,18,12.695,18,13.516L18,13.516z"/>
15-
</svg>
16-
</span>
17-
</label>
18-
<div class="trigger">
19-
<a class="page-link" href="/about">About</a>
20-
<a class="page-link" href="/#testimonials">Testimonials</a>
21-
<a class="page-link" href="/#posts">Posts</a>
22-
</div>
23-
</nav>
1+
<nav class="flex items-center justify-between p-8 navbar bg-black">
2+
<a class="flex gap-4 items-center" href="/">
3+
<img class="h-8" src="/assets/branding/wiringbits-logo-mark-reverse-rgb.svg" alt="wiringbits icon">
4+
<span class="text-white text-lg text-bold">
5+
Wiringbits
6+
</span>
7+
</a>
8+
<div class="flex gap-4 items-center text-lg text-white">
9+
<a class="!text-inherit decoration-none" href="/about">About</a>
10+
<a class="!text-inherit decoration-none" href="/#testimonials">Testimonials</a>
11+
<a class="!text-inherit decoration-none" href="/#posts">Posts</a>
2412
</div>
25-
26-
{% if layout.title == "Home" %}
27-
{% include logo_pattern.html %}
28-
{% endif %}
29-
</header>
13+
</nav>

_includes/logo_pattern.html

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
1-
<div class="logo-pattern">
2-
<div class="logo-pattern-wrapper">
3-
<div class="flex-container">
4-
<div class="flex-left">
5-
<h1>Web and Blockchain<br/>Development Agency</h1>
6-
<h3>
7-
Our fully remote developer team can help
8-
<br/>you spot problems early and ship sooner
9-
</h3>
1+
<div class="h-[1px] bg-blue w-full"></div>
2+
<div class="flex gap-3 bg-black text-white w-full">
3+
<div class="flex-grow flex justify-center items-center">
4+
<div class="text-white">
5+
<div class="text-2xl font-bold">
6+
Web and Blockchain
7+
<br />
8+
Development Agency
9+
</div>
10+
<br />
11+
<div class="text-xl">
12+
Our fully remote developer team can help
13+
<br />you spot problems early and ship sooner
1014
</div>
11-
<img alt="logo pattern" class="flex-right" src="assets/home/logo-pattern.png"/>
1215
</div>
1316
</div>
14-
</div>
17+
<img class="flex-right max-w-2/5" src="assets/home/logo-pattern.png" alt="logo pattern" />
18+
</div>

0 commit comments

Comments
 (0)