mirror of
https://github.com/luxfhe/example-redact.git
synced 2026-10-30 18:13:20 +00:00
22 lines
700 B
TypeScript
22 lines
700 B
TypeScript
"use client";
|
|
|
|
import Image from "next/image";
|
|
import { useTheme } from "next-themes";
|
|
|
|
export default function FAQPage() {
|
|
const { theme } = useTheme();
|
|
const imageSize = 420;
|
|
const imageSrc = theme === "dark" ? "/maintenance-dark.svg" : "/maintenance-light.svg";
|
|
|
|
return (
|
|
<div className="flex flex-col items-center justify-center -mt-50 ">
|
|
<Image src={imageSrc} alt="Maintenance" width={imageSize} height={imageSize} />
|
|
<div className="text-center text-2xl font-bold mt-5">
|
|
<span className="text-primary-accent">CoFHE is under maintenance</span>
|
|
<br />
|
|
<span className="text-primary">We'll be back shortly</span>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|