Skip to content

Commit c34dc96

Browse files
committed
Modify svg logo
1 parent 8f0e65d commit c34dc96

File tree

1 file changed

+65
-8
lines changed

1 file changed

+65
-8
lines changed

src/elements/Branding.svelte

Lines changed: 65 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
justify-content: center;
1212
width: 100%;
1313
align-items: center;
14+
}
15+
16+
span {
1417
opacity: 0.3;
1518
}
1619
@@ -22,29 +25,83 @@
2225
}
2326
2427
.bn-logo {
25-
height: 0.9rem;
28+
height: 1.1rem;
2629
margin-left: 0.25rem;
2730
margin-bottom: 0.1rem;
2831
}
2932
30-
img {
33+
svg {
3134
height: 100%;
3235
width: auto;
3336
}
3437
</style>
3538

3639
<div class="bn-branding">
37-
Powered by
40+
<span>Powered by</span>
3841
<a
39-
href="https://blocknative.com"
42+
href="https://hubs.ly/H0qh2g10"
4043
class="bn-onboard-clickable"
4144
target="_blank"
4245
rel="noopener noreferrer">
43-
Blocknative
46+
<span>Blocknative</span>
4447
<div class="bn-logo">
45-
<img
46-
alt="Blocknative Logo"
47-
src={darkMode ? 'https://cdn2.hubspot.net/hubfs/5118396/Company Logos/bn-line-logo-white.svg' : 'https://cdn2.hubspot.net/hubfs/5118396/Company Logos/bn-line-logo-black.svg'} />
48+
{#if darkMode}
49+
<svg
50+
height="130"
51+
viewBox="0 0 91 130"
52+
width="91"
53+
xmlns="http://www.w3.org/2000/svg">
54+
<g
55+
style="stroke:#fff;stroke-width:2.70793;fill:none;fill-rule:evenodd;stroke-linecap:round;stroke-linejoin:round"
56+
transform="translate(1.818182 .909091)">
57+
<path
58+
d="m1.35473654 25.2695268
59+
41.68515786-24.21771792c.5647044-.32807482 1.2619836-.32807795
60+
1.8266909-.00000821l19.9275013
61+
11.57698923c.5635938.3274228.9088026.9314826.9048094
62+
1.5832707l-.1501112 24.5017756 20.8472716
63+
12.1113348c.5601525.3254236.9048434.9243111.9048434
64+
1.5721317v48.4560123c0 .647825-.3446953 1.246715-.9048537
65+
1.572138l-41.6835092
66+
24.215895c-.5655731.328567-1.2640448.328023-1.8291052-.001426l-41.5311197-24.21401c-.5587764-.325785-.90240476-.923899-.90240476-1.570712v-49.505258-24.5082917c0-.6478147.34468473-1.2466978.9048293-1.5721235z" />
67+
<path
68+
d="m22.0428451 114.442824v-25.2731141l-21.59284788-12.5449388
69+
42.75014288 24.6551909c.5648507.325765 1.260898.324109
70+
1.8241926-.004339l42.2766571-24.6508519-21.5955473
71+
12.6370084v-24.2248276c0-.6488012-.3457266-1.2484405-.9072187-1.5735092l-20.9222804-12.1126883
72+
21.6729314-12.6370084-42.4525958
73+
24.4763352c-.5545159.3197099-1.236865.3218902-1.7934127.0057303l-20.85286908-11.8459598" />
74+
</g>
75+
</svg>
76+
{:else}
77+
<svg
78+
height="130"
79+
viewBox="0 0 91 130"
80+
width="91"
81+
xmlns="http://www.w3.org/2000/svg">
82+
<g
83+
style="stroke:#000;stroke-width:2.70793;fill:none;fill-rule:evenodd;stroke-linecap:round;stroke-linejoin:round"
84+
transform="translate(1.818182 .909091)">
85+
<path
86+
d="m1.35473654 25.2695268
87+
41.68515786-24.21771792c.5647044-.32807482 1.2619836-.32807795
88+
1.8266909-.00000821l19.9275013
89+
11.57698923c.5635938.3274228.9088026.9314826.9048094
90+
1.5832707l-.1501112 24.5017756 20.8472716
91+
12.1113348c.5601525.3254236.9048434.9243111.9048434
92+
1.5721317v48.4560123c0 .647825-.3446953 1.246715-.9048537
93+
1.572138l-41.6835092
94+
24.215895c-.5655731.328567-1.2640448.328023-1.8291052-.001426l-41.5311197-24.21401c-.5587764-.325785-.90240476-.923899-.90240476-1.570712v-49.505258-24.5082917c0-.6478147.34468473-1.2466978.9048293-1.5721235z" />
95+
<path
96+
d="m22.0428451 114.442824v-25.2731141l-21.59284788-12.5449388
97+
42.75014288 24.6551909c.5648507.325765 1.260898.324109
98+
1.8241926-.004339l42.2766571-24.6508519-21.5955473
99+
12.6370084v-24.2248276c0-.6488012-.3457266-1.2484405-.9072187-1.5735092l-20.9222804-12.1126883
100+
21.6729314-12.6370084-42.4525958
101+
24.4763352c-.5545159.3197099-1.236865.3218902-1.7934127.0057303l-20.85286908-11.8459598" />
102+
</g>
103+
</svg>
104+
{/if}
48105
</div>
49106
</a>
50107
</div>

0 commit comments

Comments
 (0)