diff --git a/app/test/page.tsx b/app/test/page.tsx index d66ac21a0..58af217b8 100644 --- a/app/test/page.tsx +++ b/app/test/page.tsx @@ -1,80 +1,41 @@ 'use client'; - import { useState } from 'react'; -import LaunchCampaignFlow from '@/components/project/LaunchCampaignFlow'; -import BoundlessSheet from '@/components/sheet/boundless-sheet'; -import { Button } from '@/components/ui/button'; -import { Rocket } from 'lucide-react'; -import { useWalletProtection } from '@/hooks/use-wallet-protection'; -import WalletRequiredModal from '@/components/wallet/WalletRequiredModal'; - -export default function TestPage() { - const [showLaunchFlow, setShowLaunchFlow] = useState(false); - - // Wallet protection hook - const { - requireWallet, - showWalletModal, - handleWalletConnected, - closeWalletModal, - } = useWalletProtection({ - actionName: 'test launch campaign', - }); - - const handleOpenModal = () => { - requireWallet(() => setShowLaunchFlow(true)); - }; - - const handleCloseModal = () => { - setShowLaunchFlow(false); +import AuthLoadingState from '@/components/auth/AuthLoadingState'; +import { BoundlessButton } from '@/components/buttons'; + +export default function TestLoadingPage() { + const [showLoading, setShowLoading] = useState(false); + + const handleShowLoading = () => { + setShowLoading(true); + // Simulate loading for 3 seconds + setTimeout(() => { + setShowLoading(false); + }, 3000); }; return ( -
- Click the button below to test the Launch Campaign feature +
+ Test the animated loading state across different screen sizes
- +Test on different screen sizes:
+{errors.projectName}
+ )} ++ Accepted file type:{' '} + JPEG or{' '} + PNG, and less + than 2 MB. +
++ A size of{' '} + 480 x 480 px is + recommended. +
+{errors.logo}
+ )} +{errors.category}
+ )} ++ E.g., "https://github.com/org" or "https://github.com/org/repo" +
++ Tip: A YouTube video link will be displayed as an embedded player. +
++ You can add up to 3 social links on your BUIDL profile, e.g., + Facebook Page, Farcaster, Instagram, Substack, X/Twitter, + YakiHonne, etc. +
+{errors.socialLinks}
+ )} ++ Your Project contact information will be used for Project + verification and for Boundless staff to contact you. The contact + information can only be accessed by Boundless staff. +
+{errors.telegram}
+ )} ++ {errors.backupContact || errors.backupType} +
+ )} +Tell your project's full story...
++ Use text, images, links, or videos to bring your vision to + life. Format freely with headings, lists, and more. +
+{errors.vision}
+ )} +@@ -36,8 +38,12 @@ const Footer = ({
)} -