Skip to content

Commit

Permalink
update header & footer
Browse files Browse the repository at this point in the history
  • Loading branch information
fransallen committed May 26, 2023
1 parent a05cc18 commit d6a2a85
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ _site
node_modules
package-lock.json
yarn.lock
bun.lockb
Binary file added bun.lockb
Binary file not shown.
5 changes: 4 additions & 1 deletion src/_includes/components/footer.njk
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@
<li><a href="/#overview" class="contrast">Overview</a></li>
<li><a href="/#how-to-use" class="contrast">How to Use</a></li>
<li><a href="/check/" class="contrast">Check Resolver</a></li>
<li><a href="https://twitter.com/fransallen" class="contrast">Twitter</a></li>
<li><a href="/id/" class="contrast">DNS for Indonesia</a></li>
</ul>
<ul>
<li><small>Made by <a href="https://upset.dev/" class="secondary">Frans Allen</a></small></li>
<li><small><a href="/open/" class="secondary">Open Stats</a></small></li>
<li><small><a href="/privacy/" class="secondary">Privacy Policy</a></small></li>
<li><small><a href="/terms/" class="secondary">Terms of Service</a></small></li>
</ul>
<ul>
<li><small>Already using PureDNS? Try open this address <a href="https://puredns" class="secondary">https://puredns</a></small></li>
</ul>
</div>
</footer>
3 changes: 3 additions & 0 deletions src/_includes/components/header.njk
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
class="logo"
>
<img src="/img/puredns-logo.svg" alt="PureDNS logo" />
{% if page.url == "/id/" %}
<span style="font-size: small; position: absolute; margin-left: 4px;">ID</span>
{% endif %}
</a>
</li>
</ul>
Expand Down
4 changes: 4 additions & 0 deletions src/check.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
layout: layouts/base.njk
title: DNS Resolver Checker
eleventyNavigation:
key: Checker
url: /check/
order: 3
---

<main>
Expand Down
4 changes: 0 additions & 4 deletions src/open.njk
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
---
layout: layouts/base.njk
title: Open Stats
eleventyNavigation:
key: Open Stats
url: /open/
order: 3
---

<main class="openpage">
Expand Down

0 comments on commit d6a2a85

Please sign in to comment.