Untitled
unknown
plain_text
23 days ago
13 kB
1
Indexable
import React from "react"; import { BrowserRouter as Router, Route, Routes, Link } from "react-router-dom"; import { Card, CardContent } from "@/components/ui/card"; import { Button } from "@/components/ui/button"; import { motion } from "framer-motion"; const Home = () => ( <motion.div initial={{ opacity: 0 }} animate={{ opacity: 1 }} className="p-6 text-center"> <h1 className="text-3xl font-bold">Welcome to LoveConnect</h1> <p className="mt-2">Find your perfect match today!</p> <Link to="/profiles"> <Button className="mt-4">View Profiles</Button> </Link> </motion.div> ); const ProfileCard = ({ name, age, bio }) => ( <Card className="p-4 shadow-lg rounded-lg text-center"> <CardContent> <h2 className="text-xl font-semibold">{name}, {age}</h2> <p className="mt-2">{bio}</p> <Button className="mt-4">Connect</Button> </CardContent> </Card> ); const Profiles = () => { const users = [ { name: "Alice", age: 28, bio: "Loves hiking and photography." }, { name: "Bob", age: 30, bio: "A foodie who enjoys traveling." }, { name: "Charlie", age: 27, bio: "Passionate about music and art." } ]; return ( <motion.div initial={{ opacity: 0 }} animate={{ opacity: 1 }} className="p-6 grid grid-cols-1 md:grid-cols-3 gap-6"> {users.map((user, index) => ( <ProfileCard key={index} {...user} /> ))} </motion.div> ); }; const App = () => ( <Router> <nav className="p-4 bg-blue-500 text-white flex justify-between"> <Link to="/" className="font-bold">LoveConnect</Link> <Link to="/profiles" className="underline">Profiles</Link> </nav> <Routes> <Route path="/" element={<Home />} /> <Route path="/profiles" element={<Profiles />} /> </Routes> </Router> ); export default App; import React from "react"; import { BrowserRouter as Router, Route, Routes, Link } from "react-router-dom"; import { Card, CardContent } from "@/components/ui/card"; import { Button } from "@/components/ui/button"; import { motion } from "framer-motion"; const Home = () => ( <motion.div initial={{ opacity: 0 }} animate={{ opacity: 1 }} className="p-6 text-center"> <h1 className="text-3xl font-bold">Welcome to LoveConnect</h1> <p className="mt-2">Find your perfect match today!</p> <Link to="/profiles"> <Button className="mt-4">View Profiles</Button> </Link> </motion.div> ); const ProfileCard = ({ name, age, bio }) => ( <Card className="p-4 shadow-lg rounded-lg text-center"> <CardContent> <h2 className="text-xl font-semibold">{name}, {age}</h2> <p className="mt-2">{bio}</p> <Button className="mt-4">Connect</Button> </CardContent> </Card> ); const Profiles = () => { const users = [ { name: "Alice", age: 28, bio: "Loves hiking and photography." }, { name: "Bob", age: 30, bio: "A foodie who enjoys traveling." }, { name: "Charlie", age: 27, bio: "Passionate about music and art." } ]; return ( <motion.div initial={{ opacity: 0 }} animate={{ opacity: 1 }} className="p-6 grid grid-cols-1 md:grid-cols-3 gap-6"> {users.map((user, index) => ( <ProfileCard key={index} {...user} /> ))} </motion.div> ); }; const App = () => ( <Router> <nav className="p-4 bg-blue-500 text-white flex justify-between"> <Link to="/" className="font-bold">LoveConnect</Link> <Link to="/profiles" className="underline">Profiles</Link> </nav> <Routes> <Route path="/" element={<Home />} /> <Route path="/profiles" element={<Profiles />} /> </Routes> </Router> ); export default App; import React from "react"; import { BrowserRouter as Router, Route, Routes, Link } from "react-router-dom"; import { Card, CardContent } from "@/components/ui/card"; import { Button } from "@/components/ui/button"; import { motion } from "framer-motion"; const Home = () => ( <motion.div initial={{ opacity: 0 }} animate={{ opacity: 1 }} className="p-6 text-center"> <h1 className="text-3xl font-bold">Welcome to LoveConnect</h1> <p className="mt-2">Find your perfect match today!</p> <Link to="/profiles"> <Button className="mt-4">View Profiles</Button> </Link> </motion.div> ); const ProfileCard = ({ name, age, bio }) => ( <Card className="p-4 shadow-lg rounded-lg text-center"> <CardContent> <h2 className="text-xl font-semibold">{name}, {age}</h2> <p className="mt-2">{bio}</p> <Button className="mt-4">Connect</Button> </CardContent> </Card> ); const Profiles = () => { const users = [ { name: "Alice", age: 28, bio: "Loves hiking and photography." }, { name: "Bob", age: 30, bio: "A foodie who enjoys traveling." }, { name: "Charlie", age: 27, bio: "Passionate about music and art." } ]; return ( <motion.div initial={{ opacity: 0 }} animate={{ opacity: 1 }} className="p-6 grid grid-cols-1 md:grid-cols-3 gap-6"> {users.map((user, index) => ( <ProfileCard key={index} {...user} /> ))} </motion.div> ); }; const App = () => ( <Router> <nav className="p-4 bg-blue-500 text-white flex justify-between"> <Link to="/" className="font-bold">LoveConnect</Link> <Link to="/profiles" className="underline">Profiles</Link> </nav> <Routes> <Route path="/" element={<Home />} /> <Route path="/profiles" element={<Profiles />} /> </Routes> </Router> ); export default App; import React from "react"; import { BrowserRouter as Router, Route, Routes, Link } from "react-router-dom"; import { Card, CardContent } from "@/components/ui/card"; import { Button } from "@/components/ui/button"; import { motion } from "framer-motion"; const Home = () => ( <motion.div initial={{ opacity: 0 }} animate={{ opacity: 1 }} className="p-6 text-center"> <h1 className="text-3xl font-bold">Welcome to LoveConnect</h1> <p className="mt-2">Find your perfect match today!</p> <Link to="/profiles"> <Button className="mt-4">View Profiles</Button> </Link> </motion.div> ); const ProfileCard = ({ name, age, bio }) => ( <Card className="p-4 shadow-lg rounded-lg text-center"> <CardContent> <h2 className="text-xl font-semibold">{name}, {age}</h2> <p className="mt-2">{bio}</p> <Button className="mt-4">Connect</Button> </CardContent> </Card> ); const Profiles = () => { const users = [ { name: "Alice", age: 28, bio: "Loves hiking and photography." }, { name: "Bob", age: 30, bio: "A foodie who enjoys traveling." }, { name: "Charlie", age: 27, bio: "Passionate about music and art." } ]; return ( <motion.div initial={{ opacity: 0 }} animate={{ opacity: 1 }} className="p-6 grid grid-cols-1 md:grid-cols-3 gap-6"> {users.map((user, index) => ( <ProfileCard key={index} {...user} /> ))} </motion.div> ); }; const App = () => ( <Router> <nav className="p-4 bg-blue-500 text-white flex justify-between"> <Link to="/" className="font-bold">LoveConnect</Link> <Link to="/profiles" className="underline">Profiles</Link> </nav> <Routes> <Route path="/" element={<Home />} /> <Route path="/profiles" element={<Profiles />} /> </Routes> </Router> ); export default App; import React from "react"; import { BrowserRouter as Router, Route, Routes, Link } from "react-router-dom"; import { Card, CardContent } from "@/components/ui/card"; import { Button } from "@/components/ui/button"; import { motion } from "framer-motion"; const Home = () => ( <motion.div initial={{ opacity: 0 }} animate={{ opacity: 1 }} className="p-6 text-center"> <h1 className="text-3xl font-bold">Welcome to LoveConnect</h1> <p className="mt-2">Find your perfect match today!</p> <Link to="/profiles"> <Button className="mt-4">View Profiles</Button> </Link> </motion.div> ); const ProfileCard = ({ name, age, bio }) => ( <Card className="p-4 shadow-lg rounded-lg text-center"> <CardContent> <h2 className="text-xl font-semibold">{name}, {age}</h2> <p className="mt-2">{bio}</p> <Button className="mt-4">Connect</Button> </CardContent> </Card> ); const Profiles = () => { const users = [ { name: "Alice", age: 28, bio: "Loves hiking and photography." }, { name: "Bob", age: 30, bio: "A foodie who enjoys traveling." }, { name: "Charlie", age: 27, bio: "Passionate about music and art." } ]; return ( <motion.div initial={{ opacity: 0 }} animate={{ opacity: 1 }} className="p-6 grid grid-cols-1 md:grid-cols-3 gap-6"> {users.map((user, index) => ( <ProfileCard key={index} {...user} /> ))} </motion.div> ); }; const App = () => ( <Router> <nav className="p-4 bg-blue-500 text-white flex justify-between"> <Link to="/" className="font-bold">LoveConnect</Link> <Link to="/profiles" className="underline">Profiles</Link> </nav> <Routes> <Route path="/" element={<Home />} /> <Route path="/profiles" element={<Profiles />} /> </Routes> </Router> ); export default App; import React from "react"; import { BrowserRouter as Router, Route, Routes, Link } from "react-router-dom"; import { Card, CardContent } from "@/components/ui/card"; import { Button } from "@/components/ui/button"; import { motion } from "framer-motion"; const Home = () => ( <motion.div initial={{ opacity: 0 }} animate={{ opacity: 1 }} className="p-6 text-center"> <h1 className="text-3xl font-bold">Welcome to LoveConnect</h1> <p className="mt-2">Find your perfect match today!</p> <Link to="/profiles"> <Button className="mt-4">View Profiles</Button> </Link> </motion.div> ); const ProfileCard = ({ name, age, bio }) => ( <Card className="p-4 shadow-lg rounded-lg text-center"> <CardContent> <h2 className="text-xl font-semibold">{name}, {age}</h2> <p className="mt-2">{bio}</p> <Button className="mt-4">Connect</Button> </CardContent> </Card> ); const Profiles = () => { const users = [ { name: "Alice", age: 28, bio: "Loves hiking and photography." }, { name: "Bob", age: 30, bio: "A foodie who enjoys traveling." }, { name: "Charlie", age: 27, bio: "Passionate about music and art." } ]; return ( <motion.div initial={{ opacity: 0 }} animate={{ opacity: 1 }} className="p-6 grid grid-cols-1 md:grid-cols-3 gap-6"> {users.map((user, index) => ( <ProfileCard key={index} {...user} /> ))} </motion.div> ); }; const App = () => ( <Router> <nav className="p-4 bg-blue-500 text-white flex justify-between"> <Link to="/" className="font-bold">LoveConnect</Link> <Link to="/profiles" className="underline">Profiles</Link> </nav> <Routes> <Route path="/" element={<Home />} /> <Route path="/profiles" element={<Profiles />} /> </Routes> </Router> ); export default App; import React from "react"; import { BrowserRouter as Router, Route, Routes, Link } from "react-router-dom"; import { Card, CardContent } from "@/components/ui/card"; import { Button } from "@/components/ui/button"; import { motion } from "framer-motion"; const Home = () => ( <motion.div initial={{ opacity: 0 }} animate={{ opacity: 1 }} className="p-6 text-center"> <h1 className="text-3xl font-bold">Welcome to LoveConnect</h1> <p className="mt-2">Find your perfect match today!</p> <Link to="/profiles"> <Button className="mt-4">View Profiles</Button> </Link> </motion.div> ); const ProfileCard = ({ name, age, bio }) => ( <Card className="p-4 shadow-lg rounded-lg text-center"> <CardContent> <h2 className="text-xl font-semibold">{name}, {age}</h2> <p className="mt-2">{bio}</p> <Button className="mt-4">Connect</Button> </CardContent> </Card> ); const Profiles = () => { const users = [ { name: "Alice", age: 28, bio: "Loves hiking and photography." }, { name: "Bob", age: 30, bio: "A foodie who enjoys traveling." }, { name: "Charlie", age: 27, bio: "Passionate about music and art." } ]; return ( <motion.div initial={{ opacity: 0 }} animate={{ opacity: 1 }} className="p-6 grid grid-cols-1 md:grid-cols-3 gap-6"> {users.map((user, index) => ( <ProfileCard key={index} {...user} /> ))} </motion.div> ); }; const App = () => ( <Router> <nav className="p-4 bg-blue-500 text-white flex justify-between"> <Link to="/" className="font-bold">LoveConnect</Link> <Link to="/profiles" className="underline">Profiles</Link> </nav> <Routes> <Route path="/" element={<Home />} /> <Route path="/profiles" element={<Profiles />} /> </Routes> </Router> ); export default App; import React from "react"; import { BrowserRouter as Router, Route, Routes, Link } from "react-router-dom"; import { Card, CardContent } from "@/components/ui/card"; import { Button } from "@/components/ui/button"; import { motion } from "framer-motion"; const Home = () => ( <motion.div initial={{ opacity: 0 }} animate={{ opacity: 1 }} className="p-6 text-center"> <h1 className="text-3xl font-bold">Welcome to LoveConnect</h1> <p className="mt-2">Find your perfect match today!</p> <Link to="/profiles"> <Button className="mt-4">View Profiles</Button> 7</Link> </motion.div> ); const ProfileCard = ({ name, age, bio }) => ( <Card className="p-4 shadow-lg rounded-lg text-center"> <CardContent> <h2 className="text-xl font-semibold">{name}, {age}</h2> <p className="mt-2">{bio}</p> <Button className="mt-4">Connect</Button> </CardContent> </Card> ); const Profiles = () => { const users = [ { name: "Alice", age: 28, bio: "Loves hiking and photography." }, { name: "Bob", age: 30, bio: "A foodie who enjoys traveling." }, { name: "Charlie", age: 27, bio: "Passionate about music and art." } ]; return ( <motion.div initial={{ opacity: 0 }} animate={{ opacity: 1 }} className="p-6 grid grid-cols-1 md:grid-cols-3 gap-6"> {users.map((user, index) => ( <ProfileCard key={index} {...user} /> ))} </motion.div> ); }; const App = () => ( <Router> <nav className="p-4 bg-blue-500 text-white flex justify-between"> <Link to="/" className="font-bold">LoveConnect</Link> <Link to="/profiles" className="underline">Profiles</Link> </nav> <Routes> <Route path="/" element={<Home />} /> <Route path="/profiles" element={<Profiles />} /> </Routes> </Router> ); export default App;
Editor is loading...
Leave a Comment