Skip to content

Commit 0806dde

Browse files
authored
1.38.1 Release : Master - New branding (#832)
* 1.38.0-0.0.1 : New branding (#829) * Update BN logo for V1
1 parent 8b6dcca commit 0806dde

File tree

4 files changed

+198
-64
lines changed

4 files changed

+198
-64
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bnc-onboard",
3-
"version": "1.38.0",
3+
"version": "1.38.1",
44
"description": "Onboard users to web3 by allowing them to select a wallet, get that wallet ready to transact and have access to synced wallet state.",
55
"keywords": [
66
"ethereum",

src/elements/Branding.svelte

Lines changed: 192 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,16 @@
1414
}
1515
1616
span {
17-
opacity: 0.3;
17+
font-weight: 400;
1818
}
1919
20+
.dark-mode-font {
21+
color: #b3b7c2;
22+
}
23+
24+
.light-mode-font {
25+
color: #707481;
26+
}
2027
a {
2128
color: inherit;
2229
display: flex;
@@ -25,9 +32,7 @@
2532
}
2633
2734
.bn-logo {
28-
height: 1.1rem;
29-
margin-left: 0.25rem;
30-
margin-bottom: 0.1rem;
35+
height: 0.8rem;
3136
}
3237
3338
svg {
@@ -37,78 +42,207 @@
3742
</style>
3843

3944
<div class="bn-branding">
40-
<span>Powered by</span>
45+
<span class={`${darkMode ? 'dark-mode-font' : 'light-mode-font'}`}>
46+
Powered by
47+
</span>
4148
<a
4249
href="https://hubs.ly/H0qh2g10"
4350
class="bn-onboard-clickable"
4451
target="_blank"
4552
rel="noopener noreferrer"
4653
>
47-
<span>Blocknative</span>
4854
<div class="bn-logo">
4955
{#if darkMode}
5056
<svg
51-
height="130"
52-
viewBox="0 0 91 130"
53-
width="91"
57+
id="Layer_1"
58+
data-name="Layer 1"
5459
xmlns="http://www.w3.org/2000/svg"
60+
xmlns:xlink="http://www.w3.org/1999/xlink"
61+
viewBox="0 0 790.34 114.51"
5562
>
56-
<g
57-
style="stroke:#fff;stroke-width:2.70793;fill:none;fill-rule:evenodd;stroke-linecap:round;stroke-linejoin:round"
58-
transform="translate(1.818182 .909091)"
59-
>
60-
<path
61-
d="m1.35473654 25.2695268
62-
41.68515786-24.21771792c.5647044-.32807482 1.2619836-.32807795
63-
1.8266909-.00000821l19.9275013
64-
11.57698923c.5635938.3274228.9088026.9314826.9048094
65-
1.5832707l-.1501112 24.5017756 20.8472716
66-
12.1113348c.5601525.3254236.9048434.9243111.9048434
67-
1.5721317v48.4560123c0 .647825-.3446953 1.246715-.9048537
68-
1.572138l-41.6835092
69-
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"
70-
/>
71-
<path
72-
d="m22.0428451 114.442824v-25.2731141l-21.59284788-12.5449388
73-
42.75014288 24.6551909c.5648507.325765 1.260898.324109
74-
1.8241926-.004339l42.2766571-24.6508519-21.5955473
75-
12.6370084v-24.2248276c0-.6488012-.3457266-1.2484405-.9072187-1.5735092l-20.9222804-12.1126883
76-
21.6729314-12.6370084-42.4525958
77-
24.4763352c-.5545159.3197099-1.236865.3218902-1.7934127.0057303l-20.85286908-11.8459598"
63+
<defs>
64+
<style>
65+
.cls-1 {
66+
fill: #fff;
67+
}
68+
.cls-2 {
69+
fill: url(#linear-gradient);
70+
}
71+
.cls-3 {
72+
fill: url(#linear-gradient-2);
73+
}
74+
</style>
75+
<linearGradient
76+
id="linear-gradient"
77+
x1="694.45"
78+
y1="46.08"
79+
x2="741.39"
80+
y2="46.08"
81+
gradientUnits="userSpaceOnUse"
82+
>
83+
<stop offset="0" stop-color="#55ccfe" />
84+
<stop offset="1" stop-color="#5e93ef" />
85+
</linearGradient>
86+
<linearGradient
87+
id="linear-gradient-2"
88+
x1="694.45"
89+
y1="86.73"
90+
x2="788.33"
91+
y2="86.73"
92+
xlink:href="#linear-gradient"
7893
/>
79-
</g>
94+
</defs>
95+
<polygon
96+
class="cls-1"
97+
points="710.09 86.73 694.45 59.63 725.74 59.63 725.74 59.63 741.39 86.73 710.09 86.73"
98+
/>
99+
<polygon
100+
class="cls-2"
101+
points="725.74 59.63 694.45 59.63 710.09 32.53 741.39 32.53 725.74 59.63"
102+
/>
103+
<polygon
104+
class="cls-1"
105+
points="757.03 59.63 741.39 32.53 710.09 32.53 694.45 5.43 757.03 5.43 788.33 59.63 757.03 59.63"
106+
/>
107+
<polygon
108+
class="cls-3"
109+
points="757.03 113.83 694.45 113.83 710.09 86.73 741.39 86.73 757.03 59.63 788.33 59.63 757.03 113.83"
110+
/>
111+
<path
112+
class="cls-1"
113+
d="M70.51,65.77c0,19.47-14.37,34.5-31.88,34.5-9.54,0-16.47-3.53-21.17-9.54v7.71H.6V6.87L17.46,1.68V40.82c4.7-6,11.63-9.54,21.17-9.54C56.14,31.28,70.51,46.3,70.51,65.77Zm-16.86,0c0-11-7.7-18.42-18.16-18.42s-18,7.45-18,18.42,7.71,18.43,18,18.43S53.65,76.75,53.65,65.77Z"
114+
/>
115+
<path class="cls-1" d="M78.09,6.87,94.94,1.68V98.44H78.09Z" />
116+
<path
117+
class="cls-1"
118+
d="M102.39,65.77a34.56,34.56,0,1,1,34.49,34.5A34.13,34.13,0,0,1,102.39,65.77Zm52.26,0c0-10.58-7.71-18-17.77-18s-17.64,7.45-17.64,18,7.71,18,17.64,18S154.65,76.36,154.65,65.77Z"
119+
/>
120+
<path
121+
class="cls-1"
122+
d="M177.9,65.77c0-19.47,14.63-34.49,34.49-34.49,12.81,0,23.91,6.79,29.27,16.85l-14.5,8.5c-2.62-5.36-8.24-8.76-14.9-8.76-10.06,0-17.51,7.45-17.51,17.9s7.45,17.77,17.51,17.77c6.8,0,12.41-3.26,15-8.62l14.63,8.36a33.47,33.47,0,0,1-29.53,17C192.53,100.27,177.9,85.24,177.9,65.77Z"
123+
/>
124+
<path
125+
class="cls-1"
126+
d="M290.32,98.44,266.54,68.78V98.44H249.68V6.87l16.86-5.19V61.85L289,33.11h20.12L282.87,65.38l27.05,33.06Z"
127+
/>
128+
<path
129+
class="cls-1"
130+
d="M377.26,58.32V98.44H360.4v-38c0-8.89-5.35-13.46-12.93-13.46-8.23,0-14.38,4.83-14.38,16.2V98.44H316.24V33.11h16.85v7.31c3.92-5.88,10.72-9.14,19.47-9.14C366.41,31.28,377.26,41,377.26,58.32Z"
131+
/>
132+
<path
133+
class="cls-1"
134+
d="M454.72,33.11V98.44H437.87V90.73c-4.71,5.88-11.76,9.54-21.3,9.54-17.38,0-31.75-15-31.75-34.5s14.37-34.49,31.75-34.49c9.54,0,16.59,3.66,21.3,9.54V33.11ZM437.87,65.77c0-11-7.71-18.42-18.17-18.42s-18,7.45-18,18.42,7.71,18.43,18,18.43S437.87,76.75,437.87,65.77Z"
135+
/>
136+
<path
137+
class="cls-1"
138+
d="M498.65,49.31V33.11H483.88V13.9L467,19.09v57.4c0,17.64,8,24.56,31.63,22V83.15c-9.67.53-14.77.39-14.77-6.66V49.31Z"
139+
/>
140+
<path class="cls-1" d="M510.46,33.11h16.85V98.44H510.46Z" />
141+
<path
142+
class="cls-1"
143+
d="M603.13,33.11,578.3,98.44H559.09L534.27,33.11h18.55l15.81,45.73,15.94-45.73Z"
144+
/>
145+
<path
146+
class="cls-1"
147+
d="M639.2,85c6.53,0,11.76-2.74,14.64-6.53l13.58,7.84c-6.14,8.88-15.94,14-28.48,14-22,0-35.8-15-35.8-34.5s14-34.49,34.49-34.49c19.34,0,33.06,15.29,33.06,34.49A39.11,39.11,0,0,1,670,72.7H620.78C623.13,81.32,630.32,85,639.2,85Zm14.64-25.35c-2.1-9.41-9.15-13.2-16.21-13.2-9,0-15.15,4.84-17.12,13.2Z"
148+
/>
80149
</svg>
81150
{:else}
82151
<svg
83-
height="130"
84-
viewBox="0 0 91 130"
85-
width="91"
152+
id="Layer_1"
153+
data-name="Layer 1"
86154
xmlns="http://www.w3.org/2000/svg"
155+
xmlns:xlink="http://www.w3.org/1999/xlink"
156+
viewBox="0 0 790.34 114.51"
87157
>
88-
<g
89-
style="stroke:#000;stroke-width:2.70793;fill:none;fill-rule:evenodd;stroke-linecap:round;stroke-linejoin:round"
90-
transform="translate(1.818182 .909091)"
91-
>
92-
<path
93-
d="m1.35473654 25.2695268
94-
41.68515786-24.21771792c.5647044-.32807482 1.2619836-.32807795
95-
1.8266909-.00000821l19.9275013
96-
11.57698923c.5635938.3274228.9088026.9314826.9048094
97-
1.5832707l-.1501112 24.5017756 20.8472716
98-
12.1113348c.5601525.3254236.9048434.9243111.9048434
99-
1.5721317v48.4560123c0 .647825-.3446953 1.246715-.9048537
100-
1.572138l-41.6835092
101-
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"
102-
/>
103-
<path
104-
d="m22.0428451 114.442824v-25.2731141l-21.59284788-12.5449388
105-
42.75014288 24.6551909c.5648507.325765 1.260898.324109
106-
1.8241926-.004339l42.2766571-24.6508519-21.5955473
107-
12.6370084v-24.2248276c0-.6488012-.3457266-1.2484405-.9072187-1.5735092l-20.9222804-12.1126883
108-
21.6729314-12.6370084-42.4525958
109-
24.4763352c-.5545159.3197099-1.236865.3218902-1.7934127.0057303l-20.85286908-11.8459598"
158+
<defs>
159+
<style>
160+
.cls-1 {
161+
fill: #262a3d;
162+
}
163+
.cls-2 {
164+
fill: url(#linear-gradient);
165+
}
166+
.cls-3 {
167+
fill: url(#linear-gradient-2);
168+
}
169+
</style>
170+
<linearGradient
171+
id="linear-gradient"
172+
x1="694.45"
173+
y1="46.08"
174+
x2="741.39"
175+
y2="46.08"
176+
gradientUnits="userSpaceOnUse"
177+
>
178+
<stop offset="0" stop-color="#55ccfe" /><stop
179+
offset="1"
180+
stop-color="#5e93ef"
181+
/>
182+
</linearGradient>
183+
<linearGradient
184+
id="linear-gradient-2"
185+
x1="694.45"
186+
y1="86.73"
187+
x2="788.33"
188+
y2="86.73"
189+
xlink:href="#linear-gradient"
110190
/>
111-
</g>
191+
</defs>
192+
<polygon
193+
class="cls-1"
194+
points="710.09 86.73 694.45 59.63 725.74 59.63 725.74 59.63 741.39 86.73 710.09 86.73"
195+
/>
196+
<polygon
197+
class="cls-2"
198+
points="725.74 59.63 694.45 59.63 710.09 32.53 741.39 32.53 725.74 59.63"
199+
/>
200+
<polygon
201+
class="cls-1"
202+
points="757.03 59.63 741.39 32.53 710.09 32.53 694.45 5.43 757.03 5.43 788.33 59.63 757.03 59.63"
203+
/>
204+
<polygon
205+
class="cls-3"
206+
points="757.03 113.83 694.45 113.83 710.09 86.73 741.39 86.73 757.03 59.63 788.33 59.63 757.03 113.83"
207+
/>
208+
<path
209+
class="cls-1"
210+
d="M70.51,65.77c0,19.47-14.37,34.5-31.88,34.5-9.54,0-16.47-3.53-21.17-9.54v7.71H.6V6.87L17.46,1.68V40.82c4.7-6,11.63-9.54,21.17-9.54C56.14,31.28,70.51,46.3,70.51,65.77Zm-16.86,0c0-11-7.7-18.42-18.16-18.42s-18,7.45-18,18.42,7.71,18.43,18,18.43S53.65,76.75,53.65,65.77Z"
211+
/>
212+
<path class="cls-1" d="M78.09,6.87,94.94,1.68V98.44H78.09Z" />
213+
<path
214+
class="cls-1"
215+
d="M102.39,65.77a34.56,34.56,0,1,1,34.49,34.5A34.13,34.13,0,0,1,102.39,65.77Zm52.26,0c0-10.58-7.71-18-17.77-18s-17.64,7.45-17.64,18,7.71,18,17.64,18S154.65,76.36,154.65,65.77Z"
216+
/>
217+
<path
218+
class="cls-1"
219+
d="M177.9,65.77c0-19.47,14.63-34.49,34.49-34.49,12.81,0,23.91,6.79,29.27,16.85l-14.5,8.5c-2.62-5.36-8.24-8.76-14.9-8.76-10.06,0-17.51,7.45-17.51,17.9s7.45,17.77,17.51,17.77c6.8,0,12.41-3.26,15-8.62l14.63,8.36a33.47,33.47,0,0,1-29.53,17C192.53,100.27,177.9,85.24,177.9,65.77Z"
220+
/>
221+
<path
222+
class="cls-1"
223+
d="M290.32,98.44,266.54,68.78V98.44H249.68V6.87l16.86-5.19V61.85L289,33.11h20.12L282.87,65.38l27.05,33.06Z"
224+
/>
225+
<path
226+
class="cls-1"
227+
d="M377.26,58.32V98.44H360.4v-38c0-8.89-5.35-13.46-12.93-13.46-8.23,0-14.38,4.83-14.38,16.2V98.44H316.24V33.11h16.85v7.31c3.92-5.88,10.72-9.14,19.47-9.14C366.41,31.28,377.26,41,377.26,58.32Z"
228+
/>
229+
<path
230+
class="cls-1"
231+
d="M454.72,33.11V98.44H437.87V90.73c-4.71,5.88-11.76,9.54-21.3,9.54-17.38,0-31.75-15-31.75-34.5s14.37-34.49,31.75-34.49c9.54,0,16.59,3.66,21.3,9.54V33.11ZM437.87,65.77c0-11-7.71-18.42-18.17-18.42s-18,7.45-18,18.42,7.71,18.43,18,18.43S437.87,76.75,437.87,65.77Z"
232+
/>
233+
<path
234+
class="cls-1"
235+
d="M498.65,49.31V33.11H483.88V13.9L467,19.09v57.4c0,17.64,8,24.56,31.63,22V83.15c-9.67.53-14.77.39-14.77-6.66V49.31Z"
236+
/>
237+
<path class="cls-1" d="M510.46,33.11h16.85V98.44H510.46Z" />
238+
<path
239+
class="cls-1"
240+
d="M603.13,33.11,578.3,98.44H559.09L534.27,33.11h18.55l15.81,45.73,15.94-45.73Z"
241+
/>
242+
<path
243+
class="cls-1"
244+
d="M639.2,85c6.53,0,11.76-2.74,14.64-6.53l13.58,7.84c-6.14,8.88-15.94,14-28.48,14-22,0-35.8-15-35.8-34.5s14-34.49,34.49-34.49c19.34,0,33.06,15.29,33.06,34.49A39.11,39.11,0,0,1,670,72.7H620.78C623.13,81.32,630.32,85,639.2,85Zm14.64-25.35c-2.1-9.41-9.15-13.2-16.21-13.2-9,0-15.15,4.84-17.12,13.2Z"
245+
/>
112246
</svg>
113247
{/if}
114248
</div>

src/modules/select/wallets/tally.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { extensionInstallMessage, mobileWalletInstallMessage } from '../content'
1+
import { extensionInstallMessage } from '../content'
22
import { WalletModule, Helpers, CommonWalletOptions } from '../../../interfaces'
33

44
import tallyIcon from '../wallet-icons/icon-tally.png'

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3344,10 +3344,10 @@ bnb-javascript-sdk-nobroadcast@^2.16.14:
33443344
uuid "^3.3.2"
33453345
websocket-stream "^5.5.0"
33463346

3347-
bnc-sdk@^3.4.1:
3348-
version "3.4.1"
3349-
resolved "https://registry.yarnpkg.com/bnc-sdk/-/bnc-sdk-3.4.1.tgz#fca070656a6efbfc489889ed0404e1b6289c17ff"
3350-
integrity sha512-GrZzN3zyqVOmtk++tvq/X1zchO+Bt9TIzw39xv7UkMLEUcs43pwj6XWphLRbqkrrILNSrLwOI0S8opyjffDFAA==
3347+
bnc-sdk@^4.1.0:
3348+
version "4.1.0"
3349+
resolved "https://registry.yarnpkg.com/bnc-sdk/-/bnc-sdk-4.1.0.tgz#b7bd280a2e0d218b003ed9d227bcc36593bd6f04"
3350+
integrity sha512-gbW5wRLPB7HDzXof5VrkFSDoyfuD2O9K8dOTRQl2OE/HAj3/epKyccQDtWNLNih7t234VM/sv9t6nxqRnNRJmQ==
33513351
dependencies:
33523352
crypto-es "^1.2.2"
33533353
rxjs "^6.6.3"

0 commit comments

Comments
 (0)