Skip to content

Commit 15a5344

Browse files
committed
tweak footer
1 parent cdbeb69 commit 15a5344

4 files changed

Lines changed: 6 additions & 27 deletions

File tree

_data/footer.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ links:
4343
href: /privacy
4444
- label: Terms
4545
href: /terms
46-
- label: X
46+
- label: Twitter
4747
href: https://twitter.com/dotenvx
4848
external: true
49-
- label: Log In
50-
href: /login
5149
- label: Theme
5250
theme_toggle: true
51+
- label: Log In
52+
href: /login

_includes/components/logo.html

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1 @@
1-
{% if include.variant == "black" %}
2-
<svg class="{{include.class}}" role="img" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><g><path fill="#000" d="M0 0h200v200H0z"/><path fill="#ECD53F" d="M31 164h14v14H31z"/><g fill="#ECD53F" fill-rule="nonzero"><path d="M91.986 178.41v-7.75H66.288v-12.52h23.094v-7.75H66.288v-10.198h24.82v-7.782H57v46zM108.585 178.41v-29.997l18.545 29.997h9.319v-46h-8.63v30.72l-18.826-30.72h-9.037v46zM167.92 178.41l16.474-46h-9.852l-11.265 34.045-11.641-34.045h-10.073l16.442 46z"/></g></g></svg>
3-
{% else %}
4-
<svg class="hidden dark:flex {{include.class}}" role="img" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><g><path fill="#ECD53F" d="M0 0h200v200H0z"/><path fill="#000" d="M31 164h14v14H31z"/><g fill="#000" fill-rule="nonzero"><path d="M91.986 178.41v-7.75H66.288v-12.52h23.094v-7.75H66.288v-10.198h24.82v-7.782H57v46zM108.585 178.41v-29.997l18.545 29.997h9.319v-46h-8.63v30.72l-18.826-30.72h-9.037v46zM167.92 178.41l16.474-46h-9.852l-11.265 34.045-11.641-34.045h-10.073l16.442 46z"/></g></g></svg>
5-
<svg class="flex dark:hidden {{include.class}}" role="img" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><g><path fill="#000" d="M0 0h200v200H0z"/><path fill="#ECD53F" d="M31 164h14v14H31z"/><g fill="#ECD53F" fill-rule="nonzero"><path d="M91.986 178.41v-7.75H66.288v-12.52h23.094v-7.75H66.288v-10.198h24.82v-7.782H57v46zM108.585 178.41v-29.997l18.545 29.997h9.319v-46h-8.63v30.72l-18.826-30.72h-9.037v46zM167.92 178.41l16.474-46h-9.852l-11.265 34.045-11.641-34.045h-10.073l16.442 46z"/></g></g></svg>
6-
{% endif %}
1+
<svg class="{{include.class}}" role="img" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg" aria-label="Dotenvx"><g><path fill="#000" d="M0 0h200v200H0z"/><path fill="#ECD53F" d="M31 164h14v14H31z"/><g fill="#ECD53F" fill-rule="nonzero"><path d="M91.986 178.41v-7.75H66.288v-12.52h23.094v-7.75H66.288v-10.198h24.82v-7.782H57v46zM108.585 178.41v-29.997l18.545 29.997h9.319v-46h-8.63v30.72l-18.826-30.72h-9.037v46zM167.92 178.41l16.474-46h-9.852l-11.265 34.045-11.641-34.045h-10.073l16.442 46z"/></g></g></svg>

_includes/components/radar-nav.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
<div class="radar-topbar">
1313
<div class="radar-topbar-left">
1414
<a href="/" class="radar-brand" aria-label="dotenvx home">
15-
<img src="/assets/img/logo-env.svg" class="radar-brand-light" alt="" aria-hidden="true" />
16-
<img src="/assets/img/logo-env-yellow.svg" class="radar-brand-dark" alt="" aria-hidden="true" />
15+
<img src="/assets/img/logo-env.svg" alt="" aria-hidden="true" />
1716
</a>
1817
</div>
1918

assets/css/main.src.css

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1614,26 +1614,11 @@ html {
16141614

16151615
.radar-brand img {
16161616
border-radius: 0.05rem;
1617+
display: block;
16171618
height: 1.8rem;
16181619
width: 1.8rem;
16191620
}
16201621

1621-
.radar-brand-light {
1622-
display: block;
1623-
}
1624-
1625-
.radar-brand-dark {
1626-
display: none;
1627-
}
1628-
1629-
html.dark .radar-brand-light {
1630-
display: none;
1631-
}
1632-
1633-
html.dark .radar-brand-dark {
1634-
display: block;
1635-
}
1636-
16371622
.radar-nav-item {
16381623
align-items: center;
16391624
display: inline-flex;

0 commit comments

Comments
 (0)