update iframe rule 4
This commit is contained in:
parent
c50cb55225
commit
4f77e35ef9
@ -1,6 +1,7 @@
|
||||
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);
|
||||
@ -12,14 +13,9 @@ export default async function Page() {
|
||||
return (
|
||||
<main className="w-full h-screen bg-black">
|
||||
<div className="w-full h-full pt-12">
|
||||
<iframe
|
||||
src={process.env.NEXT_PUBLIC_IFRAME_CALCULATION_URL}
|
||||
className="w-full h-full border-none"
|
||||
<ResponsiveIframe
|
||||
src={process.env.NEXT_PUBLIC_IFRAME_CALCULATION_URL || ''}
|
||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
|
||||
style={{
|
||||
marginTop: '-64px'
|
||||
}}
|
||||
allowFullScreen
|
||||
/>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
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);
|
||||
@ -11,12 +12,10 @@ export default async function Page() {
|
||||
|
||||
return (
|
||||
<main className="w-full h-screen bg-black">
|
||||
<div className="w-full h-full pt-16">
|
||||
<iframe
|
||||
src="https://connect.slm-lab.net/realms/cercle/protocol/openid-connect/auth?client_id=mediations.slm-lab.net&redirect_uri=https%3A%2F%2Fmediations.slm-lab.net%2F%3Fopenid_mode%3Dtrue&scope=openid%20profile%20email&response_type=code"
|
||||
className="w-full h-full border-none"
|
||||
<div className="w-full h-full pt-12">
|
||||
<ResponsiveIframe
|
||||
src={process.env.NEXT_PUBLIC_IFRAME_CRM_URL || ''}
|
||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
|
||||
allowFullScreen
|
||||
/>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
@ -12,7 +12,7 @@ export default async function Page() {
|
||||
|
||||
return (
|
||||
<main className="w-full h-screen bg-black">
|
||||
<div className="w-full h-full">
|
||||
<div className="w-full h-full pt-12">
|
||||
<ResponsiveIframe
|
||||
src={process.env.NEXT_PUBLIC_IFRAME_FLOW_URL || ''}
|
||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
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);
|
||||
@ -12,14 +13,9 @@ export default async function Page() {
|
||||
return (
|
||||
<main className="w-full h-screen bg-black">
|
||||
<div className="w-full h-full pt-12">
|
||||
<iframe
|
||||
src={process.env.NEXT_PUBLIC_IFRAME_GITE_URL}
|
||||
className="w-full h-full border-none"
|
||||
<ResponsiveIframe
|
||||
src={process.env.NEXT_PUBLIC_IFRAME_GITE_URL || ''}
|
||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
|
||||
style={{
|
||||
marginTop: '-64px'
|
||||
}}
|
||||
allowFullScreen
|
||||
/>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
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);
|
||||
@ -12,14 +13,9 @@ export default async function Page() {
|
||||
return (
|
||||
<main className="w-full h-screen bg-black">
|
||||
<div className="w-full h-full pt-12">
|
||||
<iframe
|
||||
src={process.env.NEXT_PUBLIC_IFRAME_LEARN_URL}
|
||||
className="w-full h-full border-none"
|
||||
<ResponsiveIframe
|
||||
src={process.env.NEXT_PUBLIC_IFRAME_LEARN_URL || ''}
|
||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
|
||||
style={{
|
||||
marginTop: '-64px'
|
||||
}}
|
||||
allowFullScreen
|
||||
/>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
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);
|
||||
@ -12,14 +13,9 @@ export default async function Page() {
|
||||
return (
|
||||
<main className="w-full h-screen bg-black">
|
||||
<div className="w-full h-full pt-12">
|
||||
<iframe
|
||||
src={process.env.NEXT_PUBLIC_IFRAME_PAROLE_URL}
|
||||
className="w-full h-full border-none"
|
||||
<ResponsiveIframe
|
||||
src={process.env.NEXT_PUBLIC_IFRAME_PAROLE_URL || ''}
|
||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
|
||||
style={{
|
||||
marginTop: '-64px'
|
||||
}}
|
||||
allowFullScreen
|
||||
/>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user