Merge version_1_1781857549596 into main #1

Merged
bender merged 3 commits from version_1_1781857549596 into main 2026-06-19 08:27:11 +00:00
2 changed files with 63 additions and 182 deletions

View File

@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Home",
"href": "/"
"name": "Home", "href": "/"
},
{
"name": "How It Works",
"href": "#how-it-works"
"name": "How It Works", "href": "#how-it-works"
},
{
"name": "Features",
"href": "#features"
"name": "Features", "href": "#features"
},
{
"name": "About",
"href": "#about"
"name": "About", "href": "#about"
},
{
"name": "Hero",
"href": "#hero"
"name": "Hero", "href": "#hero"
},
{
"name": "Product Highlights",
"href": "#product-highlights"
"name": "Product Highlights", "href": "#product-highlights"
},
{
"name": "Testimonials",
"href": "#testimonials"
"name": "Testimonials", "href": "#testimonials"
}
];
@@ -44,9 +37,7 @@ export default function Layout() {
<NavbarInline
logo="TruthBite AI"
ctaButton={{
text: "Scan Food",
href: "/scan",
}}
text: "Scan Food", href: "/scan"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -55,56 +46,40 @@ export default function Layout() {
<SectionErrorBoundary name="footer">
<FooterSimpleCard
brand="TruthBite AI"
links={[
{ label: "Privacy", href: "/privacy" },
{ label: "Terms", href: "/terms" },
{ label: "Disclaimer", href: "/disclaimer" }
]}
columns={[
{
title: "Platform",
items: [
title: "Platform", items: [
{
label: "Scan",
href: "/scan",
},
label: "Scan", href: "/scan"},
{
label: "Directory",
href: "/explore",
},
label: "Directory", href: "/explore"},
{
label: "Pricing",
href: "/pricing",
},
label: "Pricing", href: "/pricing"},
],
},
{
title: "Company",
items: [
title: "Company", items: [
{
label: "About",
href: "/about",
},
label: "About", href: "/about"},
{
label: "Careers",
href: "/careers",
},
label: "Careers", href: "/careers"},
{
label: "Contact",
href: "/contact",
},
label: "Contact", href: "/contact"},
],
},
{
title: "Legal",
items: [
title: "Legal", items: [
{
label: "Privacy",
href: "/privacy",
},
label: "Privacy", href: "/privacy"},
{
label: "Terms",
href: "/terms",
},
label: "Terms", href: "/terms"},
{
label: "Disclaimer",
href: "/disclaimer",
},
label: "Disclaimer", href: "/disclaimer"},
],
},
]}

View File

@@ -18,13 +18,9 @@ export default function HomePage() {
title="Know what you are really eating."
description="Upload one photo of any packaged or unpackaged food and receive an easy-to-understand AI health report, ingredient insights, marketing-claim analysis and healthier alternatives."
primaryButton={{
text: "Start Scanning",
href: "/scan",
}}
text: "Start Scanning", href: "/scan"}}
secondaryButton={{
text: "Learn More",
href: "#how-it-works",
}}
text: "Learn More", href: "#how-it-works"}}
imageSrc="http://img.b2bpic.net/free-photo/person-taking-photo-cherries-blueberries-plate-with-smartphone_23-2149428178.jpg"
/>
</SectionErrorBoundary>
@@ -35,9 +31,7 @@ export default function HomePage() {
<AboutText
title="Our platform empowers you to make informed dietary decisions by simplifying complex nutrition data into actionable insights."
primaryButton={{
text: "Read the Science",
href: "/about",
}}
text: "Read the Science", href: "/about"}}
/>
</SectionErrorBoundary>
</div>
@@ -50,20 +44,11 @@ export default function HomePage() {
description="Our AI pipeline ensures accuracy and reliability in every analysis."
items={[
{
title: "Take a photo",
description: "Snap a picture of the product label or your meal.",
imageSrc: "http://img.b2bpic.net/free-photo/courier-delivering-parcel-client_23-2149229180.jpg",
},
title: "Take a photo", description: "Snap a picture of the product label or your meal.", imageSrc: "http://img.b2bpic.net/free-photo/courier-delivering-parcel-client_23-2149229180.jpg"},
{
title: "AI Analysis",
description: "Our model processes ingredients and nutrition facts in seconds.",
imageSrc: "http://img.b2bpic.net/free-photo/healthy-natural-super-food_53876-120061.jpg",
},
title: "AI Analysis", description: "Our model processes ingredients and nutrition facts in seconds.", imageSrc: "http://img.b2bpic.net/free-photo/healthy-natural-super-food_53876-120061.jpg"},
{
title: "Get Insights",
description: "Receive a complete, easy-to-read health report instantly.",
imageSrc: "http://img.b2bpic.net/free-photo/close-up-hand-holding-smartphone_23-2148898551.jpg",
},
title: "Get Insights", description: "Receive a complete, easy-to-read health report instantly.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-hand-holding-smartphone_23-2148898551.jpg"},
]}
/>
</SectionErrorBoundary>
@@ -77,47 +62,19 @@ export default function HomePage() {
description="Comprehensive tools for every health-conscious individual."
items={[
{
title: "Nutrition Analysis",
description: "Instant breakdown of macros.",
href: "#",
imageSrc: "http://img.b2bpic.net/free-psd/seo-sem-icon-design_23-2151976992.jpg",
},
title: "Nutrition Analysis", description: "Instant breakdown of macros.", href: "#", imageSrc: "http://img.b2bpic.net/free-psd/seo-sem-icon-design_23-2151976992.jpg"},
{
title: "Ingredient Check",
description: "Decode complex additives.",
href: "#",
imageSrc: "http://img.b2bpic.net/free-vector/kombucha-tea-benefits-illustration_23-2148672571.jpg",
},
title: "Ingredient Check", description: "Decode complex additives.", href: "#", imageSrc: "http://img.b2bpic.net/free-vector/kombucha-tea-benefits-illustration_23-2148672571.jpg"},
{
title: "Claims Verification",
description: "Spot marketing myths.",
href: "#",
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-colorful-translucent-geometric-shapes-with-copy-space_23-2148830200.jpg",
},
title: "Claims Verification", description: "Spot marketing myths.", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-colorful-translucent-geometric-shapes-with-copy-space_23-2148830200.jpg"},
{
title: "Health Swaps",
description: "Better alternatives found.",
href: "#",
imageSrc: "http://img.b2bpic.net/free-vector/creative-diet-nutrition-25-blue-icon-pack-such-as-fresh-diet-beetroot-no-meat-diet_1142-26699.jpg",
},
title: "Health Swaps", description: "Better alternatives found.", href: "#", imageSrc: "http://img.b2bpic.net/free-vector/creative-diet-nutrition-25-blue-icon-pack-such-as-fresh-diet-beetroot-no-meat-diet_1142-26699.jpg"},
{
title: "Diet Scoring",
description: "Evidence-based metrics.",
href: "#",
imageSrc: "http://img.b2bpic.net/free-vector/flat-design-free-trial-labels-stamps-design_23-2149354102.jpg",
},
title: "Diet Scoring", description: "Evidence-based metrics.", href: "#", imageSrc: "http://img.b2bpic.net/free-vector/flat-design-free-trial-labels-stamps-design_23-2149354102.jpg"},
{
title: "Scan History",
description: "Track your progress.",
href: "#",
imageSrc: "http://img.b2bpic.net/free-photo/flat-lay-vegetables-tablet_23-2148478235.jpg",
},
title: "Scan History", description: "Track your progress.", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/flat-lay-vegetables-tablet_23-2148478235.jpg"},
{
title: "Allergen Alerts",
description: "Eat safe daily.",
href: "#",
imageSrc: "http://img.b2bpic.net/free-photo/flat-lay-bad-habit-concept_23-2148540709.jpg",
},
title: "Allergen Alerts", description: "Eat safe daily.", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/flat-lay-bad-habit-concept_23-2148540709.jpg"},
]}
/>
</SectionErrorBoundary>
@@ -131,40 +88,20 @@ export default function HomePage() {
description="See how users are changing their lives with TruthBite AI."
testimonials={[
{
name: "Sarah J.",
role: "Busy Mom",
company: "HomeMaker",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/young-businessman-happy-expression_1194-1640.jpg",
},
name: "Sarah J.", role: "Busy Mom", company: "HomeMaker", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/young-businessman-happy-expression_1194-1640.jpg"},
{
name: "Mark D.",
role: "Fitness Coach",
company: "GymFlow",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/brunette-woman-wearing-sport-clothes_329181-13209.jpg",
},
name: "Mark D.", role: "Fitness Coach", company: "GymFlow", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/brunette-woman-wearing-sport-clothes_329181-13209.jpg"},
{
name: "Emily R.",
role: "Student",
company: "University",
rating: 4,
imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-young-woman-female-student-doing-distance-learning-course-using-laptop-studying_1258-255002.jpg",
},
name: "Emily R.", role: "Student", company: "University", rating: 4,
imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-young-woman-female-student-doing-distance-learning-course-using-laptop-studying_1258-255002.jpg"},
{
name: "Alex K.",
role: "Consultant",
company: "BizCorp",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/image-young-saleswoman-suit-working-laptop-sitting-her-office-with-smartphone-answering_1258-194585.jpg",
},
name: "Alex K.", role: "Consultant", company: "BizCorp", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/image-young-saleswoman-suit-working-laptop-sitting-her-office-with-smartphone-answering_1258-194585.jpg"},
{
name: "Lisa M.",
role: "Dietitian",
company: "HealthFirst",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/cheerful-young-businesswoman-showing-green-apple_1262-4758.jpg",
},
name: "Lisa M.", role: "Dietitian", company: "HealthFirst", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/cheerful-young-businesswoman-showing-green-apple_1262-4758.jpg"},
]}
/>
</SectionErrorBoundary>
@@ -178,36 +115,16 @@ export default function HomePage() {
description="Start with our free plan or upgrade for advanced features."
plans={[
{
tag: "Entry",
price: "Free",
period: "/mo",
description: "Basic scanning and simple reports.",
primaryButton: {
text: "Get Started",
href: "/signup",
},
featuresTitle: "Includes:",
features: [
"10 scans per month",
"Basic nutritional breakdown",
"Public directory access",
],
tag: "Entry", price: "Free", period: "/mo", description: "Basic scanning and simple reports.", primaryButton: {
text: "Get Started", href: "/signup"},
featuresTitle: "Includes:", features: [
"10 scans per month", "Basic nutritional breakdown", "Public directory access"],
},
{
tag: "Premium",
price: "$9.99",
period: "/mo",
description: "Unlimited access and advanced features.",
primaryButton: {
text: "Upgrade",
href: "/pricing",
},
featuresTitle: "Everything in Free, plus:",
features: [
"Unlimited daily scans",
"Advanced health tracking",
"Personalized dietary alerts",
],
tag: "Premium", price: "$9.99", period: "/mo", description: "Unlimited access and advanced features.", primaryButton: {
text: "Upgrade", href: "/pricing"},
featuresTitle: "Everything in Free, plus:", features: [
"Unlimited daily scans", "Advanced health tracking", "Personalized dietary alerts"],
},
]}
/>
@@ -219,23 +136,16 @@ export default function HomePage() {
<FaqTwoColumn
tag="Support"
title="Frequently Asked Questions"
description="Answers to common questions about our AI food analysis technology."
items={[
{
question: "Is one photo enough?",
answer: "Yes, our vision-AI is specifically tuned to extract maximum information from one high-quality shot.",
},
question: "Is one photo enough?", answer: "Yes, our vision-AI is specifically tuned to extract maximum information from one high-quality shot."},
{
question: "Does it replace medical advice?",
answer: "No, TruthBite AI is for educational use only and does not diagnose conditions.",
},
question: "Does it replace medical advice?", answer: "No, TruthBite AI is for educational use only and does not diagnose conditions."},
{
question: "Can brands influence ratings?",
answer: "Absolutely not; our scoring engine is objective and verified by third-party data.",
},
question: "Can brands influence ratings?", answer: "Absolutely not; our scoring engine is objective and verified by third-party data."},
{
question: "How accurate are estimates?",
answer: "Packaged food is highly accurate; unpackaged food is an estimate based on average industry portions.",
},
question: "How accurate are estimates?", answer: "Packaged food is highly accurate; unpackaged food is an estimate based on average industry portions."},
]}
/>
</SectionErrorBoundary>
@@ -247,13 +157,9 @@ export default function HomePage() {
tag="Ready to get started?"
text="Join thousands of users who take control of their nutrition today."
primaryButton={{
text: "Scan Now",
href: "/scan",
}}
text: "Scan Now", href: "/scan"}}
secondaryButton={{
text: "Contact Support",
href: "/contact",
}}
text: "Contact Support", href: "/contact"}}
/>
</SectionErrorBoundary>
</div>