'use client'; import { useSession } from 'next-auth/react'; import { useRouter } from 'next/navigation'; import { useEffect } from 'react'; import { Header } from '@/components/header'; import { HeroSection } from '@/components/hero-section'; import { Stats } from '@/components/stats'; import { Button } from '@/components/ui/button'; import { Card, CardContent } from '@/components/ui/card'; import { ArrowRight, Shield, Zap, Mail, Star } from 'lucide-react'; import Link from 'next/link'; export default function Home() { const { data: session, status } = useSession(); const router = useRouter(); useEffect(() => { // Redirect logged-in users to dashboard if (session) { router.push('/send'); } }, [session, router]); if (status === 'loading') { return (

Loading...

); } if (session) { return null; // Will redirect to dashboard } return (
{/* Features Section */}

Why Choose Transfer Tribe?

Built for security, designed for simplicity. Share files with confidence.

Enterprise Security

Bank-level encryption, password protection, and automatic expiration ensure your files stay secure.

Lightning Fast

Powered by Google Cloud Storage for maximum speed and reliability. Upload and share in seconds.

Email Integration

Recipients get secure download links directly in their inbox. No accounts required to download.

{/* How It Works */}

How It Works

Share files in three simple steps

1

Upload Files

Drag and drop your files or click to select. Files up to 2GB are supported on the free plan.

2

Add Recipients

Enter recipient email addresses and add an optional personal message.

3

Send Securely

Recipients receive an email with a secure download link and password.

{/* Testimonials */}

Trusted by Thousands

See what our users are saying about Transfer Tribe

{[...Array(5)].map((_, i) => ( ))}

“Transfer Tribe has revolutionized how we share large design files with clients. The security features give us peace of mind.”

S

Sarah Chen

Creative Director

{[...Array(5)].map((_, i) => ( ))}

“Simple, fast, and secure. Exactly what we needed for sharing confidential documents with our legal team.”

M

Michael Rodriguez

Business Owner

{[...Array(5)].map((_, i) => ( ))}

“The email integration is brilliant. Our clients love how easy it is to receive and download files.”

A

Alex Thompson

Freelancer

{/* CTA Section */}

Ready to Start Sharing?

Join thousands of users who trust Transfer Tribe for secure file sharing. Get started with our free plan today.

); }