Skip to content

Commit e5b350c

Browse files
committed
fix: marketing responsive stuff, n fixes
1 parent 41a6e50 commit e5b350c

File tree

2 files changed

+17
-11
lines changed

2 files changed

+17
-11
lines changed
111 KB
Loading

apps/frontend/src/pages/servers/index.vue

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
<template>
2-
<div data-pyro class="servers-hero relative isolate -mt-24 h-full min-h-screen pt-8">
2+
<div
3+
ref="scrollListener"
4+
data-pyro
5+
class="servers-hero relative isolate -mt-24 h-full min-h-screen pt-8"
6+
>
37
<PurchaseModal
48
v-if="showModal && selectedProduct && customer"
59
:key="selectedProduct.id"
@@ -21,9 +25,9 @@
2125
/>
2226

2327
<section
24-
class="relative mx-auto flex min-h-[calc(100vh-0px)] max-w-7xl flex-col justify-center px-3"
28+
class="mx-auto flex min-h-[calc(100vh-0px)] max-w-7xl flex-col justify-center px-3 pl-10 lg:pl-3"
2529
>
26-
<div class="relative z-[5] flex w-full flex-col gap-8">
30+
<div class="z-[5] flex w-full flex-col gap-8">
2731
<div class="flex flex-col gap-4">
2832
<div
2933
class="relative h-fit w-fit rounded-full bg-highlight-green px-3 py-1 text-sm font-bold text-brand backdrop-blur-lg"
@@ -60,12 +64,14 @@
6064
</div>
6165
</div>
6266

63-
<div class="absolute -right-1/3 top-24 z-[5] h-full max-h-[calc(100vh-10rem)] lg:hidden">
67+
<div
68+
class="absolute left-[65%] top-36 z-[5] hidden h-full max-h-[calc(100vh-10rem)] w-full rotate-1 lg:block"
69+
>
6470
<img
6571
src="~/assets/images/games/panel-hero.png"
6672
alt=""
6773
aria-hidden="true"
68-
class="pointer-events-none h-full w-full select-none"
74+
class="pointer-events-none h-full w-fit select-none"
6975
/>
7076
</div>
7177

@@ -423,8 +429,8 @@
423429
<span class="font-bold"> Servers are currently US only. More regions coming soon!</span>
424430
</h2>
425431

426-
<ul class="m-0 flex w-full flex-col gap-8 p-0 md:flex-row">
427-
<li class="flex w-full flex-col gap-4 rounded-2xl bg-bg p-8 text-left md:w-1/3">
432+
<ul class="m-0 flex w-full flex-col gap-8 p-0 lg:flex-row">
433+
<li class="flex w-full flex-col gap-4 rounded-2xl bg-bg p-8 text-left lg:w-1/3">
428434
<div class="flex flex-row items-center justify-between">
429435
<h1 class="m-0">Small</h1>
430436
<div
@@ -453,7 +459,7 @@
453459
@click="selectProduct(pyroProducts[0])"
454460
>
455461
Get Started
456-
<RightArrowIcon class="!min-h-4 !min-w-4" />
462+
<RightArrowIcon class="!min-h-4 !min-w-4 !text-blue" />
457463
</button>
458464
<NuxtLink
459465
v-else
@@ -483,7 +489,7 @@
483489
border: 1px solid rgba(12, 107, 52, 0.55);
484490
box-shadow: 0px 12px 38.1px rgba(27, 217, 106, 0.13);
485491
"
486-
class="flex w-full flex-col gap-4 rounded-2xl bg-bg p-8 text-left md:w-1/3"
492+
class="flex w-full flex-col gap-4 rounded-2xl bg-bg p-8 text-left lg:w-1/3"
487493
>
488494
<div class="flex flex-row items-center justify-between">
489495
<h1 class="m-0">Medium</h1>
@@ -531,7 +537,7 @@
531537
</ButtonStyled>
532538
</li>
533539

534-
<li class="flex w-full flex-col gap-4 rounded-2xl bg-bg p-8 text-left md:w-1/3">
540+
<li class="flex w-full flex-col gap-4 rounded-2xl bg-bg p-8 text-left lg:w-1/3">
535541
<div class="flex flex-row items-center justify-between">
536542
<h1 class="m-0">Large</h1>
537543
<div
@@ -558,7 +564,7 @@
558564
@click="selectProduct(pyroProducts[2])"
559565
>
560566
Get Started
561-
<RightArrowIcon class="!min-h-4 !min-w-4" />
567+
<RightArrowIcon class="!min-h-4 !min-w-4 !text-purple" />
562568
</button>
563569
<NuxtLink
564570
v-else

0 commit comments

Comments
 (0)