Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

Stylistic improvements

Blue Mouse6fabda092e2e
diff --git a/web/app/pages/Subscribe/Subscribe.tsx b/web/app/pages/Subscribe/Subscribe.tsx
index 7aa94157a..6b351247b 100644
--- a/web/app/pages/Subscribe/Subscribe.tsx
+++ b/web/app/pages/Subscribe/Subscribe.tsx
@@ -330,7 +330,7 @@ const Subscribe = () => {
<TrialTimeline />
- <div className='mx-auto w-full max-w-5xl space-y-16 px-4 pt-16 sm:px-6 sm:pt-20 lg:px-8'>
+ <div className='mx-auto w-full max-w-4xl space-y-16 px-4 pt-16 sm:px-6 sm:pt-20 lg:px-8'>
<SubscribeFeatures />
<SubscribeIncluded
@@ -343,17 +343,19 @@ const Subscribe = () => {
<SubscribeProof websiteCount={stats?.projects} />
<section className='mx-auto max-w-4xl'>
- <Text as='h2' size='2xl' weight='bold' tracking='tight'>
- {t('checkout.faq.title')}
- </Text>
- <Text
- as='p'
- size='base'
- colour='secondary'
- className='mt-2 leading-relaxed text-pretty'
- >
- {t('checkout.faq.subtitle')}
- </Text>
+ <div className='mx-auto max-w-2xl text-center'>
+ <Text as='h2' size='2xl' weight='bold' tracking='tight'>
+ {t('checkout.faq.title')}
+ </Text>
+ <Text
+ as='p'
+ size='base'
+ colour='secondary'
+ className='mx-auto mt-2 leading-relaxed text-pretty'
+ >
+ {t('checkout.faq.subtitle')}
+ </Text>
+ </div>
<FAQ items={faqItems} className='mt-5' defaultOpenFirst />
</section>
diff --git a/web/app/pages/Subscribe/SubscribeFeatures.tsx b/web/app/pages/Subscribe/SubscribeFeatures.tsx
index 7997b3c17..14d712560 100644
--- a/web/app/pages/Subscribe/SubscribeFeatures.tsx
+++ b/web/app/pages/Subscribe/SubscribeFeatures.tsx
@@ -6,7 +6,6 @@ import { Text } from '~/ui/Text'
interface FeatureCard {
key: 'traffic' | 'performance' | 'errors' | 'sessions'
- number: string
videoLight: string
videoDark: string
posterLight: string
@@ -16,7 +15,6 @@ interface FeatureCard {
const FEATURES: FeatureCard[] = [
{
key: 'traffic',
- number: '01',
videoLight: '/assets/onboarding/traffic-light.mp4',
videoDark: '/assets/onboarding/traffic-dark-2.mp4',
posterLight: '/assets/screenshot_light.png',
@@ -24,7 +22,6 @@ const FEATURES: FeatureCard[] = [
},
{
key: 'performance',
- number: '02',
videoLight: '/assets/onboarding/performance-light.mp4',
videoDark: '/assets/onboarding/performance-dark.mp4',
posterLight: '/assets/screenshot_perf_light.png',
@@ -32,7 +29,6 @@ const FEATURES: FeatureCard[] = [
},
{
key: 'errors',
- number: '03',
videoLight: '/assets/onboarding/errors-light.mp4',
videoDark: '/assets/onboarding/errors-dark.mp4',
posterLight: '/assets/screenshot_errors_light.png',
@@ -40,7 +36,6 @@ const FEATURES: FeatureCard[] = [
},
{
key: 'sessions',
- number: '04',
videoLight: '/assets/onboarding/sessions-light.mp4',
videoDark: '/assets/onboarding/sessions-dark.mp4',
posterLight: '/assets/screenshot_light.png',
@@ -94,7 +89,7 @@ export const SubscribeFeatures = () => {
return (
<section>
- <div className='max-w-2xl'>
+ <div className='mx-auto max-w-2xl text-center'>
<Text as='h2' size='2xl' weight='bold' tracking='tight'>
{t('checkout.features.title')}
</Text>
@@ -102,7 +97,7 @@ export const SubscribeFeatures = () => {
as='p'
size='base'
colour='secondary'
- className='mt-2 max-w-2xl leading-relaxed text-pretty'
+ className='mx-auto mt-2 max-w-2xl leading-relaxed text-pretty'
>
{t('checkout.features.subtitle')}
</Text>
@@ -128,24 +123,7 @@ export const SubscribeFeatures = () => {
label={label}
/>
<div className='p-5 sm:p-6'>
- <Text
- as='p'
- size='xs'
- weight='semibold'
- colour='secondary'
- className='tracking-wider'
- >
- {t('checkout.features.cardLabel', {
- number: feature.number,
- })}
- </Text>
- <Text
- as='h3'
- size='lg'
- weight='semibold'
- tracking='tight'
- className='mt-1'
- >
+ <Text as='h3' size='lg' weight='semibold' tracking='tight'>
{t(`checkout.features.cards.${feature.key}.title`)}
</Text>
<Text
diff --git a/web/app/pages/Subscribe/SubscribeIncluded.tsx b/web/app/pages/Subscribe/SubscribeIncluded.tsx
index eeab36e1e..46639b796 100644
--- a/web/app/pages/Subscribe/SubscribeIncluded.tsx
+++ b/web/app/pages/Subscribe/SubscribeIncluded.tsx
@@ -93,7 +93,7 @@ export const SubscribeIncluded = ({
return (
<section>
- <div className='max-w-2xl'>
+ <div className='mx-auto max-w-2xl text-center'>
<Text as='h2' size='2xl' weight='bold' tracking='tight'>
{t('checkout.included.title')}
</Text>
@@ -101,7 +101,7 @@ export const SubscribeIncluded = ({
as='p'
size='base'
colour='secondary'
- className='mt-2 max-w-2xl leading-relaxed text-pretty'
+ className='mx-auto mt-2 max-w-2xl leading-relaxed text-pretty'
>
{t('checkout.included.subtitle')}
</Text>
diff --git a/web/app/pages/Subscribe/SubscribeProof.tsx b/web/app/pages/Subscribe/SubscribeProof.tsx
index fd9c001b9..e630407c1 100644
--- a/web/app/pages/Subscribe/SubscribeProof.tsx
+++ b/web/app/pages/Subscribe/SubscribeProof.tsx
@@ -58,7 +58,7 @@ export const SubscribeProof = ({
return (
<section>
- <div className='max-w-2xl'>
+ <div className='mx-auto max-w-2xl text-center'>
<Text as='h2' size='2xl' weight='bold' tracking='tight'>
{t('checkout.testimonials.title')}
</Text>
@@ -66,7 +66,7 @@ export const SubscribeProof = ({
as='p'
size='base'
colour='secondary'
- className='mt-2 leading-relaxed text-pretty'
+ className='mx-auto mt-2 leading-relaxed text-pretty'
>
{t('checkout.testimonials.subtitle')}
</Text>
@@ -105,7 +105,7 @@ export const SubscribeProof = ({
<blockquote className='relative mt-4 flex-1'>
<Text
as='p'
- size='lg'
+ size='base'
colour='primary'
className='leading-relaxed text-pretty'
>