Skip to content

Commit b403013

Browse files
Merge pull request santoshyadavdev#2 from 9kubczas4/feat/add-link-to-github-repo
feat: Add link to GitHub repo
2 parents fd24abc + 120dd5d commit b403013

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/components/Header.astro

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ const desktop = [
2828
))
2929
}
3030
</ul>
31-
<button aria-label="theme toggle" class="pointer theme-toggle ml-4">
31+
<a aria-label="github" class="pointer ml-2 mr-4" href="https://github.com/santoshyadavdev/angular-snipptes" target="_blank">
32+
<Icon name="simple-icons:github" class="w-6 dark:text-white text-black" />
33+
</a>
34+
<button aria-label="theme toggle" class="pointer theme-toggle">
3235
<Icon name="eva:moon-outline" class="w-6 dark:text-white text-black transition-colors dark:hidden" />
3336
<Icon name="akar-icons:sun" class="w-6 dark:text-white text-black transition-colors hidden dark:block" />
3437
</button>

src/layouts/BlogLayout.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ const canonicalURL = new URL(Astro.url).href;
9393
<time datetime={frontmatter.pubDate} class="mb-3 sm:mb-0">
9494
{thisDate}
9595
</time>
96-
<time datetime={frontmatter.contributedBy} class="mb-3 sm:mb-0">
96+
<span class="mb-3 sm:mb-0">
9797
{frontmatter.contributedBy}
98-
</time>
98+
</span>
9999
</nav>
100100
</header>
101101
<article>

0 commit comments

Comments
 (0)