This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use client"; | |
import { motion } from "framer-motion"; | |
import { Button } from "@/components/ui/button"; | |
import Link from "next/link"; | |
import { ArrowRight, Wallet, Shield, Zap } from "lucide-react"; | |
export default function LandingPage() { | |
return ( | |
<div className="min-h-screen bg-gradient-to-br from-purple-900 via-gray-900 to-black text-white overflow-hidden"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use client"; | |
import React, { useMemo } from "react"; | |
import { | |
ConnectionProvider, | |
WalletProvider, | |
} from "@solana/wallet-adapter-react"; | |
import { WalletAdapterNetwork } from "@solana/wallet-adapter-base"; | |
import { WalletModalProvider } from "@solana/wallet-adapter-react-ui"; | |
import { clusterApiUrl } from "@solana/web3.js"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use client"; | |
import { WalletMultiButton } from "@solana/wallet-adapter-react-ui"; | |
import { useConnection, useWallet } from "@solana/wallet-adapter-react"; | |
import { LAMPORTS_PER_SOL } from "@solana/web3.js"; | |
import { useEffect, useState } from "react"; | |
export default function Home() { | |
const { connection } = useConnection(); | |
const { publicKey } = useWallet(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AppWalletProvider from "../components/AppWalletProvider"; | |
import { Geist, Geist_Mono } from "next/font/google"; | |
import "./globals.css"; | |
const geistSans = Geist({ | |
variable: "--font-geist-sans", | |
subsets: ["latin"], | |
}); |