navifate bar correction

This commit is contained in:
Alma 2025-04-09 12:46:35 +02:00
parent 0b5b6bbdc3
commit d090d8ebb6
6 changed files with 104 additions and 8 deletions

View File

@ -11,11 +11,19 @@ export default async function Page() {
return (
<main className="w-full h-screen bg-black">
<div className="w-full h-full pt-16">
<div className="w-full h-full px-4 pt-12 pb-4">
<iframe
src="https://calcul.slm-lab.net"
src={process.env.NEXT_PUBLIC_IFRAME_CALCULATION_URL}
className="w-full h-full border-none"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
sandbox="allow-same-origin allow-scripts allow-popups allow-forms"
style={{
marginTop: '-64px',
marginLeft: '-180px',
width: 'calc(100% + 500px)',
position: 'relative',
right: '-160px'
}}
allowFullScreen
/>
</div>

View File

@ -11,11 +11,19 @@ export default async function Page() {
return (
<main className="w-full h-screen bg-black">
<div className="w-full h-full pt-16">
<div className="w-full h-full px-4 pt-12 pb-4">
<iframe
src="https://artlab.slm-lab.net"
src={process.env.NEXT_PUBLIC_IFRAME_ARTLAB_URL}
className="w-full h-full border-none"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
sandbox="allow-same-origin allow-scripts allow-popups allow-forms"
style={{
marginTop: '-64px',
marginLeft: '-180px',
width: 'calc(100% + 500px)',
position: 'relative',
right: '-160px'
}}
allowFullScreen
/>
</div>

32
app/gitelab/page.tsx Normal file
View File

@ -0,0 +1,32 @@
import { getServerSession } from "next-auth/next";
import { authOptions } from "@/app/api/auth/[...nextauth]/route";
import { redirect } from "next/navigation";
export default async function Page() {
const session = await getServerSession(authOptions);
if (!session) {
redirect("/signin");
}
return (
<main className="w-full h-screen bg-black">
<div className="w-full h-full px-4 pt-12 pb-4">
<iframe
src={process.env.NEXT_PUBLIC_IFRAME_GITE_URL}
className="w-full h-full border-none"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
sandbox="allow-same-origin allow-scripts allow-popups allow-forms"
style={{
marginTop: '-64px',
marginLeft: '-180px',
width: 'calc(100% + 500px)',
position: 'relative',
right: '-160px'
}}
allowFullScreen
/>
</div>
</main>
);
}

View File

@ -11,11 +11,19 @@ export default async function Page() {
return (
<main className="w-full h-screen bg-black">
<div className="w-full h-full pt-16">
<div className="w-full h-full px-4 pt-12 pb-4">
<iframe
src="https://apprendre.slm-lab.net"
src={process.env.NEXT_PUBLIC_IFRAME_LEARN_URL}
className="w-full h-full border-none"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
sandbox="allow-same-origin allow-scripts allow-popups allow-forms"
style={{
marginTop: '-64px',
marginLeft: '-180px',
width: 'calc(100% + 500px)',
position: 'relative',
right: '-160px'
}}
allowFullScreen
/>
</div>

32
app/mediations/page.tsx Normal file
View File

@ -0,0 +1,32 @@
import { getServerSession } from "next-auth/next";
import { authOptions } from "@/app/api/auth/[...nextauth]/route";
import { redirect } from "next/navigation";
export default async function Page() {
const session = await getServerSession(authOptions);
if (!session) {
redirect("/signin");
}
return (
<main className="w-full h-screen bg-black">
<div className="w-full h-full px-4 pt-12 pb-4">
<iframe
src={process.env.NEXT_PUBLIC_IFRAME_MEDIATIONS_URL}
className="w-full h-full border-none"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
sandbox="allow-same-origin allow-scripts allow-popups allow-forms"
style={{
marginTop: '-64px',
marginLeft: '-180px',
width: 'calc(100% + 500px)',
position: 'relative',
right: '-160px'
}}
allowFullScreen
/>
</div>
</main>
);
}

View File

@ -11,11 +11,19 @@ export default async function Page() {
return (
<main className="w-full h-screen bg-black">
<div className="w-full h-full pt-16">
<div className="w-full h-full px-4 pt-12 pb-4">
<iframe
src="https://parole.slm-lab.net/channel/City"
src={process.env.NEXT_PUBLIC_IFRAME_PAROLE_URL}
className="w-full h-full border-none"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
sandbox="allow-same-origin allow-scripts allow-popups allow-forms"
style={{
marginTop: '-64px',
marginLeft: '-180px',
width: 'calc(100% + 500px)',
position: 'relative',
right: '-160px'
}}
allowFullScreen
/>
</div>