Skip to content

Commit 2f2f696

Browse files
committed
🔄 Sync Landing Page components
1 parent 85eb738 commit 2f2f696

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

components/landing/footer/LandingFooter.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export const LandingFooter = ({
1717
logoComponent,
1818
withBackground = false,
1919
withBackgroundGlow = false,
20+
withBackgroundGradient = false,
2021
variant = 'primary',
2122
backgroundGlowVariant = 'primary',
2223
}: {
@@ -28,6 +29,7 @@ export const LandingFooter = ({
2829
logoComponent?: React.ReactNode;
2930
withBackground?: boolean;
3031
withBackgroundGlow?: boolean;
32+
withBackgroundGradient?: boolean;
3133
variant?: 'primary' | 'secondary';
3234
backgroundGlowVariant?: 'primary' | 'secondary';
3335
}) => {
@@ -36,14 +38,17 @@ export const LandingFooter = ({
3638
return (
3739
<footer
3840
className={clsx(
39-
'mt-auto w-full bg-gradient-to-r from-white/5 via-white/60 to-white/5 backdrop-blur-sm dark:from-slate-700/5 dark:via-slate-700/60 dark:to-slate-700/5',
41+
'mt-auto w-full bg-gradient-to-r',
4042
withBackground && variant === 'primary'
4143
? 'bg-primary-100/20 dark:bg-primary-900/10'
4244
: '',
4345
withBackground && variant === 'secondary'
4446
? 'bg-secondary-100/20 dark:bg-secondary-900/10'
4547
: '',
4648
withBackgroundGlow ? 'relative overflow-hidden' : '',
49+
withBackgroundGradient
50+
? 'from-gray-50/5 via-gray-100/60 to-gray-50/5 backdrop-blur-sm dark:from-slate-700/5 dark:via-slate-700/60 dark:to-slate-700/5'
51+
: '',
4752
className,
4853
)}
4954
>

0 commit comments

Comments
 (0)