30 | {children} 31 |
32 | ); 33 | }; 34 | 35 | export default AnimatedShinyText; 36 | -------------------------------------------------------------------------------- /components/ui/sonner.tsx: -------------------------------------------------------------------------------- 1 | "use client" 2 | 3 | import { useTheme } from "next-themes" 4 | import { Toaster as Sonner } from "sonner" 5 | 6 | type ToasterProps = React.ComponentProps
28 | The next generation of digital asset inheritance.
29 |
30 | Secure, automated, and decentralized on Solana.
31 |
🏆 Backed by a $3000 grant from Superteam
40 |Built with ❤️ for the Solana community
41 | -------------------------------------------------------------------------------- /components/ui/card-spotlight.tsx: -------------------------------------------------------------------------------- 1 | "use client"; 2 | 3 | import { useMotionValue, motion, useMotionTemplate } from "framer-motion"; 4 | import React, { MouseEvent as ReactMouseEvent, useState } from "react"; 5 | import { CanvasRevealEffect } from "@/components/ui/canvas-reveal-effect"; 6 | import { cn } from "@/lib/utils"; 7 | 8 | export const CardSpotlight = ({ 9 | children, 10 | radius = 350, 11 | color = "#262626", 12 | className, 13 | ...props 14 | }: { 15 | radius?: number; 16 | color?: string; 17 | children: React.ReactNode; 18 | } & React.HTMLAttributes{title}
8 |37 | How it works 38 |
39 |52 | You can cancel the switch anytime until the time is up. 53 |
54 |86 | {description} 87 |
88 |437 | Set up automatic transfer of funds if you don't check in regularly 438 |
439 |485 | Duration: {duration} minutes 486 |
487 | )} 488 | 522 |No escrows found
531 | ) : ( 532 |547 | Beneficiary: {escrow.account.beneficiary.toString()} 548 |
549 |550 | Balance: {formatSolBalance(escrow.balance)} 551 |
552 |553 | Last Check-in: {new Date(escrow.account.lastCheckin.toNumber() * 1000).toLocaleString()} 554 |
555 |556 | Deadline: {new Date(escrow.account.deadline.toNumber() * 1000).toLocaleString()} 557 |
558 |559 | Time Remaining: {escrow.timeRemaining} 560 |
561 |