From a317b482f88c8633b169a85347fb1e31453cc1d9 Mon Sep 17 00:00:00 2001 From: bender Date: Mon, 30 Mar 2026 02:56:45 +0000 Subject: [PATCH 1/2] Add src/app/database/page.tsx --- src/app/database/page.tsx | 68 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 src/app/database/page.tsx diff --git a/src/app/database/page.tsx b/src/app/database/page.tsx new file mode 100644 index 0000000..2291230 --- /dev/null +++ b/src/app/database/page.tsx @@ -0,0 +1,68 @@ +"use client"; + +import { useState } from "react"; +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import ReactLenis from "lenis/react"; +import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay'; +import FooterSimple from '@/components/sections/footer/FooterSimple'; +import ProductCatalog from '@/components/ecommerce/productCatalog/ProductCatalog'; + +export default function DatabasePage() { + const [search, setSearch] = useState(""); + const products = [ + { id: "1", name: "Organic Honey", price: "$12.00", rating: 4.8, imageSrc: "https://images.unsplash.com/photo-1587049352846-4a222e784d38?w=800&h=600", category: "Food" }, + { id: "2", name: "Almond Milk", price: "$4.50", rating: 4.6, imageSrc: "https://images.unsplash.com/photo-1549556249-14a51e60086c?w=800&h=600", category: "Beverage" }, + ]; + + return ( + + + + +
+ {} } + ]} + /> +
+ + +
+
+ ); +} \ No newline at end of file -- 2.49.1 From c92ef9df2bcc31dddea29dfb165c53951962f7b1 Mon Sep 17 00:00:00 2001 From: bender Date: Mon, 30 Mar 2026 02:56:45 +0000 Subject: [PATCH 2/2] Update src/app/page.tsx --- src/app/page.tsx | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index e23be2b..5ff50bd 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -91,11 +91,11 @@ export default function LandingPage() { useInvertedBackground={false} faqs={[ { - id: "1", title: "How accurate is the AI scanner?", content: "Our AI is trained on certified data to provide 99% accuracy in identifying ingredients."}, + id: "1", title: "How does the AI detect haram ingredients?", content: "The AI cross-references scanned ingredient lists against a massive, verified database of haram additives and E-numbers."}, { - id: "2", title: "Is it free to use?", content: "Basic scanning is free, with premium features available for power users."}, + id: "2", title: "Can it verify imported products?", content: "Yes, our database includes international product data, covering a wide range of global market ingredients."}, { - id: "3", title: "Does it work offline?", content: "Yes, our mobile app supports offline ingredient recognition for most common items."}, + id: "3", title: "What should I do if a product is unknown?", content: "You can report unknown products, and our team will verify the ingredients and update the database within 24-48 hours."}, ]} title="Frequently Asked Questions" description="Everything you need to know about our detection platform." @@ -112,13 +112,13 @@ export default function LandingPage() { description="See how HalalAI is helping our community make better choices." testimonials={[ { - id: "1", name: "Sarah Ahmed", handle: "@sarah_a", testimonial: "This app makes grocery shopping so much easier. I no longer have to spend time searching for complex ingredient names.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Bdupiq8mGsoqX8dmxxmLlYQjON/close-up-of-an-ingredient-list-being-sca-1774839199212-58747e3d.png?_wi=2"}, + id: "1", name: "Sarah Ahmed", handle: "@sarah_a", testimonial: "I scanned over 50 items and the detection was flawless. It picked up hidden gelatin ingredients I missed!", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Bdupiq8mGsoqX8dmxxmLlYQjON/close-up-of-an-ingredient-list-being-sca-1774839199212-58747e3d.png?_wi=2"}, { - id: "2", name: "Mohamed Khan", handle: "@mo_khan", testimonial: "The AI scanner is incredibly fast and reliable. A must-have tool for every Muslim household.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Bdupiq8mGsoqX8dmxxmLlYQjON/a-database-interface-screen-showing-mult-1774839199298-0e30b507.png?_wi=2"}, + id: "2", name: "Mohamed Khan", handle: "@mo_khan", testimonial: "The accuracy is insane. It correctly identified synthetic emulsifiers that other scanners often flag incorrectly.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Bdupiq8mGsoqX8dmxxmLlYQjON/a-database-interface-screen-showing-mult-1774839199298-0e30b507.png?_wi=2"}, { - id: "3", name: "Layla Yusuf", handle: "@laylayusuf", testimonial: "I love the voice assistant feature! It's so helpful when my hands are busy with the kids in the store.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Bdupiq8mGsoqX8dmxxmLlYQjON/user-friendly-interface-showing-a-real-t-1774839198280-e7037040.png?_wi=2"}, + id: "3", name: "Layla Yusuf", handle: "@laylayusuf", testimonial: "Finally, a tool that understands the difference between various animal sources. I feel much safer shopping now.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Bdupiq8mGsoqX8dmxxmLlYQjON/user-friendly-interface-showing-a-real-t-1774839198280-e7037040.png?_wi=2"}, { - id: "4", name: "Omar Farooq", handle: "@omar_f", testimonial: "Highly accurate and very easy to use. The design is modern and clean, just like an app should be.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Bdupiq8mGsoqX8dmxxmLlYQjON/a-futuristic-ai-powered-scanner-interfac-1774839198333-07882302.png?_wi=7"}, + id: "4", name: "Omar Farooq", handle: "@omar_f", testimonial: "The speed of detection is unmatched, and the reliability of the ingredient classification is top-tier.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Bdupiq8mGsoqX8dmxxmLlYQjON/a-futuristic-ai-powered-scanner-interfac-1774839198333-07882302.png?_wi=7"}, ]} /> @@ -154,11 +154,13 @@ export default function LandingPage() { ], }, { - title: "Legal", items: [ + title: "Official Sources", items: [ { - label: "Privacy Policy", href: "#"}, + label: "Halal Certification Org", href: "https://www.halalcertification.org"}, { - label: "Terms of Use", href: "#"}, + label: "Global Halal Body", href: "https://www.globalhalal.com"}, + { + label: "Islamic Food Council", href: "https://www.ifanca.org"}, ], }, ]} @@ -169,4 +171,4 @@ export default function LandingPage() { ); -} +} \ No newline at end of file -- 2.49.1