♻️ refactor(ui): Dependencies
@@ -13,15 +13,15 @@
|
||||
"@iconify/react": "^5.0.2",
|
||||
"@repo/ui": "workspace:*",
|
||||
"@shadcn/ui": "workspace:*",
|
||||
"@tanstack/react-query": "^5.59.20",
|
||||
"@tanstack/react-query-next-experimental": "^5.59.20",
|
||||
"@tanstack/react-query": "^5.60.2",
|
||||
"@tanstack/react-query-next-experimental": "^5.60.2",
|
||||
"ahooks": "^3.8.1",
|
||||
"axios": "^1.7.7",
|
||||
"crypto-js": "^4.2.0",
|
||||
"mathjs": "^13.2.1",
|
||||
"mathjs": "^13.2.2",
|
||||
"nanoid": "^5.0.8",
|
||||
"next": "^15.0.3",
|
||||
"next-intl": "^3.25.0",
|
||||
"next-intl": "^3.25.1",
|
||||
"next-runtime-env": "^3.2.2",
|
||||
"next-themes": "^0.4.3",
|
||||
"nextjs-toploader": "^3.7.15",
|
||||
@@ -36,8 +36,8 @@
|
||||
"@repo/eslint-config": "workspace:*",
|
||||
"@repo/typescript-config": "workspace:*",
|
||||
"@types/node": "^22.9.0",
|
||||
"@types/react": "^18",
|
||||
"@types/react-dom": "^18",
|
||||
"@types/react": "^18.3.12",
|
||||
"@types/react-dom": "^18.3.1",
|
||||
"typescript": "^5.6.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,10 +10,8 @@ import {
|
||||
UsersIcon,
|
||||
} from '@repo/ui/lotties';
|
||||
import { Button, buttonVariants } from '@shadcn/ui/button';
|
||||
import Marquee from '@shadcn/ui/marquee';
|
||||
import { AnimationProps, motion, MotionProps } from 'framer-motion';
|
||||
import { useTranslations } from 'next-intl';
|
||||
import Image from 'next/legacy/image';
|
||||
import Link from 'next/link';
|
||||
import { useMemo } from 'react';
|
||||
|
||||
@@ -243,46 +241,6 @@ export default function Page() {
|
||||
<GlobalMapIcon className='-mt-[25%] w-full' />
|
||||
</motion.div>
|
||||
</ScrollAnimationWrapper>
|
||||
<ScrollAnimationWrapper>
|
||||
<motion.div
|
||||
className='relative mx-auto flex items-center justify-center overflow-hidden py-6'
|
||||
variants={scrollAnimation}
|
||||
>
|
||||
<Marquee pauseOnHover className='[--duration:20s]'>
|
||||
{[
|
||||
'facebook',
|
||||
'google',
|
||||
'hbo',
|
||||
'instagram',
|
||||
'netflix',
|
||||
'primevideo',
|
||||
'reddit',
|
||||
'snapchat',
|
||||
'spotify',
|
||||
'twitch',
|
||||
'twitter',
|
||||
'whatsapp',
|
||||
'youtube',
|
||||
].map((logo) => (
|
||||
<div
|
||||
className='mx-10 flex shrink-0 items-center justify-center dark:invert'
|
||||
key={logo}
|
||||
>
|
||||
<Image
|
||||
src={`/index/${logo}.png`}
|
||||
alt={logo}
|
||||
width={120}
|
||||
height={48}
|
||||
className='h-12 w-auto object-contain'
|
||||
/>
|
||||
</div>
|
||||
))}
|
||||
</Marquee>
|
||||
|
||||
<div className='from-background absolute inset-y-0 left-0 w-12 bg-gradient-to-r to-transparent'></div>
|
||||
<div className='from-background absolute inset-y-0 right-0 w-12 bg-gradient-to-l to-transparent'></div>
|
||||
</motion.div>
|
||||
</ScrollAnimationWrapper>
|
||||
</main>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -15,16 +15,16 @@
|
||||
"@shadcn/ui": "workspace:*",
|
||||
"@stripe/react-stripe-js": "^2.9.0",
|
||||
"@stripe/stripe-js": "^4.10.0",
|
||||
"@tanstack/react-query": "^5.59.20",
|
||||
"@tanstack/react-query-next-experimental": "^5.59.20",
|
||||
"@tanstack/react-query": "^5.60.2",
|
||||
"@tanstack/react-query-next-experimental": "^5.60.2",
|
||||
"ahooks": "^3.8.1",
|
||||
"axios": "^1.7.7",
|
||||
"crypto-js": "^4.2.0",
|
||||
"framer-motion": "^11.11.11",
|
||||
"lucide-react": "^0.446.0",
|
||||
"mathjs": "^13.2.1",
|
||||
"framer-motion": "^11.11.16",
|
||||
"lucide-react": "^0.456.0",
|
||||
"mathjs": "^13.2.2",
|
||||
"next": "^15.0.3",
|
||||
"next-intl": "^3.25.0",
|
||||
"next-intl": "^3.25.1",
|
||||
"next-runtime-env": "^3.2.2",
|
||||
"next-themes": "^0.4.3",
|
||||
"nextjs-toploader": "^3.7.15",
|
||||
@@ -40,8 +40,8 @@
|
||||
"@repo/eslint-config": "workspace:*",
|
||||
"@repo/typescript-config": "workspace:*",
|
||||
"@types/node": "^22.9.0",
|
||||
"@types/react": "^18",
|
||||
"@types/react-dom": "^18",
|
||||
"@types/react": "^18.3.12",
|
||||
"@types/react-dom": "^18.3.1",
|
||||
"typescript": "^5.6.3"
|
||||
}
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 8.0 KiB |
|
Before Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 54 KiB |