Graphical PDS migrator for AT Protocol
at main 788 B view raw
1import { PageProps } from "fresh"; 2import MigrationSetup from "../../islands/MigrationSetup.tsx"; 3 4export default function Migrate(props: PageProps) { 5 const service = props.url.searchParams.get("service"); 6 const handle = props.url.searchParams.get("handle"); 7 const email = props.url.searchParams.get("email"); 8 const invite = props.url.searchParams.get("invite"); 9 10 return ( 11 <div class=" bg-gray-50 dark:bg-gray-900 p-4"> 12 <div class="max-w-2xl mx-auto"> 13 <h1 class="font-mono text-3xl font-bold text-gray-900 dark:text-white mb-8"> 14 Account Migration Self-Service Kiosk 15 </h1> 16 <MigrationSetup 17 service={service} 18 handle={handle} 19 email={email} 20 invite={invite} 21 /> 22 </div> 23 </div> 24 ); 25}