Skip to content

Added coming-soon page for the broken route#92

Open
ankithajv wants to merge 1 commit intoMrigakshi-Rathore:mainfrom
ankithajv:feature/coming-soon-page
Open

Added coming-soon page for the broken route#92
ankithajv wants to merge 1 commit intoMrigakshi-Rathore:mainfrom
ankithajv:feature/coming-soon-page

Conversation

@ankithajv
Copy link
Contributor

📝 Pull Request Template

📄 Description

This PR addresses the issue where clicking on unfinished features (like "Terms" or "Shop") resulted in a broken 404 error page.

Changes implemented:

  1. Created coming_soon.php: A responsive, "Foodogram-themed" placeholder page with a cooking metaphor ("We're still cooking this up! 🍳").
  2. Added router.php: A script that intercepts 404 errors and redirects users to the Coming Soon page automatically, so we don't need to create empty files for every missing feature.
  3. Fixed Navigation Links: Updated the Sidebar and Footer links to use absolute paths (e.g., /pages/about.php) to resolve the "Not Found" errors when navigating between the Home page and sub-pages.

🔗 Related Issues

Fixes #<insert_your_issue_number_here>
(Check your GitHub Issues tab to find the number, e.g., #2)


🧩 Type of Change

  • 🐛 Bug Fix (Fixed broken menu links and 404 errors)
  • ✨ New Feature (Added "Coming Soon" page)
  • ⚡ Enhancement / Optimization
  • 🧾 Documentation Update

🖼️ Screenshots

Recording.2026-01-29.194134.mp4

✅ Checklist

  • I have performed a self-review of my code.
  • I have tested my changes locally.
  • My changes do not break existing functionality.
  • I have linked all related issues.

@vercel
Copy link

vercel bot commented Jan 29, 2026

@ankithajv is attempting to deploy a commit to the Mrigakshi Rathore's projects Team on Vercel.

A member of the Team first needs to authorize it.

@ankithajv
Copy link
Contributor Author

@Mrigakshi-Rathore , I have done it for all pages which show 404 error!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant