Skip to content

Commit 69c9071

Browse files
committed
updated landing page to further emphasize project advancement
1 parent 8916238 commit 69c9071

9 files changed

Lines changed: 398 additions & 43 deletions

File tree

index.php

Lines changed: 62 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,14 @@
1313
$header->render();
1414
?>
1515

16-
<!-- Si l'utilisateur est connecté, affiche le dashboard, sinon la page d'accueil classique -->
1716
<?php if (isset($_SESSION['user_id'])): ?>
1817

1918
<?php
2019
$dashboard = new Dashboard();
21-
22-
// Affiche le dashboard
2320
$dashboard->render();
2421
?>
2522

2623
<?php else: ?>
27-
<!-- Page d'accueil classique pour les visiteurs non connectés -->
2824
<main>
2925
<h1><?php echo __('idx_h1'); ?> <img src="assets/img/v.webp" alt="V" class="v-icon"></h1>
3026
<p class="subtitle"><?php echo __('idx_subtitle'); ?></p>
@@ -39,93 +35,116 @@
3935
</button>
4036
</div>
4137

42-
<button class="cta-button" onclick="openPrivacyModal()" id="app-btns">
38+
<button class="cta-button" onclick="openPrivacyModal()" id="app-btns" style="display: none;">
4339
<i class="fab fa-discord"></i> <?php echo __('idx_cta'); ?>
4440
</button>
4541

4642
<div class="cards-container">
4743
<div class="card">
48-
<div class="card-icon" style="color: #e74c3c;"><i class="fas fa-medal"></i></div>
49-
<h3><?php echo __('idx_card1_title'); ?></h3>
50-
<p><?php echo __('idx_card1_desc'); ?></p>
44+
<div class="card-icon" style="color: #7289DA;"><i class="fab fa-discord"></i></div>
45+
<h3><?php echo __('idx_feat1_title'); ?></h3>
46+
<p><?php echo __('idx_feat1_desc'); ?></p>
5147
</div>
5248
<div class="card">
53-
<div class="card-icon" style="color: #9ae73c;"><i class="fas fa-users-cog"></i></div>
49+
<div class="card-icon" style="color: #e74c3c;"><i class="fas fa-users"></i></div>
5450
<h3><?php echo __('idx_card2_title'); ?></h3>
5551
<p><?php echo __('idx_card2_desc'); ?></p>
5652
</div>
5753
<div class="card">
58-
<div class="card-icon" style="color: #3c78e7;"><i class="fas fa-gamepad"></i></div>
59-
<h3><?php echo __('idx_card3_title'); ?></h3>
60-
<p><?php echo __('idx_card3_desc'); ?></p>
54+
<div class="card-icon" style="color: #9ae73c;"><i class="fas fa-clipboard-list"></i></div>
55+
<h3><?php echo __('idx_feat3_title'); ?></h3>
56+
<p><?php echo __('idx_feat3_desc'); ?></p>
6157
</div>
6258
</div>
6359
</main>
6460

6561
<div class="scroll-indicator-container">
66-
<a href="#presentation" class="scroll-arrow">
67-
<i class="fas fa-chevron-down"></i>
68-
</a>
62+
<a href="#presentation" class="scroll-arrow">
63+
<i class="fas fa-chevron-down"></i>
64+
</a>
6965
</div>
7066

71-
<section id="presentation" class="info-section">
72-
<h2><?php echo __('idx_pres_title1'); ?><span style="color: var(--primary-purple)"><?php echo __('idx_pres_title2'); ?></span></h2>
67+
<section id="presentation" class="info-section">
68+
<h2><?php echo __('idx_pres_title1'); ?> <span style="color: var(--primary-purple)"><?php echo __('idx_pres_title2'); ?></span></h2>
69+
7370
<div class="info-section-content">
7471
<div class="info-block">
7572
<div class="info-text">
76-
<h3><?php echo __('idx_pres_sub1'); ?></h3>
77-
<p>
78-
<?php echo __('idx_pres_p1'); ?>
79-
</p>
80-
<p>
81-
<?php echo __('idx_pres_p2'); ?>
82-
</p>
73+
<h3><?php echo __('idx_mm_title'); ?></h3>
74+
<p><?php echo __('idx_mm_desc1'); ?></p>
75+
<p><?php echo __('idx_mm_desc2'); ?></p>
8376
<ul class="info-list">
84-
<li><i class="fas fa-check-circle"></i><?php echo __('idx_pres_li1'); ?></li>
85-
<li><i class="fas fa-check-circle"></i><?php echo __('idx_pres_li2'); ?></li>
86-
<li><i class="fas fa-check-circle"></i><?php echo __('idx_pres_li3'); ?></li>
77+
<li><i class="fas fa-medal"></i> <?php echo __('idx_mm_li1'); ?></li>
78+
<li><i class="fas fa-shield-alt"></i> <?php echo __('idx_mm_li2'); ?></li>
79+
<li><i class="fas fa-gavel"></i> <?php echo __('idx_mm_li3'); ?></li>
8780
</ul>
81+
<a href="edp.php" class="link-arrow"><?php echo __('idx_pres_link'); ?> <i class="fas fa-arrow-right"></i></a>
8882
</div>
8983
<div class="info-visual">
90-
<img src="assets/img/img_1.webp" alt="Illustration du stade de la route du sacre" class="feature-img">
84+
<img src="assets/img/img_1.webp" alt="Matchmaking Secteur V" class="feature-img">
9185
</div>
9286
</div>
9387

94-
<div class="info-block reverse">
88+
<div class="info-block reverse client-highlight-block">
9589
<div class="info-text">
96-
<h3><?php echo __('idx_pres_sub2'); ?></h3>
97-
<p>
98-
<?php echo __('idx_pres_p3'); ?>
99-
</p>
100-
<a href="edp.php" class="link-arrow"><?php echo __('idx_pres_link'); ?> <i class="fas fa-arrow-right"></i></a>
90+
<h3><i class="fas fa-desktop" style="color: var(--primary-purple);"></i> <?php echo __('idx_client_title'); ?></h3>
91+
<p><?php echo __('idx_client_desc1'); ?></p>
92+
<p><?php echo __('idx_client_desc2'); ?></p>
93+
<a href="download_client.php" class="cta-button" style="width: fit-content; margin-top: 1.5rem; text-decoration: none; font-size: 1rem; padding: 1rem 2rem;">
94+
<?php echo __('nav_download_client'); ?> <i class="fas fa-arrow-right"></i>
95+
</a>
10196
</div>
10297
<div class="info-visual">
103-
<img src="assets/img/img_2.webp" alt="Illustration de Quentin Cinquedea" class="feature-img">
98+
<img src="assets/img/img_2.webp" alt="Windows Client Overlay" class="feature-img client-glowing-img">
10499
</div>
105100
</div>
106101
</div>
107102
</section>
108103

104+
<section class="roadmap-section">
105+
<h2><?php echo __('idx_roadmap_title1'); ?> <span style="color: var(--primary-purple)"><?php echo __('idx_roadmap_title2'); ?></span></h2>
106+
<p class="subtitle" style="margin-bottom: 4rem;"><?php echo __('idx_roadmap_subtitle'); ?></p>
107+
108+
<div class="roadmap-grid">
109+
<div class="roadmap-card">
110+
<i class="fas fa-trophy roadmap-icon"></i>
111+
<h4><?php echo __('idx_rdm_tournaments'); ?></h4>
112+
<p><?php echo __('idx_rdm_tournaments_desc'); ?></p>
113+
</div>
114+
<div class="roadmap-card">
115+
<i class="fas fa-users-cog roadmap-icon"></i>
116+
<h4><?php echo __('idx_rdm_clans'); ?></h4>
117+
<p><?php echo __('idx_rdm_clans_desc'); ?></p>
118+
</div>
119+
<div class="roadmap-card">
120+
<i class="fas fa-mobile-alt roadmap-icon"></i>
121+
<h4><?php echo __('idx_rdm_mobile'); ?></h4>
122+
<p><?php echo __('idx_rdm_mobile_desc'); ?></p>
123+
</div>
124+
<div class="roadmap-card">
125+
<i class="fas fa-star roadmap-icon"></i>
126+
<h4><?php echo __('idx_rdm_achievements'); ?></h4>
127+
<p><?php echo __('idx_rdm_achievements_desc'); ?></p>
128+
</div>
129+
</div>
130+
</section>
131+
109132
<?php endif;?>
110133

111134
<?php
112135
$popup = new PrivacyPopup();
113136
$footer = new Footer();
114137

115-
// Ajoute le popup de confidentialité
116138
$popup->render();
117-
118-
// Affiche le footer
119139
$footer->render();
120140
?>
121141

122142
<script>
123143
if (window.secteurV) {
124-
document.getElementById('web-btns').style.display = 'none';
125-
document.getElementById('app-btns').style.display = 'inline-block';
126-
} else {
127-
document.getElementById('web-btns').style.display = 'flex';
128-
document.getElementById('app-btns').style.display = 'none';
144+
const webBtns = document.getElementById('web-btns');
145+
const appBtns = document.getElementById('app-btns');
146+
if (webBtns) webBtns.style.display = 'none';
147+
if (appBtns) appBtns.style.display = 'inline-block';
129148
}
130149
</script>
131150

lang/ar.php

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,4 +499,37 @@
499499
'ov_hint' => 'اضغط على SHIFT + TAB للتفاعل مع Secteur V',
500500
'ov_ready_to_play' => 'جاهز للتشغيل',
501501
'ov_media_player' => 'مشغل الوسائط',
502+
503+
// --- NOUVELLE PAGE D'ACCUEIL ---
504+
'idx_feat1_title' => 'تسجيل الدخول عبر Discord',
505+
'idx_feat1_desc' => 'قم بتسجيل الدخول بنقرة واحدة باستخدام حساب Discord الخاص بك. سريع وآمن وبدون تعقيدات.',
506+
'idx_feat2_title' => 'الاجتماعية والأصدقاء',
507+
'idx_feat2_desc' => 'أضف أصدقاء، وأرسل رسائل خاصة، وقم بتوسيع شبكتك التنافسية.',
508+
'idx_feat3_title' => 'الملف الشخصي وقاعدة البيانات',
509+
'idx_feat3_desc' => 'قم بتخصيص ملفك الشخصي، وبناء فريقك، والتحقق من إحصائيات اللاعبين الآخرين.',
510+
511+
'idx_pres_title1' => 'التوفيق و',
512+
'idx_pres_title2' => 'النظام البيئي',
513+
'idx_mm_title' => 'المباريات المصنفة والعادية',
514+
'idx_mm_desc1' => 'سواء كنت مبتدئًا يبحث عن المتعة أو محترفًا يهدف إلى القمة، فإن نظامنا يتكيف معك.',
515+
'idx_mm_desc2' => 'اعثر على خصوم من مستواك في ثوانٍ واستمتع بنظام تنافسي عادل.',
516+
'idx_mm_li1' => 'خوارزمية دقيقة تعتمد على الـ ELO',
517+
'idx_mm_li2' => 'معالجة آمنة للنزاعات',
518+
'idx_mm_li3' => 'مباريات ودية للتدريب',
519+
520+
'idx_client_title' => 'تطبيق Windows',
521+
'idx_client_desc1' => 'انتقل إلى المستوى التالي مع عميل سطح المكتب الحصري لدينا. استمتع بتراكب كامل (Overlay) مباشرة فوق لعبتك.',
522+
'idx_client_desc2' => 'انضم إلى المباريات، ودردش مع الأصدقاء، وقم بتحديث حالة Discord (RPC) الخاصة بك دون الخروج من اللعبة.',
523+
524+
'idx_roadmap_title1' => 'التحديثات',
525+
'idx_roadmap_title2' => 'المستقبلية',
526+
'idx_roadmap_subtitle' => 'اكتشف ما سيأتي قريبًا جدًا في القطاع الخامس.',
527+
'idx_rdm_tournaments' => 'البطولات',
528+
'idx_rdm_tournaments_desc' => 'بطولات أسبوعية رسمية وإنشاء بطولات مخصصة يديرها المجتمع.',
529+
'idx_rdm_clans' => 'نظام العشائر (Clans)',
530+
'idx_rdm_clans_desc' => 'شكل نقابات، واستمتع بدردشة خاصة، وتسلق الترتيب العالمي للعشائر.',
531+
'idx_rdm_mobile' => 'تطبيق الهاتف المحمول',
532+
'idx_rdm_mobile_desc' => 'تطبيق مصاحب لنظامي iOS و Android ليحل محل التراكب عندما لا تكون على جهاز الكمبيوتر.',
533+
'idx_rdm_achievements' => 'الإنجازات والرتب',
534+
'idx_rdm_achievements_desc' => 'افتح إنجازات حصرية، واطلع على أدلة استراتيجية، واكسب شارات جديدة.',
502535
];

lang/de.php

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,4 +499,37 @@
499499
'ov_hint' => 'Drücke SHIFT + TAB, um mit Secteur V zu interagieren',
500500
'ov_ready_to_play' => 'Bereit zum Abspielen',
501501
'ov_media_player' => 'Mediaplayer',
502+
503+
// --- NOUVELLE PAGE D'ACCUEIL ---
504+
'idx_feat1_title' => 'Discord-Login',
505+
'idx_feat1_desc' => 'Melden Sie sich mit einem Klick über Ihr Discord-Konto an. Schnell, sicher und problemlos.',
506+
'idx_feat2_title' => 'Social & Freunde',
507+
'idx_feat2_desc' => 'Fügen Sie Freunde hinzu, senden Sie private Nachrichten und bauen Sie Ihr Netzwerk auf.',
508+
'idx_feat3_title' => 'Profil & Datenbank',
509+
'idx_feat3_desc' => 'Personalisieren Sie Ihr Profil, stellen Sie Ihr Team zusammen und prüfen Sie die Statistiken anderer.',
510+
511+
'idx_pres_title1' => 'Matchmaking &',
512+
'idx_pres_title2' => 'Ökosystem',
513+
'idx_mm_title' => 'Ranked & Normales Matchmaking',
514+
'idx_mm_desc1' => 'Ob Anfänger, der Spaß sucht, oder Veteran, der an die Spitze will – unser System passt sich Ihnen an.',
515+
'idx_mm_desc2' => 'Finden Sie in Sekunden Gegner auf Ihrem Niveau und genießen Sie ein faires Wettbewerbssystem.',
516+
'idx_mm_li1' => 'Präziser ELO-basierter Algorithmus',
517+
'idx_mm_li2' => 'Sichere Streitbeilegung',
518+
'idx_mm_li3' => 'Freundschaftsspiele zum Üben',
519+
520+
'idx_client_title' => 'Die Windows-App',
521+
'idx_client_desc1' => 'Bringen Sie Ihr Spiel auf das nächste Level mit unserem Desktop-Client. Genießen Sie ein Overlay direkt im Spiel.',
522+
'idx_client_desc2' => 'Starten Sie die Spielersuche, chatten Sie und aktualisieren Sie Ihren Discord-Status (RPC), ohne das Spiel zu minimieren.',
523+
524+
'idx_roadmap_title1' => 'Zukünftige',
525+
'idx_roadmap_title2' => 'Updates',
526+
'idx_roadmap_subtitle' => 'Sehen Sie, was bald bei Secteur V kommt.',
527+
'idx_rdm_tournaments' => 'Turniere',
528+
'idx_rdm_tournaments_desc' => 'Offizielle wöchentliche Turniere und von der Community organisierte Events.',
529+
'idx_rdm_clans' => 'Clan-System',
530+
'idx_rdm_clans_desc' => 'Gründen Sie Gilden, nutzen Sie private Chats und klettern Sie in der weltweiten Clan-Rangliste.',
531+
'idx_rdm_mobile' => 'Mobile App',
532+
'idx_rdm_mobile_desc' => 'Eine iOS- und Android-App als Overlay-Ersatz, wenn Sie nicht am PC sind.',
533+
'idx_rdm_achievements' => 'Erfolge & Ränge',
534+
'idx_rdm_achievements_desc' => 'Schalten Sie exklusive Erfolge, Strategie-Guides und neue Abzeichen frei.',
502535
];

lang/en.php

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,4 +489,37 @@
489489
'ov_hint' => 'Press SHIFT + TAB to interact with Secteur V',
490490
'ov_ready_to_play' => 'Ready to Play',
491491
'ov_media_player' => 'Media Player',
492+
493+
// --- NOUVELLE PAGE D'ACCUEIL ---
494+
'idx_feat1_title' => 'Discord Login',
495+
'idx_feat1_desc' => 'Log in with one click using your Discord account. Fast, secure, and hassle-free.',
496+
'idx_feat2_title' => 'Social & Friends',
497+
'idx_feat2_desc' => 'Add friends, send private messages, and build your competitive gaming network.',
498+
'idx_feat3_title' => 'Profile & Database',
499+
'idx_feat3_desc' => 'Customize your profile, build your team, and check other players\' stats.',
500+
501+
'idx_pres_title1' => 'Matchmaking &',
502+
'idx_pres_title2' => 'Ecosystem',
503+
'idx_mm_title' => 'Ranked & Normal Matchmaking',
504+
'idx_mm_desc1' => 'Whether you are a beginner looking for fun or a veteran aiming for the top, our system adapts to you.',
505+
'idx_mm_desc2' => 'Find opponents of your skill level in seconds and enjoy a fair competitive system.',
506+
'idx_mm_li1' => 'Precise ELO-based algorithm',
507+
'idx_mm_li2' => 'Secure dispute handling',
508+
'idx_mm_li3' => 'Friendly matches for practice',
509+
510+
'idx_client_title' => 'The Windows App',
511+
'idx_client_desc1' => 'Take it to the next level with our exclusive desktop client. Enjoy a full overlay right on top of your game.',
512+
'idx_client_desc2' => 'Join matchmaking, chat with friends, and update your Discord status (RPC) without ever alt-tabbing.',
513+
514+
'idx_roadmap_title1' => 'Future',
515+
'idx_roadmap_title2' => 'Updates',
516+
'idx_roadmap_subtitle' => 'See what is coming very soon to Secteur V.',
517+
'idx_rdm_tournaments' => 'Tournaments',
518+
'idx_rdm_tournaments_desc' => 'Official weekly tournaments and custom community-organized brackets.',
519+
'idx_rdm_clans' => 'Clan System',
520+
'idx_rdm_clans_desc' => 'Form guilds, enjoy private chat, and climb the global clan leaderboard.',
521+
'idx_rdm_mobile' => 'Mobile App',
522+
'idx_rdm_mobile_desc' => 'An iOS and Android companion app to replace the overlay when you are not on PC.',
523+
'idx_rdm_achievements' => 'Achievements & Ranks',
524+
'idx_rdm_achievements_desc' => 'Unlock exclusive achievements, advanced strategy guides, and new badges.',
492525
];

lang/es.php

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,4 +499,37 @@
499499
'ov_hint' => 'Presiona SHIFT + TAB para interactuar con Secteur V',
500500
'ov_ready_to_play' => 'Listo para escuchar',
501501
'ov_media_player' => 'Reproductor',
502+
503+
// --- NOUVELLE PAGE D'ACCUEIL ---
504+
'idx_feat1_title' => 'Conexión Discord',
505+
'idx_feat1_desc' => 'Inicia sesión con un clic usando tu cuenta de Discord. Rápido, seguro y sin complicaciones.',
506+
'idx_feat2_title' => 'Social y Amigos',
507+
'idx_feat2_desc' => 'Añade amigos, envía mensajes privados y amplía tu red de jugadores competitivos.',
508+
'idx_feat3_title' => 'Perfil y Base de Datos',
509+
'idx_feat3_desc' => 'Personaliza tu perfil, forma tu equipo y consulta las estadísticas de otros jugadores.',
510+
511+
'idx_pres_title1' => 'Matchmaking y',
512+
'idx_pres_title2' => 'Ecosistema',
513+
'idx_mm_title' => 'Matchmaking Ranked y Normal',
514+
'idx_mm_desc1' => 'Ya seas un principiante buscando diversión o un veterano apuntando a la cima, nuestro sistema se adapta a ti.',
515+
'idx_mm_desc2' => 'Encuentra oponentes de tu nivel en segundos y disfruta de un sistema competitivo justo.',
516+
'idx_mm_li1' => 'Algoritmo preciso basado en ELO',
517+
'idx_mm_li2' => 'Manejo seguro de disputas',
518+
'idx_mm_li3' => 'Partidos amistosos para practicar',
519+
520+
'idx_client_title' => 'La Aplicación Windows',
521+
'idx_client_desc1' => 'Pasa al siguiente nivel con nuestro cliente de escritorio exclusivo. Disfruta de un overlay completo sobre tu juego.',
522+
'idx_client_desc2' => 'Únete al matchmaking, chatea con amigos y actualiza tu estado de Discord (RPC) sin tener que minimizar el juego.',
523+
524+
'idx_roadmap_title1' => 'Próximas',
525+
'idx_roadmap_title2' => 'Actualizaciones',
526+
'idx_roadmap_subtitle' => 'Descubre lo que llegará muy pronto a Secteur V.',
527+
'idx_rdm_tournaments' => 'Torneos',
528+
'idx_rdm_tournaments_desc' => 'Torneos semanales oficiales y creación de torneos personalizados por la comunidad.',
529+
'idx_rdm_clans' => 'Sistema de Clanes',
530+
'idx_rdm_clans_desc' => 'Forma gremios, disfruta de un chat privado y sube en la clasificación mundial de clanes.',
531+
'idx_rdm_mobile' => 'Aplicación Móvil',
532+
'idx_rdm_mobile_desc' => 'Una app de iOS y Android para reemplazar el overlay cuando no juegues en PC.',
533+
'idx_rdm_achievements' => 'Logros y Rangos',
534+
'idx_rdm_achievements_desc' => 'Desbloquea logros exclusivos, consulta guías estratégicas y muestra nuevas insignias.',
502535
];

0 commit comments

Comments
 (0)