Skip to content

Commit

Permalink
adding dumb icon font, and adding github/matrix links to header
Browse files Browse the repository at this point in the history
  • Loading branch information
orthecreedence committed Feb 20, 2024
1 parent f913c08 commit 3a26c39
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Binary file added src/assets/fonts/icons.woff2
Binary file not shown.
4 changes: 4 additions & 0 deletions src/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
.button {@apply button-plain bg-primary text-white sm:bg-primary/[0.80] sm:hover:bg-primary sm:transition-colors;}
}

// icons
@font-face {font-family: 'Icons'; src: url('../assets/fonts/icons.woff2?v1');}
icon {font-family: 'Icons';}

header, .main-content {
a:not(.custom) {@apply text-link;}
a:not(.custom):hover {@apply underline;}
Expand Down
2 changes: 2 additions & 0 deletions src/layouts/template.njk
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@
<li class="px-3"><a href="{{ site.base }}/docs/">Documentation</a></li>
<li class="px-3"><a href="{{ site.base }}/stampnet/">StampNet</a></li>
<li class="px-3"><a href="{{ site.base }}/faq">FAQ</a></li>
<li class="px-3"><a href="https://github.com/stamp-protocol"><icon>&#xF113;</a></li>
<li class="px-3"><a href="https://matrix.to/#/#stamp:matrix.org"><icon>&#xE80C;</a></li>
</ul>
</div>
</header>
Expand Down

0 comments on commit 3a26c39

Please sign in to comment.