28 lines
729 B
JavaScript
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;
|