mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 00:03:33 +10:00
pages and menus
This commit is contained in:
@ -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 = [
|
||||
|
||||
@ -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,10 +76,8 @@ export default function Example() {
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<button
|
||||
type="submit"
|
||||
className="group relative flex w-full justify-center rounded-md border border-transparent bg-neon py-2 px-4 text-sm font-medium text-white hover:bg-neon-dark focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2"
|
||||
>
|
||||
<Link href="/dashboard">
|
||||
<button className="group relative flex w-full justify-center rounded-md border border-transparent bg-neon py-2 px-4 text-sm font-medium text-white hover:bg-neon-dark focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2">
|
||||
<span className="absolute inset-y-0 left-0 flex items-center pl-3">
|
||||
<LockClosedIcon
|
||||
className="h-5 w-5 text-neon-dark group-hover:text-neon"
|
||||
@ -87,6 +86,7 @@ export default function Example() {
|
||||
</span>
|
||||
Sign in
|
||||
</button>
|
||||
</Link>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
@ -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) {
|
||||
|
||||
@ -1,5 +1,14 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
async redirects() {
|
||||
return [
|
||||
{
|
||||
source: "/",
|
||||
destination: "/login",
|
||||
permanent: true,
|
||||
},
|
||||
];
|
||||
},
|
||||
reactStrictMode: true,
|
||||
swcMinify: true,
|
||||
distDir: "build",
|
||||
|
||||
@ -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) {
|
||||
Reference in New Issue
Block a user