File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,6 +24,31 @@ export const ParrainageNewStudent = () => (
2424 </ Card >
2525) ;
2626
27+ export const ParrainageNewStudentEnglish = ( ) => (
28+ < Card className = "w-full max-w-3xl mx-auto" >
29+ < CardHeader >
30+ < CardTitle className = "text-2xl font-semibold text-gray-800 text-center" >
31+ You are joining the UTT ?
32+ </ CardTitle >
33+ < p className = "text-lg md:text-xl text-gray-700" >
34+ Would you like to be accompanied by a student to explore your new school? Fill out this form now!
35+ </ p >
36+ </ CardHeader >
37+ < CardContent className = "space-y-10" >
38+ < div className = "relative pb-[56.25%] rounded-xl shadow-lg overflow-hidden" >
39+ < iframe
40+ src = "https://docs.google.com/forms/d/e/1FAIpQLSegnFsXqPhBj98cENhu6WWbYuE2Js3M1uA90LmJTz2N1tBfnA/viewform?embedded=true"
41+ className = "absolute inset-0 w-full h-full border-none"
42+ title = "New Student Sponsorship Form"
43+ loading = "lazy" >
44+ Loading...
45+ </ iframe >
46+ </ div >
47+ { /* <p className="text-red-500 font-medium text-center">🚫 This form is not yet available.</p> */ }
48+ </ CardContent >
49+ </ Card >
50+ ) ;
51+
2752export const ParrainageStudent = ( ) => (
2853 < Card className = "w-full max-w-3xl mx-auto" >
2954 < CardHeader >
Original file line number Diff line number Diff line change @@ -3,7 +3,11 @@ import { useNavigate } from 'react-router-dom';
33import { Footer } from '../components/footer' ;
44import EmergencyModal from '../components/home/emergencyModal' ;
55import { Navbar } from '../components/navbar' ;
6- import { ParrainageNewStudent , ParrainageStudent } from '../components/Parrainnage/parrainageForm' ;
6+ import {
7+ ParrainageNewStudent ,
8+ ParrainageNewStudentEnglish ,
9+ ParrainageStudent ,
10+ } from '../components/Parrainnage/parrainageForm' ;
711import { getPermission } from '../services/requests/user.service' ;
812
913const ParrainagePage = ( ) => {
@@ -23,6 +27,8 @@ const ParrainagePage = () => {
2327 < div className = "max-w-7xl mx-auto space-y-8" >
2428 { ( permission === 'Nouveau' || permission === 'Admin' ) && < ParrainageNewStudent /> }
2529
30+ { ( permission === 'Nouveau' || permission === 'Admin' ) && < ParrainageNewStudentEnglish /> }
31+
2632 { ( permission === 'Student' || permission === 'Admin' ) && < ParrainageStudent /> }
2733 </ div >
2834 </ div >
You can’t perform that action at this time.
0 commit comments