Skip to content

Commit e7a68ba

Browse files
authored
some-web-fixes (#11432)
* safari sucks * chore(footer): open legal links in new tab and fix the privicy link
1 parent aba18bb commit e7a68ba

File tree

6 files changed

+20
-28
lines changed

6 files changed

+20
-28
lines changed

apps/web/src/lib/components/marketing/Footer.svelte

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,11 @@
130130
>©{new Date().getFullYear()} GitButler. All rights reserved.</span
131131
>
132132
<span class="meta-links__legal">
133-
<a href="/privacy">
133+
<a href={jsonLinks.legal.privacyPolicy.url} target="_blank">
134134
{jsonLinks.legal.privacyPolicy.label}
135135
</a>
136136
<span> | </span>
137-
<a href={jsonLinks.legal.termsOfService.url}>
137+
<a href={jsonLinks.legal.termsOfService.url} target="_blank">
138138
{jsonLinks.legal.termsOfService.label}
139139
</a>
140140
</span>
@@ -202,30 +202,28 @@
202202
203203
.banner-bg-grainy {
204204
position: absolute;
205-
width: 1100px;
206-
height: 900px;
205+
width: 900px;
206+
height: 800px;
207207
transform: rotate(26deg);
208-
background: url('/images/grainy-gr.png');
208+
background-image: url('/images/grainy-gradient-light.png');
209209
background-size: 100%;
210210
background-repeat: no-repeat;
211-
mix-blend-mode: screen;
212-
filter: invert(100%);
213-
opacity: 0.5;
211+
opacity: 0.4;
214212
pointer-events: none;
215213
}
216214
217215
.grainy-1 {
218216
bottom: -130%;
219-
left: -60%;
217+
left: -50%;
220218
}
221219
222220
.grainy-2 {
223-
right: -50%;
221+
right: -40%;
224222
bottom: -70%;
225223
}
226224
227225
:global(.dark) .banner-bg-grainy {
228-
opacity: 0.24;
226+
opacity: 0.2;
229227
}
230228
231229
.banner-content-downloads {

apps/web/src/routes/downloads/+page.svelte

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -350,22 +350,19 @@
350350
/* GRAINY BG */
351351
.grainy-bg {
352352
position: absolute;
353-
width: 1160px;
353+
width: 1000px;
354354
height: 950px;
355355
transform: rotate(30deg);
356-
background: url('/images/grainy-gr.png');
356+
background-image: url('/images/grainy-gradient-dark.png');
357357
background-size: 100%;
358358
background-repeat: no-repeat;
359-
mix-blend-mode: multiply;
360-
361359
opacity: 0.06;
362360
pointer-events: none;
363361
}
364362
365363
:global(.dark) .grainy-bg {
366-
mix-blend-mode: screen;
367-
filter: invert(100%);
368-
opacity: 0.08;
364+
background-image: url('/images/grainy-gradient-light.png');
365+
opacity: 0.07;
369366
}
370367
371368
.grainy-1 {

apps/web/src/routes/nightly/+page.svelte

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -568,32 +568,29 @@
568568
/* GRAINY BG */
569569
.grainy-bg {
570570
position: absolute;
571-
width: 1160px;
571+
width: 1000px;
572572
height: 950px;
573573
transform: rotate(30deg);
574-
background: url('/images/grainy-gr.png');
574+
background-image: url('/images/grainy-gradient-light.png');
575575
background-size: 100%;
576576
background-repeat: no-repeat;
577-
mix-blend-mode: screen;
578-
filter: invert(100%);
579-
opacity: 0.14;
577+
opacity: 0.08;
580578
pointer-events: none;
581579
}
582580
583581
:global(.dark) .grainy-bg {
584-
mix-blend-mode: multiply;
585-
filter: invert(0%);
586-
opacity: 0.12;
582+
background-image: url('/images/grainy-gradient-dark.png');
583+
opacity: 0.08;
587584
}
588585
589586
.grainy-1 {
590587
top: -40%;
591-
right: -50%;
588+
right: -45%;
592589
}
593590
594591
.grainy-2 {
595592
bottom: -80%;
596-
left: -60%;
593+
left: -70%;
597594
}
598595
599596
@media (--mobile-viewport) {
-50.4 KB
Binary file not shown.
23.1 KB
Loading
23.1 KB
Loading

0 commit comments

Comments
 (0)