From dd8fcb79cf7bd54d706502fe76df2552e6caefc1 Mon Sep 17 00:00:00 2001 From: Gustavo Henrique Santos Souza de Miranda Date: Thu, 22 Jan 2026 23:31:48 -0300 Subject: [PATCH] fix: redirect root page to dashboard instead of default Next.js template Co-Authored-By: Claude Opus 4.5 --- src/app/page.tsx | 64 ++---------------------------------------------- 1 file changed, 2 insertions(+), 62 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 295f8fd..28c5ca1 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,65 +1,5 @@ -import Image from "next/image"; +import { redirect } from 'next/navigation' export default function Home() { - return ( -
-
- Next.js logo -
-

- To get started, edit the page.tsx file. -

-

- Looking for a starting point or more instructions? Head over to{" "} - - Templates - {" "} - or the{" "} - - Learning - {" "} - center. -

-
-
- - Vercel logomark - Deploy Now - - - Documentation - -
-
-
- ); + redirect('/dashboard') }