https://altly.madebydanny.uk
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Visual edit in Lovable

Edited UI in Lovable

+9 -17
+9 -17
src/pages/Landing.tsx
··· 4 4 import { Button } from "@/components/ui/button"; 5 5 import { Card } from "@/components/ui/card"; 6 6 import { supabase } from "@/integrations/supabase/client"; 7 - 8 7 export default function Landing() { 9 8 const navigate = useNavigate(); 10 - 11 9 useEffect(() => { 12 10 // Check if user is already logged in 13 - supabase.auth.getSession().then(({ data: { session } }) => { 11 + supabase.auth.getSession().then(({ 12 + data: { 13 + session 14 + } 15 + }) => { 14 16 if (session) { 15 17 navigate("/app"); 16 18 } 17 19 }); 18 20 }, [navigate]); 19 - 20 - return ( 21 - <div className="min-h-screen bg-background"> 21 + return <div className="min-h-screen bg-background"> 22 22 {/* Header */} 23 23 <header className="border-b border-border/50 bg-card/50 backdrop-blur-sm sticky top-0 z-50"> 24 24 <div className="container mx-auto px-4 py-4 flex items-center justify-between"> ··· 116 116 <footer className="border-t border-border/50 py-8 mt-20"> 117 117 <div className="container mx-auto px-4 text-center text-sm text-muted-foreground"> 118 118 © 2024-2025 Made with ❤️ by{" "} 119 - <a 120 - href="https://github.com/dannyuk" 121 - target="_blank" 122 - rel="noopener noreferrer" 123 - className="text-primary hover:underline" 124 - > 125 - Danny UK 126 - </a> 119 + <a href="https://github.com/dannyuk" target="_blank" rel="noopener noreferrer" className="text-primary hover:underline">Made by Danny UK, by Daniel Morrisey</a> 127 120 </div> 128 121 </footer> 129 - </div> 130 - ); 131 - } 122 + </div>; 123 + }