Files
patra_web/src/app/(Admin)/unauthorize/page.js
Dimas Vindyawan 6c3af6a820 first commit
2025-12-30 14:34:03 +07:00

28 lines
729 B
JavaScript

"use server";
import React from "react";
import styles from "@/app/(Admin)/unauthorize/unauthorize.module.css";
import { EB_Garamond } from "next/font/google";
const ebGaramond = EB_Garamond({
variable: "--font-eb-garamond",
weight: ["400", "500", "600", "700", "800"],
subsets: ["latin"],
});
const Unauthorize = async () => {
return (
<div className={`${styles.container} ${ebGaramond.className}`}>
<div className={styles.error}>
<h1 className={styles.code}>401</h1>
<span className={styles.line}></span>
<p className={styles.message}>Unauthorized</p>
<p>You don`t have valid credential to access this page.</p>
</div>
</div>
);
};
export default Unauthorize;