diff --git a/src/app/@auth/(.)search/page.tsx b/src/app/@auth/(.)search/page.tsx index c49bcd5..c687cf9 100644 --- a/src/app/@auth/(.)search/page.tsx +++ b/src/app/@auth/(.)search/page.tsx @@ -90,7 +90,10 @@ export default function Page() { @@ -113,7 +116,10 @@ export default function Page() { @@ -144,7 +150,10 @@ export default function Page() { @@ -168,7 +177,10 @@ export default function Page() { diff --git a/src/app/components/KeyPad/KeyPad.tsx b/src/app/components/KeyPad/KeyPad.tsx index 4677219..a90290e 100644 --- a/src/app/components/KeyPad/KeyPad.tsx +++ b/src/app/components/KeyPad/KeyPad.tsx @@ -21,7 +21,7 @@ export default function KeyPad({ setUsdcAmount, usdcAmount }: KeyPadProps) { }, [nums]); return ( -
+
${usdcAmount || 0}
diff --git a/src/app/components/Layouts/SheetLayout.tsx b/src/app/components/Layouts/SheetLayout.tsx index 2ca8664..e5c11c6 100644 --- a/src/app/components/Layouts/SheetLayout.tsx +++ b/src/app/components/Layouts/SheetLayout.tsx @@ -16,7 +16,6 @@ import { } from '@/app/components/ui/drawer'; import { useState } from 'react'; - const SheetLayout = ({ children }) => { const isOpen = useSelector((state) => state.sheet.value); @@ -41,12 +40,14 @@ const SheetLayout = ({ children }) => { dispatch(setSheet(false))} /> */} { dispatch(setSheet(false)); }} open={isOpen} > - + {children} diff --git a/src/app/components/Scanner/Scanner.tsx b/src/app/components/Scanner/Scanner.tsx index 9bbcc45..e7380bc 100644 --- a/src/app/components/Scanner/Scanner.tsx +++ b/src/app/components/Scanner/Scanner.tsx @@ -81,7 +81,7 @@ export default function Scanner({ initial={{ opacity: 0 }} animate={{ opacity: 1, - transition: { duration: 0.3, ease: 'easeInOut' }, + transition: { duration: 0.4, ease: 'easeInOut' }, }} exit={{ opacity: 0 }} key='qrcode' diff --git a/src/app/components/ui/button.tsx b/src/app/components/ui/button.tsx index a8adc37..9f5d1f6 100644 --- a/src/app/components/ui/button.tsx +++ b/src/app/components/ui/button.tsx @@ -5,7 +5,7 @@ import { cva, type VariantProps } from 'class-variance-authority'; import { cn } from '@/lib/utils'; const buttonVariants = cva( - 'w-full flex items-center active:scale-75 transition-transform transform transition-all duration-300 justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50', + 'w-full flex items-center active:scale-75 transition-transform transform transition-all duration-400 justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50', { variants: { variant: { diff --git a/src/app/components/ui/drawer.tsx b/src/app/components/ui/drawer.tsx index c45b3da..5811955 100644 --- a/src/app/components/ui/drawer.tsx +++ b/src/app/components/ui/drawer.tsx @@ -1,9 +1,9 @@ -"use client" +'use client'; -import * as React from "react" -import { Drawer as DrawerPrimitive } from "vaul" +import * as React from 'react'; +import { Drawer as DrawerPrimitive } from 'vaul'; -import { cn } from "@/lib/utils" +import { cn } from '@/lib/utils'; const Drawer = ({ shouldScaleBackground = true, @@ -13,14 +13,14 @@ const Drawer = ({ shouldScaleBackground={shouldScaleBackground} {...props} /> -) -Drawer.displayName = "Drawer" +); +Drawer.displayName = 'Drawer'; -const DrawerTrigger = DrawerPrimitive.Trigger +const DrawerTrigger = DrawerPrimitive.Trigger; -const DrawerPortal = DrawerPrimitive.Portal +const DrawerPortal = DrawerPrimitive.Portal; -const DrawerClose = DrawerPrimitive.Close +const DrawerClose = DrawerPrimitive.Close; const DrawerOverlay = React.forwardRef< React.ElementRef, @@ -28,11 +28,11 @@ const DrawerOverlay = React.forwardRef< >(({ className, ...props }, ref) => ( -)) -DrawerOverlay.displayName = DrawerPrimitive.Overlay.displayName +)); +DrawerOverlay.displayName = DrawerPrimitive.Overlay.displayName; const DrawerContent = React.forwardRef< React.ElementRef, @@ -42,9 +42,9 @@ const DrawerContent = React.forwardRef< )); -DrawerContent.displayName = "DrawerContent" +DrawerContent.displayName = 'DrawerContent'; const DrawerHeader = ({ className, ...props }: React.HTMLAttributes) => (
-) -DrawerHeader.displayName = "DrawerHeader" +); +DrawerHeader.displayName = 'DrawerHeader'; const DrawerFooter = ({ className, ...props }: React.HTMLAttributes) => (
-) -DrawerFooter.displayName = "DrawerFooter" +); +DrawerFooter.displayName = 'DrawerFooter'; const DrawerTitle = React.forwardRef< React.ElementRef, @@ -85,13 +85,13 @@ const DrawerTitle = React.forwardRef< -)) -DrawerTitle.displayName = DrawerPrimitive.Title.displayName +)); +DrawerTitle.displayName = DrawerPrimitive.Title.displayName; const DrawerDescription = React.forwardRef< React.ElementRef, @@ -99,11 +99,11 @@ const DrawerDescription = React.forwardRef< >(({ className, ...props }, ref) => ( -)) -DrawerDescription.displayName = DrawerPrimitive.Description.displayName +)); +DrawerDescription.displayName = DrawerPrimitive.Description.displayName; export { Drawer, @@ -116,4 +116,4 @@ export { DrawerFooter, DrawerTitle, DrawerDescription, -} +}; diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 95edba6..18fd86e 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -205,7 +205,8 @@ export default function RootLayout({ /* style={{ backgroundColor: 'rgba(16, 16, 18, 1)', }} */ - className=' h-screen w-screen text-gray-300' + vaul-drawer-wrapper='' + className='min-h-[100vh] text-gray-300' > {children}