-
+
{/* eslint-disable-next-line @next/next/no-img-element */}
-

+

setImageLoaded(true)}
+ className={`h-full w-full object-cover transition-opacity duration-500 ${imageLoaded ? "opacity-100" : "opacity-0"}`}
+ />
)}
diff --git a/src/app/(main)/signupform/page.tsx b/src/app/(main)/signupform/page.tsx
index f85f563..9c9bc13 100644
--- a/src/app/(main)/signupform/page.tsx
+++ b/src/app/(main)/signupform/page.tsx
@@ -77,8 +77,6 @@ export default function SignupForm() {
let message = error?.message || "회원가입 중 오류가 발생했습니다.";
if (error?.code === "auth/email-already-in-use") {
message = "이미 가입된 이메일입니다.";
- alert(message);
- router.push("/login");
return;
} else if (error?.code === "auth/weak-password") {
message = "비밀번호가 너무 약합니다. 6자 이상으로 설정해주세요.";
diff --git a/src/app/layout.tsx b/src/app/layout.tsx
index a837a16..65081bf 100644
--- a/src/app/layout.tsx
+++ b/src/app/layout.tsx
@@ -5,6 +5,10 @@ import "./globals.css";
import FirebaseAnalytics from "@/components/FirebaseAnalytics";
import { AuthProvider } from "@/components/providers/AuthProvider";
+import { Toaster } from "react-hot-toast";
+
+const baseUrl = process.env.NEXT_PUBLIC_BASE_URL!;
+
const geistSans = Geist({
variable: "--font-geist-sans",
subsets: ["latin"],
@@ -15,11 +19,10 @@ const geistMono = Geist_Mono({
subsets: ["latin"],
});
-// app/layout.tsx
export const metadata: Metadata = {
title: {
default: "NDIE",
- template: "%s | NDIE", // 각 페이지 제목 뒤에 붙는 기본 이름
+ template: "%s | NDIE",
},
description:
"사단법인 디지털과포용성네트워크(NDIE)는 디지털 전환 속 소외된 이들을 위한 포용적 디지털 사회 구현을 목표로 연구, 교육, 정책 제안, 네트워킹 등 다양한 활동을 수행합니다.",
@@ -35,18 +38,18 @@ export const metadata: Metadata = {
authors: [
{
name: "사단법인 디지털과포용성네트워크",
- url: "https://ndie-fe-985895714915.asia-northeast1.run.app/", // 실제 도메인으로 바꿔주세요
+ url: baseUrl,
},
],
openGraph: {
title: "디지털과포용성네트워크",
description:
"디지털 포용성과 다양성을 추구하는 비영리 법인 NDIE. 디지털 접근성 향상과 인간 중심의 기술 환경 조성을 위한 연구와 활동을 수행합니다.",
- url: "https://ndie-fe-985895714915.asia-northeast1.run.app/", // 실제 도메인으로 바꿔주세요
+ url: baseUrl,
siteName: "디지털과포용성네트워크",
images: [
{
- url: "https://storage.googleapis.com/focus-pathfinder/e675f822-6cdb-4e11-9d02-d94b102cb7ce", // 사이트 og 이미지 URL
+ url: "https://storage.googleapis.com/focus-pathfinder/e675f822-6cdb-4e11-9d02-d94b102cb7ce",
width: 1200,
height: 630,
},
@@ -58,12 +61,14 @@ export const metadata: Metadata = {
title: "디지털과포용성네트워크",
description:
"포용적 디지털 사회를 위한 연구·교육·정책 활동. 디지털 소외 해소와 사회 참여 기회 확대를 위해 노력합니다.",
- images: ["https://storage.googleapis.com/focus-pathfinder/e675f822-6cdb-4e11-9d02-d94b102cb7ce"],
+ images: [
+ "https://storage.googleapis.com/focus-pathfinder/e675f822-6cdb-4e11-9d02-d94b102cb7ce",
+ ],
},
icons: {
- icon: '/favicon.ico',
+ icon: "/favicon.ico",
},
- metadataBase: new URL("https://ndie-fe-985895714915.asia-northeast1.run.app/"),
+ metadataBase: new URL(baseUrl),
};
export default function RootLayout({
@@ -78,7 +83,9 @@ export default function RootLayout({
>
{children}
+
+