refactor: remove unused (admin) and (full-width-pages) directories

This commit is contained in:
dyzulk
2026-01-09 13:21:47 +07:00
parent 3552c7df5a
commit 8d9ecb521e
3 changed files with 0 additions and 70 deletions

View File

@@ -1,52 +0,0 @@
"use client";
import GridShape from "@/components/common/GridShape";
import Image from "next/image";
import Link from "next/link";
import React from "react";
import { useTranslations } from "next-intl";
export default function Error404Client() {
const t = useTranslations("Error");
return (
<div className="relative flex flex-col items-center justify-center min-h-screen p-6 overflow-hidden z-1">
<GridShape />
<div className="mx-auto w-full max-w-[242px] text-center sm:max-w-[472px]">
<h1 className="mb-8 font-bold text-gray-800 text-title-md dark:text-white/90 xl:text-title-2xl">
{t('title_404')}
</h1>
<Image
src="/images/error/404.svg"
alt="404"
className="dark:hidden"
width={472}
height={152}
/>
<Image
src="/images/error/404-dark.svg"
alt="404"
className="hidden dark:block"
width={472}
height={152}
/>
<p className="mt-10 mb-6 text-base text-gray-700 dark:text-gray-400 sm:text-lg">
{t('desc_404')}
</p>
<Link
href="/"
className="inline-flex items-center justify-center rounded-lg border border-gray-300 bg-white px-5 py-3.5 text-sm font-medium text-gray-700 shadow-theme-xs hover:bg-gray-50 hover:text-gray-800 dark:border-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-white/[0.03] dark:hover:text-gray-200"
>
{t('back_to_home')}
</Link>
</div>
{/* <!-- Footer --> */}
<p className="absolute text-sm text-center text-gray-500 -translate-x-1/2 bottom-6 left-1/2 dark:text-gray-400">
&copy; {new Date().getFullYear()} - TrustLab
</p>
</div>
);
}

View File

@@ -1,11 +0,0 @@
import { Metadata } from "next";
import Error404Client from "./Error404Client";
export const metadata: Metadata = {
title: "Page Not Found",
description: "The page you are looking for does not exist.",
};
export default function Error404() {
return <Error404Client />;
}

View File

@@ -1,7 +0,0 @@
export default function FullWidthPageLayout({
children,
}: {
children: React.ReactNode;
}) {
return <div>{children}</div>;
}