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';
|
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 }) {
|
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 (
|
return (
|
||||||
<img
|
<img
|
||||||
src="/logo.png"
|
src="/logo.png"
|
||||||
alt="Mealno Logo"
|
alt="Mealno Logo"
|
||||||
className={`object-contain block ${className}`}
|
className={`object-contain block ${className}`}
|
||||||
onError={() => setImgError(true)}
|
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -261,23 +249,21 @@ function FounderSection() {
|
|||||||
const team = [
|
const team = [
|
||||||
{
|
{
|
||||||
name: "Arnab Kapri",
|
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",
|
role: "Co-Founder & Head of Operations",
|
||||||
quote: "\"Ensuring your late-night cravings hit your doorstep before the movie gets to the good part.\"",
|
quote: "\"Software dev by day, building your new favorite food brand by night to fix Newtown's late-night food scene.\"",
|
||||||
img: "https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?auto=format&fit=crop&w=800&q=80"
|
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",
|
role: "Co-Founder & Culinary Lead",
|
||||||
quote: "\"Experimenting with flavors that'll make you rethink everything you know about midnight snacking.\"",
|
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