From ce9942b3d307616278c64879012428ad29d1336b Mon Sep 17 00:00:00 2001 From: emmanuel iheanacho Date: Mon, 27 Jul 2026 08:00:53 +0100 Subject: [PATCH 1/2] fix: RecentActivity uses the wrong icons for each metric --- src/components/RecentActivity.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/RecentActivity.tsx b/src/components/RecentActivity.tsx index 607660e..81597bc 100644 --- a/src/components/RecentActivity.tsx +++ b/src/components/RecentActivity.tsx @@ -98,29 +98,29 @@ export const RecentActivity = ({ activities }: Props) => {
{/* Row 1: Group Size */}
- call +
{activity.groupSize} - 🏆 + {activity.coins.gold}
{/* Row 2: Participants */}
- audience +
{activity.participants} - 🏆 + {activity.coins.gold}
{/* Row 3: Coins & Earnings */}
- 50:50 +
{activity.earnings} - 🏆 + {activity.coins.red}
@@ -129,4 +129,4 @@ export const RecentActivity = ({ activities }: Props) => { ); -}; +}; \ No newline at end of file From 5f609d33d49344f524bd335e5970f74f3800bf9b Mon Sep 17 00:00:00 2001 From: emmanuel iheanacho Date: Tue, 28 Jul 2026 14:52:48 +0100 Subject: [PATCH 2/2] refactor(footer): optimize LogiQuestFooter component - Refactor repetitive link lists into arrays with .map() - Wrap newsletter inputs in a form element with event handling - Dynamically calculate copyright year --- src/components/Footer.tsx | 247 ++++++++++---------------------------- 1 file changed, 61 insertions(+), 186 deletions(-) diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index a80fff6..b8502ed 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -2,7 +2,26 @@ import logiquest from "../assets/logiquest.png"; import { Linkedin, Twitter, Github } from "lucide-react"; export default function LogiQuestFooter() { - // Placeholder for logo - replace with: import logiquest from '../assets/logiquest.png'; height='100'%3E%3Crect fill='%2306b6d4' width='100' height='100'/%3E%3Ctext x='50' y='50' font-size='40' text-anchor='middle' dy='.3em' fill='white'%3ELQ%3C/text%3E%3C/svg%3E"; + const gameModes = [ + "Classic Mode", + "Challenge Mode", + "Multiplayer Mode", + "Daily Challenge", + "Themed Quests", + "Timed Blitz", + "Puzzle Mode", + "Practice Mode", + "Adventure Mode", + ]; + + const infoLinks = ["FAQs", "Pricing", "Status", "Blog", "Policy"]; + + const bottomLinks = [ + "About us", + "Terms & Conditions", + "Contact us", + "Privacy policy", + ]; return ( ); -} +} \ No newline at end of file