diff --git a/apps/login/app/layout.tsx b/apps/login/app/layout.tsx index 65b9d41fbe1..ddde9f36bf3 100644 --- a/apps/login/app/layout.tsx +++ b/apps/login/app/layout.tsx @@ -62,16 +62,6 @@ export default async function RootLayout({ {children} - -
-
- -
-
diff --git a/apps/login/ui/Byline.tsx b/apps/login/ui/Byline.tsx deleted file mode 100644 index bbaa55efad7..00000000000 --- a/apps/login/ui/Byline.tsx +++ /dev/null @@ -1,13 +0,0 @@ -import Theme from "./Theme"; - -export default function Byline() { - return ( -
-
-
By
-
ZITADEL
-
- -
- ); -} diff --git a/apps/login/ui/GlobalNav.tsx b/apps/login/ui/GlobalNav.tsx index 89d0d10eb48..d24864ff0d3 100644 --- a/apps/login/ui/GlobalNav.tsx +++ b/apps/login/ui/GlobalNav.tsx @@ -7,6 +7,7 @@ import { useSelectedLayoutSegment, usePathname } from "next/navigation"; import clsx from "clsx"; import { Bars3Icon, XMarkIcon } from "@heroicons/react/24/solid"; import { useState } from "react"; +import Theme from "./Theme"; export function GlobalNav() { const [isOpen, setIsOpen] = useState(false); @@ -29,27 +30,34 @@ export function GlobalNav() { - + +
+ + +
); diff --git a/apps/login/ui/Theme.tsx b/apps/login/ui/Theme.tsx index 7f52e2c6284..126d9403ff4 100644 --- a/apps/login/ui/Theme.tsx +++ b/apps/login/ui/Theme.tsx @@ -2,6 +2,7 @@ import React, { useEffect, useState } from "react"; import { useTheme } from "next-themes"; +import { MoonIcon, SunIcon } from "@heroicons/react/24/outline"; function Theme() { const { resolvedTheme, setTheme } = useTheme(); @@ -28,7 +29,7 @@ function Theme() { }`} onClick={() => setTheme("dark")} > - + );