diff --git a/.env b/.env
index c8900d5a..90fb50b6 100644
--- a/.env
+++ b/.env
@@ -37,3 +37,4 @@ NEXT_PUBLIC_IFRAME_HEALTHVIEW_URL=https://espace.slm-lab.net/apps/health
NEXT_PUBLIC_IFRAME_MISSIONVIEW_URL=https://connect.slm-lab.net/realms/cercle/protocol/openid-connect/auth?response_type=code&scope=openid&client_id=page.slm-lab.net&state=f72528f6756bc132e76dd258691b71cf&redirect_uri=https%3A%2F%2Fpage.slm-lab.net%2Fwp-admin%2F
NEXT_PUBLIC_IFRAME_USERSVIEW_URL=https://example.com/users-view
NEXT_PUBLIC_IFRAME_THEMESSAGE_URL=https://lemessage.slm-lab.net/admin/
+NEXT_PUBLIC_IFRAME_AI_ASSISTANT_URL=https://alma.slm-lab.net
diff --git a/app/ai-assistant/page.tsx b/app/ai-assistant/page.tsx
index 6e8e80d5..53b90397 100644
--- a/app/ai-assistant/page.tsx
+++ b/app/ai-assistant/page.tsx
@@ -1,13 +1,24 @@
-export default function AIAssistantPage() {
+import { getServerSession } from "next-auth/next";
+import { authOptions } from "@/app/api/auth/[...nextauth]/route";
+import { redirect } from "next/navigation";
+import { ResponsiveIframe } from "@/app/components/responsive-iframe";
+
+export default async function Page() {
+ const session = await getServerSession(authOptions);
+
+ if (!session) {
+ redirect("/signin");
+ }
+
return (
-
-
-
- )
+
+
+
+
+
+ );
}
diff --git a/app/conference/page.tsx b/app/conference/page.tsx
index 80131267..beed9827 100644
--- a/app/conference/page.tsx
+++ b/app/conference/page.tsx
@@ -1,7 +1,7 @@
import { getServerSession } from "next-auth/next";
import { authOptions } from "@/app/api/auth/[...nextauth]/route";
import { redirect } from "next/navigation";
-import { ConferenceFrame } from "@/components/conference/conference-frame";
+import { ResponsiveIframe } from "@/app/components/responsive-iframe";
export default async function Page() {
const session = await getServerSession(authOptions);
@@ -10,5 +10,14 @@ export default async function Page() {
redirect("/signin");
}
- return ;
+ return (
+
+
+
+
+
+ );
}
\ No newline at end of file
diff --git a/app/email/page.tsx b/app/email/page.tsx
index 13d1dfeb..23c0fff7 100644
--- a/app/email/page.tsx
+++ b/app/email/page.tsx
@@ -16,19 +16,11 @@ export default async function Page() {
}
return (
-
+
diff --git a/app/radio/page.tsx b/app/radio/page.tsx
index ac8e80ad..782db942 100644
--- a/app/radio/page.tsx
+++ b/app/radio/page.tsx
@@ -1,7 +1,7 @@
import { getServerSession } from "next-auth/next";
import { authOptions } from "@/app/api/auth/[...nextauth]/route";
import { redirect } from "next/navigation";
-import { RadioFrame } from "@/components/radio/radio-frame";
+import { ResponsiveIframe } from "@/app/components/responsive-iframe";
export default async function Page() {
const session = await getServerSession(authOptions);
@@ -10,5 +10,14 @@ export default async function Page() {
redirect("/signin");
}
- return ;
+ return (
+
+
+
+
+
+ );
}
\ No newline at end of file