diff --git a/apps/web/components/layout.tsx b/apps/web/components/layout.tsx
index 402ca4642..c442eb279 100644
--- a/apps/web/components/layout.tsx
+++ b/apps/web/components/layout.tsx
@@ -19,7 +19,7 @@ const user = {
};
const navigation = [
{ name: "Dashboard", href: "/dashboard", current: true },
- { name: "Team", href: "/team", current: false },
+ { name: "Documents", href: "/documents", current: false },
{ name: "Settings", href: "/settings" },
];
const userNavigation = [
diff --git a/apps/web/components/login.tsx b/apps/web/components/login.tsx
index ced1ace91..3e3c9cc95 100644
--- a/apps/web/components/login.tsx
+++ b/apps/web/components/login.tsx
@@ -1,4 +1,5 @@
import { LockClosedIcon } from "@heroicons/react/20/solid";
+import Link from "next/link";
import Logo from "./logo";
export default function Example() {
@@ -75,18 +76,17 @@ export default function Example() {
-
+
+
+
diff --git a/apps/web/components/settings.tsx b/apps/web/components/settings.tsx
index f2ca94d91..72e238c2b 100644
--- a/apps/web/components/settings.tsx
+++ b/apps/web/components/settings.tsx
@@ -22,9 +22,9 @@ const user = {
const subNavigation = [
{ name: "Profile", href: "#", icon: UserCircleIcon, current: true },
- { name: "Account", href: "#", icon: CogIcon, current: false },
{ name: "Password", href: "#", icon: KeyIcon, current: false },
- { name: "Integrations", href: "#", icon: SquaresPlusIcon, current: false },
+ { name: "Account", href: "#", icon: CogIcon, current: false },
+ { name: "Team", href: "#", icon: SquaresPlusIcon, current: false },
];
function classNames(...classes: any) {
diff --git a/apps/web/next.config.js b/apps/web/next.config.js
index 5a488ab4b..6e7dcb9d1 100644
--- a/apps/web/next.config.js
+++ b/apps/web/next.config.js
@@ -1,5 +1,14 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
+ async redirects() {
+ return [
+ {
+ source: "/",
+ destination: "/login",
+ permanent: true,
+ },
+ ];
+ },
reactStrictMode: true,
swcMinify: true,
distDir: "build",
diff --git a/apps/web/pages/team.tsx b/apps/web/pages/documents.tsx
similarity index 89%
rename from apps/web/pages/team.tsx
rename to apps/web/pages/documents.tsx
index c7a4c1c83..f3bf7ae84 100644
--- a/apps/web/pages/team.tsx
+++ b/apps/web/pages/documents.tsx
@@ -4,7 +4,7 @@ import Settings from "../components/settings";
import type { NextPageWithLayout } from "./_app";
const TeamPage: NextPageWithLayout = () => {
- return <>This is the team page>;
+ return <>This is the documents page>;
};
TeamPage.getLayout = function getLayout(page: ReactElement) {