Skip to content

Landing page at /, dashboard overview moves to /dashboard - #1

Merged
Mohammad-Umar7 merged 1 commit into
mainfrom
devin/1790338728-landing-page
Sep 25, 2026
Merged

Mohammad-Umar7 merged 1 commit into
mainfrom
devin/1790338728-landing-page

Conversation

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Summary

Visitors now land on a marketing page (src/app/page.tsx) instead of being auto-signed into the dashboard. "Open dashboard" / "Try the live demo" CTAs go to /dashboard, where the existing demo auto sign-in still happens.

Route changes:

  • (dashboard)/page.tsx → (dashboard)/dashboard/page.tsx (unchanged content).
  • Middleware: / is public (exact match only, pathname === '/'); /login now redirects to /dashboard.
  • Every reference to the overview as '/' updated to '/dashboard': sidebar Overview item + isNavActive, tour steps (route: /^\/dashboard$/, href), tour-provider start, not-found and setup "Try again" links.

Landing page is a server component using the existing theme tokens (works in light/dark, respects prefers-reduced-motion): hero with an animated WhatsApp check-in mockup, stats, how-it-works, features, nurse vs patient split, languages, CTA. Two keyframes added to globals.css.

Landing page

tsc and eslint --max-warnings=0 pass.

Link to Devin session: https://app.devin.ai/sessions/774c8e39ac0f4850b26f638806ea84d2
Open in Devin Desktop: https://app.devin.ai/desktop/session/774c8e39ac0f4850b26f638806ea84d2?variant=devin
Requested by: @Mohammad-Umar7

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@vercel

vercel Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
careloop Ready Ready Preview Sep 25, 2026 12:23pm UTC

@Mohammad-Umar7
Mohammad-Umar7 merged commit dda4740 into main Sep 25, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
Preview — db5e37a6 Deployed Sep 25, 2026 by vercel[bot]
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