♻️ refactor(ui): Dependencies

This commit is contained in:
web@ppanel
2024-11-14 21:21:00 +07:00
parent 5af60aa4de
commit 727d779b84
187 changed files with 26448 additions and 14037 deletions
-42
View File
@@ -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>
);
}
+8 -8
View File
@@ -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"
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB