navifate bar correction
This commit is contained in:
parent
0b5b6bbdc3
commit
d090d8ebb6
@ -11,11 +11,19 @@ export default async function Page() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<main className="w-full h-screen bg-black">
|
<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
|
<iframe
|
||||||
src="https://calcul.slm-lab.net"
|
src={process.env.NEXT_PUBLIC_IFRAME_CALCULATION_URL}
|
||||||
className="w-full h-full border-none"
|
className="w-full h-full border-none"
|
||||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
|
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
|
allowFullScreen
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -11,11 +11,19 @@ export default async function Page() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<main className="w-full h-screen bg-black">
|
<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
|
<iframe
|
||||||
src="https://artlab.slm-lab.net"
|
src={process.env.NEXT_PUBLIC_IFRAME_ARTLAB_URL}
|
||||||
className="w-full h-full border-none"
|
className="w-full h-full border-none"
|
||||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
|
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
|
allowFullScreen
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
32
app/gitelab/page.tsx
Normal file
32
app/gitelab/page.tsx
Normal 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>
|
||||||
|
);
|
||||||
|
}
|
||||||
@ -11,11 +11,19 @@ export default async function Page() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<main className="w-full h-screen bg-black">
|
<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
|
<iframe
|
||||||
src="https://apprendre.slm-lab.net"
|
src={process.env.NEXT_PUBLIC_IFRAME_LEARN_URL}
|
||||||
className="w-full h-full border-none"
|
className="w-full h-full border-none"
|
||||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
|
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
|
allowFullScreen
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
32
app/mediations/page.tsx
Normal file
32
app/mediations/page.tsx
Normal 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>
|
||||||
|
);
|
||||||
|
}
|
||||||
@ -11,11 +11,19 @@ export default async function Page() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<main className="w-full h-screen bg-black">
|
<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
|
<iframe
|
||||||
src="https://parole.slm-lab.net/channel/City"
|
src={process.env.NEXT_PUBLIC_IFRAME_PAROLE_URL}
|
||||||
className="w-full h-full border-none"
|
className="w-full h-full border-none"
|
||||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
|
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
|
allowFullScreen
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user