Skip to content

Commit f8b7b92

Browse files
committed
Update twitter icon to x icon.
1 parent 6b90ce9 commit f8b7b92

File tree

5 files changed

+14
-23
lines changed

5 files changed

+14
-23
lines changed

app/assets/css/launcher.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3136,13 +3136,13 @@ input:checked + .toggleSwitchSlider:before {
31363136
transition-delay:0s;
31373137
}
31383138

3139-
/* Twitter icon colors. */
3140-
#twitterSVG:hover,
3141-
#twitterURL:focus #twitterSVG {
3142-
fill: #1da1f2;
3139+
/* X icon colors. */
3140+
#xSVG:hover,
3141+
#xURL:focus #xSVG {
3142+
fill: #000000;
31433143
}
3144-
#twitterSVG:active {
3145-
fill: #1b8dd4;
3144+
#xSVG:active {
3145+
fill: #090909;
31463146
}
31473147

31483148
/* Instagram icon colors. */

app/assets/images/icons/twitter.svg

Lines changed: 0 additions & 13 deletions
This file was deleted.

app/assets/images/icons/x.svg

Lines changed: 4 additions & 0 deletions
Loading

app/assets/lang/_custom.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title = "Helios Launcher"
55

66
[ejs.landing]
77
mediaGitHubURL = "https://github.com/dscalzi/HeliosLauncher"
8-
mediaTwitterURL = "#"
8+
mediaXURL = "#"
99
mediaInstagramURL = "#"
1010
mediaYouTubeURL = "#"
1111
mediaDiscordURL = "https://discord.gg/zNWUXdt"

app/landing.ejs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@
4040
</a>
4141
</div>
4242
<div class="mediaContainer">
43-
<a href="<%- lang('landing.mediaTwitterURL') %>" class="mediaURL" id="twitterURL">
44-
<svg id="twitterSVG" class="mediaSVG" viewBox="0 0 5000 4060" preserveAspectRatio="xMidYMid meet">
43+
<a href="<%- lang('landing.mediaXURL') %>" class="mediaURL" id="xURL">
44+
<svg id="xSVG" class="mediaSVG" viewBox="0 0 275 275">
4545
<g>
46-
<path d="M1210 4048 c-350 -30 -780 -175 -1124 -378 -56 -33 -86 -57 -86 -68 0 -16 7 -17 83 -9 114 12 349 1 493 -22 295 -49 620 -180 843 -341 l54 -38 -49 -7 c-367 -49 -660 -256 -821 -582 -30 -61 -53 -120 -51 -130 3 -16 12 -17 73 -13 97 7 199 5 270 -4 l60 -9 -65 -22 c-341 -117 -609 -419 -681 -769 -18 -88 -26 -226 -13 -239 4 -3 32 7 63 22 68 35 198 77 266 86 28 4 58 9 68 12 10 2 -22 -34 -72 -82 -240 -232 -353 -532 -321 -852 15 -149 79 -347 133 -418 16 -20 17 -19 49 20 377 455 913 795 1491 945 160 41 346 74 485 86 l82 7 -7 -59 c-5 -33 -7 -117 -6 -189 2 -163 31 -286 103 -430 141 -285 422 -504 708 -550 112 -19 333 -19 442 0 180 30 335 108 477 239 l58 54 95 -24 c143 -36 286 -89 427 -160 70 -35 131 -60 135 -56 19 19 -74 209 -151 312 -50 66 -161 178 -216 217 l-30 22 73 -14 c111 -21 257 -63 353 -101 99 -39 99 -39 99 -19 0 57 -237 326 -412 468 l-88 71 6 51 c4 28 1 130 -5 226 -30 440 -131 806 -333 1202 -380 745 -1036 1277 -1823 1477 -243 62 -430 81 -786 78 -134 0 -291 -5 -349 -10z"/>
46+
<path d="m236 0h46l-101 115 118 156h-92.6l-72.5-94.8-83 94.8h-46l107-123-113-148h94.9l65.5 86.6zm-16.1 244h25.5l-165-218h-27.4z"/>
4747
</g>
4848
</svg>
4949
</a>

0 commit comments

Comments
 (0)