Skip to content

Commit

Permalink
add new pricing page (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsladerman authored Oct 18, 2024
1 parent 96244db commit e4ddcc3
Show file tree
Hide file tree
Showing 13 changed files with 927 additions and 3,025 deletions.
372 changes: 87 additions & 285 deletions pages/pricing.tsx

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions public/images/pricing/pricing-circles.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
64 changes: 0 additions & 64 deletions src/components/Checklist.tsx

This file was deleted.

13 changes: 12 additions & 1 deletion src/components/layout/GradientBG.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { type Merge } from 'type-fest'
const GradientBGSC = styled.div<{
$position?: string
$image?: string
$mobileImage?: string
$size?: string
$imageType?: 'image' | 'custom'
}>(
Expand All @@ -14,6 +15,7 @@ const GradientBGSC = styled.div<{
$position: position = 'top center',
$size = '100%',
$image: image = '/images/gradients/gradient-bg-1.jpg',
$mobileImage: mobileImage,
$imageType: imageType = 'image',
}) => ({
position: 'relative',
Expand All @@ -32,11 +34,17 @@ const GradientBGSC = styled.div<{
bottom: '0',
},
'.bg::before': {
backgroundImage: imageType === 'image' ? `url(${image})` : `${image}`,
backgroundImage: imageType === 'image' ? `url(${image})` : image,
backgroundPosition: position,
backgroundSize: $size,
backgroundRepeat: 'no-repeat',
backgroundColor: theme.colors['fill-zero'],
...(mobileImage && {
'@media (max-width: 767px)': {
backgroundImage:
imageType === 'image' ? `url(${mobileImage})` : mobileImage,
},
}),
},
'.content': {
position: 'relative',
Expand All @@ -49,6 +57,7 @@ export function GradientBG({
bgChildren,
position,
image,
mobileImage,
size,
imageType,
...props
Expand All @@ -59,6 +68,7 @@ export function GradientBG({
bgChildren?: ReactNode
position?: string
image?: string
mobileImage?: string
size?: string
imageType?: 'image' | 'custom'
}
Expand All @@ -67,6 +77,7 @@ export function GradientBG({
<GradientBGSC
$position={position}
$image={image}
$mobileImage={mobileImage}
$size={size}
$imageType={imageType}
{...props}
Expand Down
Loading

0 comments on commit e4ddcc3

Please sign in to comment.