Immo514's picture
debug Join Us page form. Validate quiz JS for no console errors. Add session storage for stateful flow (remember answers on back). Bilingual error messages.
9c94be1 verified
Raw History Blame Contribute Delete
11.2 kB
```html
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Join GammaTrust | Rejoignez-nous</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<script src="https://unpkg.com/aos@2极速赛车开奖直播网-极速赛车开奖结果记录-极速赛车开奖官网查询.3.1/dist/aos.js"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Inter', sans-serif;
}
.hero-bg {
background: linear-gradient(135deg, #002366 0%, #0038A8 50%, #4169E1 100%);
background-size: 400% 400%;
animation: gradientWave 15s ease infinite;
}
@keyframes gradientWave {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
</style>
</head>
<body class="bg-gray-50">
<!-- Navigation -->
<nav id="navbar" class="sticky top-0 z-50 bg-white shadow-md transition-all duration-300" style="top: 0;">
<div class="container mx-auto px-4">
<div class="flex justify-between items-center py-3">
<div class="flex items-center">
<a href="index.html" class="flex items-center">
<img src="https://huggingface.co/spaces/Immo514/gammatrust-pre-launch/resolve/main/images/vectorstock_23991008.png" alt="GammaTrust" class="h-10 w-auto">
<div class="ml-2">
<span class="text-2xl font-bold text-blue-900 block">GammaTrust <span class="text-xs text-blue-700 font-medium">11+ ans d'expertise</span></span>
</div>
</a>
</div>
<!-- Desktop Menu -->
<div class="hidden md:flex items-center space-x-8">
<a href="index.html" class="text-blue-900 hover:text-yellow-500 transition-colors font-medium" onclick="gtag('event', 'nav_click', {'event_category': 'Navigation', 'event_label': 'Home'});">Accueil / Home</a>
<a href="invest.html" class="text-blue-900 hover:text-yellow-500 transition-colors font-medium" onclick="gtag('event', 'nav_click', {'event_category': 'Navigation', 'event_label': 'Invest'});">Investir / Invest</a>
<a href="join.html" class="bg-blue-900 text-white px-5 py-2 rounded-lg hover:bg-blue-800 transition-all duration-300 font-semibold border-b-2 border-yellow-500" onclick="gtag('event', 'nav_click', {'event_category': 'Navigation', 'event_label': 'Join Us'});">Rejoignez-nous / Join Us</a>
</div>
<!-- Mobile Menu Button -->
<button id="mobile-menu-button" class="md:hidden text-blue-900 p-2">
<i data-feather="menu" class="w-6 h-6"></i>
</button>
</div>
</div>
<!-- Mobile Menu -->
<div id="mobile-menu" class="hidden md:hidden bg-white py-2 px-4 shadow-lg">
<a href="index.html" class="block py-2 text-blue-900 hover:text-yellow-500 transition-colors pl-3" onclick="gtag('event', 'mobile_nav_click', {'event_category': 'Navigation', 'event_label': 'Home'});">Accueil / Home</a>
<a href="invest.html" class="block py-2 text-blue-900 hover:text-yellow-500 transition-colors pl-4" onclick="gtag('event', 'mobile_nav_click', {'event_category': 'Navigation', 'event_label': 'Invest'});">Investir / Invest</a>
<a href="join.html" class="block py-2 text-blue-900 hover:text-yellow-500 transition-colors border-l-4 border-yellow-500 pl-4" onclick="gtag('event', 'mobile_nav_click', {'event_category': 'Navigation', 'event_label': 'Join Us'});">Rejoignez-nous / Join Us</a>
</div>
</nav>
<!-- Hero Section -->
<section class="hero-bg min-h-screen flex items-center pt-20 pb-16">
<div class="absolute inset-0 bg-black opacity-40"></div>
<div class="container mx-auto px-4">
<div class="max-w-4xl mx-auto text-center text-white" data-aos="fade-up">
<h1 class="text-4xl md:text-5xl lg:text-6xl font-bold mb-6">Rejoignez l'équipe GammaTrust</h1>
<h1 class="text-4xl md:text-5xl lg:text-6xl font-bold mb-6 hidden" data-lang="en">Join the GammaTrust Team</h1>
<p class="text-xl md:text-2xl mb-8 opacity-90" data-lang="fr">Faites partie d'une équipe qui transforme l'immobilier à Montréal</p>
<p class="text-xl md:text-2xl mb-8 opacity-90 hidden" data-lang="en">Be part of a team transforming real estate in Montreal</p>
<div class="flex flex-col sm:flex-row justify-center gap-4">
<a href="#positions" class="bg-yellow-500 text-blue-900 px-8 py-4 rounded-lg font-semibold hover:bg-yellow-400 transition-colors" onclick="gtag('event', 'cta_click', {'event_category': 'Join Us', 'event_label': 'View Positions'});">Voir nos postes</a>
<a href="#contact" class="bg-white text-blue-900 px-8 py-4 rounded-lg font-semibold hover:bg-gray-100 transition-colors" onclick="gtag('event', 'cta_click', {'event_category': 'Join Us', 'event_label': 'Contact Us'});">Nous contacter</a>
</div>
</div>
</div>
</section>
<!-- Positions Section -->
<section id="positions" class="py-20 bg-white">
<div class="container mx-auto px-4">
<div class="text-center mb-16" data-aos="fade-up">
<h2 class="text-3xl md:text-4xl font-bold text-gray-900 mb-4" data-lang="fr">Postes Disponibles</h2>
<h2 class="text-3xl md:text-4xl font-bold text-gray-900 mb-4 hidden" data-lang="en">Open Positions</h2>
<p class="text-xl text-gray-600 max-w-3xl mx-auto" data-lang="fr">Rejoignez notre équipe en pleine croissance</p>
<p class="text-xl text-gray-600 max-w-3xl mx-auto hidden" data-lang="en">Join our growing team</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-8">
<!-- Position 1 -->
<div class="bg-gray-50 p-8 rounded-xl shadow-md" data-aos="fade-up" data-aos-delay="100">
<h3 class="text-2xl font-semibold text-gray-900 mb-2" data-lang="fr">Gestionnaire de Portefeuille</h3>
<h3 class="text-2xl font-semibold text-gray-900 mb-2 hidden" data-lang="en">Portfolio Manager</h3>
<div class="flex items-center text-gray-600 mb-4">
<i data-feather="map-pin" class="w-4 h-4 mr-2"></i>
<span data-lang="fr">Montréal, QC</span>
<span class="hidden" data-lang="en">Montreal, QC</span>
</div>
<p class="text-gray-600 mb-6" data-lang="fr">Gestion et optimisation de notre portefeuille immobilier résidentiel</p>
<p class="text-gray-600 mb-6 hidden" data-lang="en">Management and optimization of our residential real estate portfolio</p>
<a href="#contact" class="bg-blue-900 text-white px-6 py-2 rounded-lg font-semibold hover:bg-blue-800 transition-colors inline-block" onclick="gtag('event', 'position_click', {'event_category': 'Join Us', 'event_label': 'Portfolio Manager'});">Postuler / Apply</a>
</div>
<!-- Position 2 -->
<div class="bg-gray-50 p-8 rounded-xl shadow-md" data-aos="fade-up" data-aos-delay="200">
<h3 class="text-2xl font-semibold text-gray-900 mb-2" data-lang="fr">Analyste Immobilier</h3>
<h3 class="text-2xl font-semibold text-gray-900 mb-2 hidden" data-lang="en">Real Estate Analyst</h3>
<div class="flex items-center text-gray-600 mb-4">
<i data-feather="map-pin" class="w-4 h-4 mr-2"></i>
<span data-lang="fr">Montréal, QC</span>
<span class="hidden" data-lang="en">Montreal, QC</span>
</div>
<p class="text-gray-600 mb-6" data-lang="fr">Analyse des opportunités d'investissement et modélisation financière</p>
<p class="text-gray-600 mb-6 hidden" data-lang="en">Investment opportunity analysis and financial modeling</p>
<a href="#contact" class="bg-blue-900 text-white px-6 py-2 rounded-lg font-semibold hover:bg-blue-800 transition-colors inline-block" onclick="gtag('event', 'position_click', {'event_category': 'Join Us', 'event_label': 'Real Estate Analyst'});">Postuler / Apply</a>
</div>
</div>
</div>
</section>
<!-- Contact Form -->
<section id="contact" class="py-20 bg-gray-100">
<div class="container mx-auto px-4">
<div class="max-w-3xl mx-auto bg-white rounded-xl shadow-md overflow-hidden">
<div class="p-8">
<h2 class="text-3xl font-bold text-gray-900 mb-6" data-lang="fr">Contactez-nous</h2>
<h2 class="text-3xl font-bold text-gray-900 mb-6 hidden" data-lang="en">Contact Us</h2>
<form id="joinForm" class="space-y-6" novalidate>
<div id="formErrors" class="hidden bg-red-50 text-red-700 p-4 rounded-lg mb-6">
<p data-lang="fr">Veuillez corriger les erreurs avant de soumettre</p>
<p class="hidden" data-lang="en">Please correct the errors before submitting</p>
<ul id="errorList" class="list-disc pl-5 mt-2"></ul>
</div>
<div>
<label for="name" class="block text-gray-700 mb-2" data-lang="fr">Nom complet*</label>
<label for="name" class="block text-gray-700 mb-2 hidden" data-lang="en">Full Name*</label>
<input type="text" id="name" name="name" required
class="w-full p-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"
data-error-message-fr="Le nom complet est requis"
data-error-message-en="Full name is required">
<div class="hidden text-red-500 text-sm mt-1" id="nameError"></div>
</div>
<div>
<label for="email" class="block text-gray-700 mb-2" data-lang="fr">Adresse email</label>
<label for="email" class="block text-gray-700 mb