Skip to content

fix: Footer hardcoded year, dead hrefs, and non-functional newsletter #119

Description

@Mkalbani

File: src/components/Footer.tsx

Problem

  • "Copyright © 2025 LogiQuest All Rights Reserved" is hardcoded.
  • ~20 anchor tags use href="#" (Game Mode list, Info list, social, App Store / Google Play badges).
  • The newsletter form has a <input type="email"> and a Subscribe button that do nothing.

Expected

  • Replace the year with {new Date().getFullYear()}.
  • Either point the dead links to real routes (/game-mode, /leaderboard, etc.) or replace the <a> with a non-interactive <span> if a destination doesn't exist yet.
  • Wire the newsletter form to a state handler with basic email validation; on submit show a toast and clear the input.
  • Remove the leftover URL-encoded SVG placeholder comment on line 5.

Acceptance

  • Year updates automatically.
  • Clicking any footer link either navigates somewhere real or is clearly non-clickable.
  • Submitting the newsletter form shows feedback.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions