Skip to content

Commit 4786185

Browse files
committed
fix: Adjust Hostinger card styling
1 parent 72aa66b commit 4786185

File tree

2 files changed

+43
-17
lines changed

2 files changed

+43
-17
lines changed

www/src/assets/hostinger.svg

Lines changed: 20 additions & 0 deletions
Loading

www/src/pages/index.astro

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import Layout from '../layouts/Layout.astro';
88
99
import Discord from '@/assets/discord.svg';
1010
import GitHub from '@/assets/github.svg';
11+
import HostingerWordmark from '@/assets/hostinger.svg';
1112
import AWS from '@/assets/icons/aws.svg';
1213
import Coolify from '@/assets/icons/coolify.svg';
1314
import Docker from '@/assets/icons/docker.svg';
@@ -317,21 +318,22 @@ const [npmDownloads, discordMembers, newestBlogPost, optimizedVideoPoster] = awa
317318
</Card>
318319
</div>
319320

320-
<div class="hosting-cta">
321-
<h3>Looking for a hosting provider? Try Hostinger!</h3>
322-
<span>High performance VPS perfect for hosting StudioCMS!</span>
323-
<Button
324-
as='a'
325-
href='https://www.hostinger.com/cart?product=vps%3Avps_kvm_2&period=12&referral_type=cart_link&REFERRALCODE=FSMAMATTH73C&referral_id=019b013c-6b5c-7321-842a-aa21eef07473'
321+
<Card class="hosting-cta">
322+
<HostingerWordmark width={300} height={60} />
323+
<h3>Want to self-host StudioCMS?</h3>
324+
<span>Hostinger offers high performance VPS, perfect for hosting StudioCMS. Use the link below to get a discount!</span>
325+
<Button
326+
as='a'
327+
href='https://www.hostinger.com/cart?product=vps%3Avps_kvm_2&period=12&referral_type=cart_link&REFERRALCODE=FSMAMATTH73C&referral_id=019b013c-6b5c-7321-842a-aa21eef07473'
326328
target='_blank'
327-
rel='noopener noreferrer'
329+
rel='noopener noreferrer'
328330
class="cta"
329331
color="primary"
330-
variant='outlined'
331-
>
332+
variant='solid'
333+
>
332334
<span>Get started with <strong>Hostinger VPS</strong></span>
333335
</Button>
334-
</div>
336+
</Card>
335337

336338
</section>
337339
{
@@ -1048,25 +1050,29 @@ const [npmDownloads, discordMembers, newestBlogPost, optimizedVideoPoster] = awa
10481050
align-items: center;
10491051
width: fit-content;
10501052
margin: 0 auto;
1051-
margin-top: 4rem;
1053+
margin-top: 8rem;
1054+
1055+
svg {
1056+
margin-bottom: 2rem;
1057+
}
10521058

10531059
h3 {
10541060
font-size: 1.5em;
1061+
margin-bottom: .5rem;
10551062
}
10561063

1057-
span {
1064+
> span {
10581065
color: var(--text-muted);
10591066
}
10601067

10611068
.cta {
1062-
margin-top: 1rem;
1069+
margin: auto;
1070+
margin-top: 2rem;
1071+
width: fit-content;
1072+
position: relative;
10631073
}
10641074
}
10651075

1066-
.hosting-cta:hover {
1067-
background-color: var(--background-step-2);
1068-
}
1069-
10701076
.sponsors {
10711077
text-align: center;
10721078
}

0 commit comments

Comments
 (0)