This commit is contained in:
daniel31x13
2023-11-24 03:06:33 -05:00
parent 828e8eae2e
commit b8b6fe24bc
15 changed files with 121 additions and 99 deletions
+2 -5
View File
@@ -1,4 +1,3 @@
import { useTheme } from "next-themes";
import Image from "next/image";
import Link from "next/link";
import React, { ReactNode } from "react";
@@ -9,14 +8,12 @@ interface Props {
}
export default function CenteredForm({ text, children }: Props) {
const { theme } = useTheme();
return (
<div className="absolute top-0 bottom-0 left-0 right-0 flex justify-center items-center p-5">
<div className="m-auto flex flex-col gap-2 w-full">
{theme ? (
{true ? (
<Image
src={`/linkwarden_${theme === "dark" ? "dark" : "light"}.png`}
src={`/linkwarden_${"dark" ? "dark" : "light"}.png`}
width={640}
height={136}
alt="Linkwarden"