mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
feat(builder): Move /monitor to / (#7769)
- Move `monitor/page.tsx` to `page.tsx` - Remove redirect from `/` to `/build` - Set temporary redirect from `/monitor` to `/` to prevent breaking UX (may be removed after a grace period, e.g. 2024-09-01)
This commit is contained in:
committed by
GitHub
parent
c577d04692
commit
bf10df612e
@@ -13,8 +13,8 @@ const nextConfig = {
|
||||
async redirects() {
|
||||
return [
|
||||
{
|
||||
source: "/",
|
||||
destination: "/build",
|
||||
source: "/monitor", // FIXME: Remove after 2024-09-01
|
||||
destination: "/",
|
||||
permanent: false,
|
||||
},
|
||||
];
|
||||
|
||||
@@ -37,7 +37,7 @@ export async function NavBar() {
|
||||
<SheetContent side="left">
|
||||
<nav className="grid gap-6 text-lg font-medium">
|
||||
<Link
|
||||
href="/monitor"
|
||||
href="/"
|
||||
className="text-muted-foreground hover:text-foreground flex flex-row gap-2 "
|
||||
>
|
||||
<IconSquareActivity /> Monitor
|
||||
@@ -59,7 +59,7 @@ export async function NavBar() {
|
||||
</Sheet>
|
||||
<nav className="hidden md:flex md:flex-row md:items-center md:gap-5 lg:gap-6">
|
||||
<Link
|
||||
href="/monitor"
|
||||
href="/"
|
||||
className="text-muted-foreground hover:text-foreground flex flex-row gap-2 items-center"
|
||||
>
|
||||
<IconSquareActivity /> Monitor
|
||||
|
||||
Reference in New Issue
Block a user