Skip to content

Commit 23fdbe4

Browse files
committed
chore: fix footer size/colors
1 parent a344864 commit 23fdbe4

File tree

1 file changed

+17
-11
lines changed

1 file changed

+17
-11
lines changed

docs/src/lib/components/Footer.svelte

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
export let iconSize = 40
1111
1212
let text = {
13-
license: 'Released under the MIT License.',
14-
copyright: '© 2023 Blocknative. All Rights Reserved.'
13+
license: 'Released under the MIT License',
14+
copyright: '© 2025 thirdweb'
1515
}
1616
</script>
1717

@@ -42,15 +42,14 @@
4242
<span class="sr-only">Youtube</span>
4343
</a>
4444
</Flexbox>
45-
<a href="//www.thirdweb.com/" target="_blank">
46-
<img src={PoweredByTw} alt="Powered by thirdweb" />
45+
<a href="//www.thirdweb.com/" target="_blank" class="logo-link">
46+
<img src={PoweredByTw} alt="Powered by thirdweb" style="max-height: 20px;" />
4747
<span class="sr-only">Powered by thirdweb</span>
4848
</a>
4949
</Flexbox>
5050
<div class="copyright-box">
5151
<div class="flex flex-row flex-wrap justify-center">
52-
<div class="text">{text.license}</div>
53-
<div class="text">{text.copyright}</div>
52+
<div class="text">{text.license} {text.copyright}</div>
5453
</div>
5554
<div class="flex">
5655
<a
@@ -70,24 +69,31 @@
7069

7170
<style>
7271
footer {
73-
background: #1a1d26;
74-
min-height: 400px;
72+
background: #ebebed;
73+
min-height: 200px;
7574
display: flex;
7675
flex-flow: column;
7776
}
7877
7978
a.icon-link {
80-
color: rgba(255, 255, 255, 0.8);
79+
color: rgba(20, 20, 20, 0.8);
8180
transition: transform 200ms ease-in-out;
8281
}
8382
a.icon-link:hover {
84-
color: rgba(255, 255, 255, 1);
85-
transform: scale(1.2);
83+
color: rgba(20, 20, 20, 1.0);
84+
transform: scale(1.1);
8685
}
8786
a.icon-link:focus {
8887
transform: none;
8988
}
9089
90+
a.logo-link {
91+
opacity: 0.8;
92+
}
93+
a.logo-link:hover {
94+
opacity: 1.0;
95+
}
96+
9197
.copyright-box {
9298
/* grey/600 */
9399
background: #242835;

0 commit comments

Comments
 (0)