replaced dummy data with dynamic content
Frontend date logic