diff --git a/src/App.tsx b/src/App.tsx index a83cf88..a675576 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -3,14 +3,18 @@ import HomePage from './pages/HomePage'; import MenuPage from './pages/MenuPage'; import AboutPage from './pages/AboutPage'; import ContactPage from './pages/ContactPage'; +import TestimonialsGrid from './components/sections/testimonials/TestimonialsGrid'; export default function App() { return ( - - } /> + <> + + } /> } /> } /> } /> + + ); } diff --git a/src/components/sections/testimonials/TestimonialsGrid.tsx b/src/components/sections/testimonials/TestimonialsGrid.tsx new file mode 100644 index 0000000..27c58ad --- /dev/null +++ b/src/components/sections/testimonials/TestimonialsGrid.tsx @@ -0,0 +1,44 @@ +import { Star } from 'lucide-react'; + +const testimonials = [ + { + name: "Sarah L.", + rating: 5, + text: "The best coffee I've had in a long time! The atmosphere is cozy and the staff is super friendly. A must-visit for any coffee lover." + }, + { + name: "Mike R.", + rating: 5, + text: "Artisan Brew Co. is my go-to spot for my morning espresso. Consistent quality and a great selection of pastries. Highly recommend the almond croissant!" + }, + { + name: "Jessica P.", + rating: 4, + text: "A lovely place to work or catch up with friends. The latte art is always on point. It can get a bit busy, but it's worth the wait." + } +]; + +const TestimonialsGrid = () => { + return ( +
+
+

What Our Customers Say

+
+ {testimonials.map((testimonial, index) => ( +
+
+ {[...Array(5)].map((_, i) => ( + + ))} +
+

"{testimonial.text}"

+

- {testimonial.name}

+
+ ))} +
+
+
+ ); +}; + +export default TestimonialsGrid; \ No newline at end of file