disable route + bug UI

This commit is contained in:
Hoang Anh
2026-08-21 16:27:19 +07:00
parent 5cc69fceae
commit fdd8033c11
3 changed files with 10 additions and 12 deletions
+5
View File
@@ -0,0 +1,5 @@
import { notFound } from "next/navigation";
export default function RegistrationLayout() {
notFound();
}
+2 -9
View File
@@ -1,12 +1,5 @@
import type { Metadata } from "next";
import SponsorPageClient from "@/app/components/sponsor/SponsorPageClient";
export const metadata: Metadata = {
title: "Nhà Tài Trợ | IPv6 Enhanced 2026",
description:
"Trở thành nhà tài trợ tại Hội Nghị IPv6 cho AI & Trung Tâm Dữ Liệu 2026. Kết nối thương hiệu của bạn với những kiến trúc sư của hạ tầng ngày mai.",
};
import { notFound } from "next/navigation";
export default function SponsorPage() {
return <SponsorPageClient />;
notFound();
}
+2 -2
View File
@@ -14,7 +14,7 @@ export default function NotFound() {
<h1 className="font-display text-5xl md:text-6xl font-bold text-uni-dark mb-6">404</h1>
<h2 className="font-display text-2xl md:text-3xl font-bold text-uni-dark mb-4">Page Not Found</h2>
<p className="text-slate-600 text-lg mb-10 leading-relaxed">
The page you're looking for could not be found. It may have been moved or deleted.
The page you&apos;re looking for could not be found. It may have been moved or deleted.
Please check the URL or return to our home page.
</p>
@@ -22,7 +22,7 @@ export default function NotFound() {
<div className="flex justify-center">
<Link
href="/"
className="px-8 py-4 bg-uni-dark hover:bg-slate-800 text-white rounded-full font-semibold text-lg transition-all flex items-center justify-center gap-2 shadow-lg"
className="px-8 py-4 gold-gradient-bg text-on-primary hover:brightness-110 rounded-full font-semibold text-lg transition-all flex items-center justify-center gap-2 shadow-lg"
>
Back to Home <i className="fa-solid fa-arrow-right text-sm"></i>
</Link>