Skip to content

Commit 3790aa4

Browse files
authored
Merge pull request #1 from Commit451/feat/add-github-link-to-navbar
feat: add GitHub link to navbar
2 parents 229e91b + abc38b0 commit 3790aa4

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

public/images/github-mark.svg

Lines changed: 4 additions & 0 deletions
Loading

src/components/Navbar.astro

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ const brandHref = variant === 'default' ? '#hero' : '/';
3333
<a href="#work" class={`text-gray-400 ${hoverColor} transition-colors`}>Work</a>
3434
<a href="#about" class={`text-gray-400 ${hoverColor} transition-colors`}>About</a>
3535
<a href="#services" class={`text-gray-400 ${hoverColor} transition-colors`}>Services</a>
36+
<a href="https://github.com/Commit451" target="_blank" rel="noopener noreferrer" aria-label="GitHub" title="GitHub" class={`flex items-center text-gray-400 ${hoverColor} transition-colors`}>
37+
<img src="/images/github-mark.svg" alt="GitHub" width="20" height="20" class="w-5 h-5">
38+
</a>
3639
<a href="https://cal.com/commit451/15min" target="_blank" rel="noopener noreferrer" class={`rounded-lg border ${borderColor} px-4 py-2 ${activeColor} ${hoverBg} transition-all`}>Book a Call</a>
3740
</div>
3841
)}
@@ -55,6 +58,9 @@ const brandHref = variant === 'default' ? '#hero' : '/';
5558
<a href="#work" class={`text-gray-400 ${hoverColor} transition-colors`}>Work</a>
5659
<a href="#about" class={`text-gray-400 ${hoverColor} transition-colors`}>About</a>
5760
<a href="#services" class={`text-gray-400 ${hoverColor} transition-colors`}>Services</a>
61+
<a href="https://github.com/Commit451" target="_blank" rel="noopener noreferrer" aria-label="GitHub" title="GitHub" class={`flex items-center text-gray-400 ${hoverColor} transition-colors`}>
62+
<img src="/images/github-mark.svg" alt="GitHub" width="20" height="20" class="w-5 h-5">
63+
</a>
5864
<a href="https://cal.com/commit451/15min" target="_blank" rel="noopener noreferrer" class={activeColor}>Book a Call</a>
5965
</>
6066
)}

0 commit comments

Comments
 (0)