Skip to content

Commit 4627020

Browse files
committed
improve cloud page
1 parent 9ebb43f commit 4627020

File tree

6 files changed

+267
-94
lines changed

6 files changed

+267
-94
lines changed

assets/cloud/locations.png

76.4 KB
Loading

public/images/home/gladios.png

30.6 KB
Loading

public/images/home/valerya.png

35.4 KB
Loading

src/components/SimulatePriceComponent.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function DeploymentLocation(props: AddedLocation) {
2222
);
2323
}
2424

25-
export default function SimulatePriceComponent({title = "Pricing Simulator"}) {
25+
export default function SimulatePriceComponent({ title = "Pricing Simulator" }) {
2626
const [tierNames, setTierNames] = useState<any>([]);
2727
const [plans, setPlans] = useState<any>([]);
2828

@@ -131,12 +131,12 @@ export default function SimulatePriceComponent({title = "Pricing Simulator"}) {
131131

132132
return (
133133
<div>
134-
<h1 className="text-3xl text-center">{title}</h1>
134+
{(title && <h1 className="text-3xl text-center">{title}</h1>)}
135135

136136
<div className="flex flex-col mt-4 space-y-4">
137137
<div className="space-y-1">
138138
<span className="font-semibold block">Location</span>
139-
<select className="border p-3 rounded" onChange={onChangeLocation} placeholder="Select a location" value={selectedLocation}>
139+
<select className="border p-3 rounded text-slate-900" onChange={onChangeLocation} placeholder="Select a location" value={selectedLocation}>
140140
<option className="hidden" value="">Select a location</option>
141141
{Object.keys(regions).map((region_code: any) => (
142142
<optgroup key={region_code} label={regions[region_code]} >
@@ -154,7 +154,7 @@ export default function SimulatePriceComponent({title = "Pricing Simulator"}) {
154154

155155
<div className="space-y-1">
156156
<span className="font-semibold block">Plan</span>
157-
<select disabled={!selectedLocation} className="border p-3 rounded disabled:bg-gray-100" onChange={onChangePlan} value={selectedPlan} placeholder="Select plan">
157+
<select disabled={!selectedLocation} className="border p-3 rounded disabled:bg-gray-100 text-slate-900" onChange={onChangePlan} value={selectedPlan} placeholder="Select plan">
158158
{(selectedLocation)
159159
? Object.keys(tierNames).map((tierName: any) => (
160160
<optgroup key={tierName} label={tierName}>

src/pages/cloud-managed-hosting.astro

Lines changed: 258 additions & 87 deletions
Large diffs are not rendered by default.

src/pages/index.astro

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,13 @@ const subtitle = "Own your authoritative game servers. Versatile for any genre o
1818
<source src="/images/background/video.mp4" type="video/mp4">
1919
</video>
2020

21-
<div class="bg-gradient-black z-10 min-h-[50vh] lg:min-h-[99vh] flex">
22-
<div class="container mx-auto px-6 flex items-center flex-col lg:flex-row relative py-16 lg:py-20">
21+
<div class="bg-gradient-black z-10 min-h-[50vh] lg:min-h-[99vh] flex overflow-hidden">
22+
<div class="container mx-auto px-6 flex items-center flex-col lg:flex-row relative py-16 lg:py-20 ">
23+
<!-- <img src="/images/home/gladios.png" class="absolute -right-8 bottom-0 top-32 m-auto w-[26%] animate-leftToRight animation-delay-1" alt="Gladios" />
24+
<img src="/images/home/valerya.png" class="absolute -left-12 bottom-0 -top-48 m-auto w-[26%] animate-rightToLeft animation-delay-1" alt="Valerya" /> -->
2325
<div class="w-full text-center ">
2426
<div class="py-16 lg:py-20 animate-from-top-fade">
25-
<h1 class="text-5xl lg:text-7xl mb-2 font-medium drop-shadow-[0px_2px_1px_rgba(0,0,0,1)] ">
27+
<h1 class="text-5xl lg:text-7xl mb-2 font-medium drop-shadow-[0px_3px_2px_rgba(0,0,0,1)] ">
2628
<span class="text-lg lg:text-4xl tracking-tight text-gray-300 inline-block mb-2 lg:mb-0">Free and Open-source</span> <br/>
2729
<span class="gradient-text">Multiplayer Framework</span>
2830
</h1>

0 commit comments

Comments
 (0)