diff --git a/frontend/src/App.css b/frontend/src/App.css index 198e47bb..6af73281 100644 --- a/frontend/src/App.css +++ b/frontend/src/App.css @@ -26,7 +26,16 @@ input[type='radio'] { } .star { - cursor: pointer; - font-size: 2rem; - margin-bottom: 0; + cursor: pointer; + font-size: 2rem; + margin-bottom: 0; } + +.card { + transition: all 0.3s ease; /* Ensure smooth transitions */ + } + + /* Shadow effect on hover */ + .card:hover { + box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Add a shadow on hover */ + } diff --git a/frontend/src/components/Pages/About.jsx b/frontend/src/components/Pages/About.jsx index 5a67a734..f4ab679b 100644 --- a/frontend/src/components/Pages/About.jsx +++ b/frontend/src/components/Pages/About.jsx @@ -1,6 +1,12 @@ -import bgpic from '../../assets/img/abt1.jpg'; + +import bgpic from "../../assets/img/abt1.jpg"; +import React, { useEffect } from 'react'; + export default function About() { + useEffect(() => { + window.scrollTo(0, 0); + }, []); return (
- Sorry, the page you are looking for could not be found. -
-+ Sorry, the page you are looking for could not be found. +
+{todaysSpecial.coffee.description}
+ {/* Show prices below the image and description */} + {hoveredItem === 'coffee' && ( +{todaysSpecial.coffee.originalPrice}
+{todaysSpecial.coffee.offerPrice}
+{todaysSpecial.food.description}
+ {/* Show prices below the image and description */} + {hoveredItem === 'food' && ( +{todaysSpecial.food.originalPrice}
+{todaysSpecial.food.offerPrice}
+{todaysSpecial.drink.description}
+ {/* Show prices below the image and description */} + {hoveredItem === 'drink' && ( +{todaysSpecial.drink.originalPrice}
+{todaysSpecial.drink.offerPrice}
+