WIP: update: adaptations to use the new backend #1

Draft
arthur.wambst wants to merge 21 commits from dev into master
Showing only changes of commit 77ada7394e - Show all commits

View File

@ -264,6 +264,21 @@ function Immersion() {
</div>
)}
</div>
{/* Colonne droite - iframe du sujet */}
<div className="lg:w-2/3 px-4">
<div className="bg-base-200 shadow-lg rounded-lg p-6 mt-4 h-full">
<h2 className="text-2xl font-bold text-blue-600 mb-4">
Subject
</h2>
<iframe
src="https://tp.la-banquise.fr/Sujet_1_Banquise.pdf"
className="w-full h-[800px] rounded-lg border-2 border-base-300"
title="Subject Document"
/>
</div>
<a
href={ji.pdfLink}
target="_blank"
@ -280,23 +295,9 @@ function Immersion() {
</div>
</a>
</div>
{/* Colonne droite - iframe du sujet */}
<div className="lg:w-2/3 px-4">
<div className="bg-base-200 shadow-lg rounded-lg p-6 mt-4 h-full">
<h2 className="text-2xl font-bold text-blue-600 mb-4">
Subject
</h2>
<iframe
src="https://tp.la-banquise.fr/Sujet_1_Banquise.pdf"
className="w-full h-[800px] rounded-lg border-2 border-base-300"
title="Subject Document"
/>
</div>
</div>
</div>
{/* Section inférieure : Tableau des instances sur toute la largeur */}
{/* Section inférieure : Tableau des instances sur toute la largeur */}
{username === "root" && (
<div className="px-4 mt-8">
<div className="bg-base-200 shadow-lg rounded-lg p-6">
<div className="flex justify-between items-center mb-4">
@ -395,6 +396,7 @@ function Immersion() {
</div>
</div>
</div>
)}
</div>
</>
)}