Zammad docker and Link structure updates

This commit is contained in:
Darren Clarke 2023-07-10 10:13:06 +00:00 committed by GitHub
parent 2a37297ae1
commit 60b82f6fb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
39 changed files with 94 additions and 36 deletions

View file

@ -0,0 +1,14 @@
"use client";
import { FC, useLayoutEffect } from "react";
import { useRouter } from "next/navigation";
import { ZammadWrapper } from "app/(main)/_components/ZammadWrapper";
export const Setup: FC = () => {
const router = useRouter();
useLayoutEffect(() => {
setTimeout(() => router.push("/"), 4000);
}, [router]);
return <ZammadWrapper path="/auth/sso" hideSidebar={false} />;
};

View file

@ -0,0 +1,10 @@
import { Metadata } from "next";
import { Setup } from "./_components/Setup";
export const metadata: Metadata = {
title: "Link",
};
export default function Page() {
return <Setup />;
}