Skip to content

Commit 5fab28a

Browse files
committed
docs: responsive improvements
1 parent b4d8b80 commit 5fab28a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/pages/pricing.vue

+7-7
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const evanTestimonial = computed(() => {
2424
<template>
2525
<div>
2626
<UContainer>
27-
<UPageHero align="center" :ui="{ base: 'z-10', wrapper: 'py-8 pb-0 sm:py-24 sm:pb-0' }">
27+
<UPageHero align="center" :ui="{ base: 'z-10', wrapper: 'py-12 pb-0 sm:py-24 sm:pb-0' }">
2828
<!-- <template #icon>
2929
<UBadge :label="page?.hero.headline" icon="" variant="outline" :ui="{ rounded: 'rounded-full' }" class="badge dark:border border-primary" />
3030
</template> -->
@@ -42,7 +42,7 @@ const evanTestimonial = computed(() => {
4242
<div class="w-full flex justify-center">
4343
<UPricingToggle
4444
v-model="isYearly"
45-
class="max-w-xs mb-16"
45+
class="max-w-xs mb-8 sm:mb-16"
4646
right="Yearly (2 months off)"
4747
:ui="{
4848
marker: 'bg-primary-500 dark:bg-green-400'
@@ -74,10 +74,10 @@ const evanTestimonial = computed(() => {
7474
<UCard class="mt-8" :ui="{ body: { padding: 'md:p-[40px]' } }">
7575
<div class="flex flex-col gap-y-4 text-center sm:text-left sm:flex-row sm:gap-y-0 justify-between items-center gap-x-8">
7676
<div class="flex flex-col gap-y-2">
77-
<h2 class="text-2xl font-semibold text-gray-950 dark:text-white">
77+
<h2 class="text-base sm:text-2xl font-semibold text-gray-950 dark:text-white">
7878
{{ page?.pricing.contact.title }}
7979
</h2>
80-
<p class="text-gray-500 dark:text-gray-400" v-html="page?.pricing.contact.description" />
80+
<p class="text-sm sm:text-base text-gray-500 dark:text-gray-400" v-html="page?.pricing.contact.description" />
8181
</div>
8282
<UButton v-bind="page?.pricing.contact.button" />
8383
</div>
@@ -89,9 +89,9 @@ const evanTestimonial = computed(() => {
8989
:title="page?.cloudflare.title"
9090
align="left"
9191
:ui="{
92-
wrapper: 'py-244',
92+
wrapper: 'py-12 sm:py-24',
9393
container: 'gap-y-8 sm:gap-y-12 lg:items-start',
94-
title: 'text-xl sm:text-2xl lg:text-3xl font-semibold',
94+
title: 'text-2xl sm:text-3xl lg:text-3xl font-semibold',
9595
description: 'text-base mt-3 dark:text-gray-400'
9696
}"
9797
>
@@ -106,7 +106,7 @@ const evanTestimonial = computed(() => {
106106
</div>
107107
</template>
108108
<UTabs
109-
class="pb-20 sm:pb-0 sm:w-full w-[calc(100vw-32px)]"
109+
class="pt-8 sm:pt-0 pb-20 sm:pb-0 sm:w-full w-[calc(100vw-32px)]"
110110
:items="page?.cloudflare.plans"
111111
:ui="{
112112
list: {

0 commit comments

Comments
 (0)