Update src/App.tsx
This commit is contained in:
+10
-24
@@ -2,23 +2,11 @@ import React from 'react';
|
||||
import { Flame, FlameKindle, MapPin, Search, Plus, Sparkles, Navigation, ArrowRight, Star, ShoppingBag, Truck, Camera, MessageSquareText, Timer, Bike, Banknote, Utensils } from 'lucide-react';
|
||||
|
||||
function Logo({ className = "h-8" }: { className?: string }) {
|
||||
const [imgError, setImgError] = React.useState(false);
|
||||
|
||||
// Fallback to text if the image is not uploaded yet
|
||||
if (imgError) {
|
||||
return (
|
||||
<span className="font-display font-extrabold text-3xl tracking-tighter text-on-surface lowercase">
|
||||
mealno
|
||||
</span>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<img
|
||||
src="/logo.png"
|
||||
alt="Mealno Logo"
|
||||
className={`object-contain block ${className}`}
|
||||
onError={() => setImgError(true)}
|
||||
/>
|
||||
);
|
||||
}
|
||||
@@ -261,23 +249,21 @@ function FounderSection() {
|
||||
const team = [
|
||||
{
|
||||
name: "Arnab Kapri",
|
||||
role: "Founder",
|
||||
quote: "\"Software dev by day, building your new favorite food brand by night to fix Newtown's late-night food scene.\"",
|
||||
img:
|
||||
src="/arnab.png"
|
||||
|
||||
},
|
||||
{
|
||||
name: "Alex Rivera",
|
||||
role: "Co-Founder & Head of Operations",
|
||||
quote: "\"Ensuring your late-night cravings hit your doorstep before the movie gets to the good part.\"",
|
||||
img: "https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?auto=format&fit=crop&w=800&q=80"
|
||||
quote: "\"Software dev by day, building your new favorite food brand by night to fix Newtown's late-night food scene.\"",
|
||||
img: "/arnab.png"
|
||||
},
|
||||
{
|
||||
name: "Sarah Chen",
|
||||
name: "Subham Kundu",
|
||||
role: "Founder",
|
||||
quote: "\"Ensuring your late-night cravings hit your doorstep before the movie gets to the good part.\"",
|
||||
img: "/founder.png"
|
||||
},
|
||||
{
|
||||
name: "Subhajit Mandal",
|
||||
role: "Co-Founder & Culinary Lead",
|
||||
quote: "\"Experimenting with flavors that'll make you rethink everything you know about midnight snacking.\"",
|
||||
img: "https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?auto=format&fit=crop&w=800&q=80"
|
||||
img: "/subha.png"
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user