Template
Root-absolute asset paths and ?p= links broke when the site is served from a subfolder (WAMP). Screenshots from the database and avatars from creators.json go through fws_url() as well.
118 lines
5.8 KiB
PHP
118 lines
5.8 KiB
PHP
<?php
|
|
/**
|
|
* FWS Linux — page d'accueil (rendu serveur, markup identique à l'ancien).
|
|
*/
|
|
|
|
declare(strict_types=1);
|
|
|
|
if (!defined('FWS_PAGE_SHELL')) {
|
|
/* Accès direct (/p/index/…) : on délègue au front controller. */
|
|
require __DIR__ . '/../../page.php';
|
|
exit;
|
|
}
|
|
|
|
$title = 'Accueil | FWS Linux';
|
|
$description = 'Découvrez FWS Linux — distribution open-source légère et rapide basée sur Arch Linux. Choisissez parmi KDE Plasma, Gnome, XFCE, Hyprland ou CLI.';
|
|
$extraCss[] = fws_url('/p/assets/styles/main.css');
|
|
$extraJs[] = fws_url('/p/assets/js/hero-carousel.js');
|
|
?>
|
|
<section class="hero hero-carousel" aria-label="Présentation de FWS Linux">
|
|
<div class="hero-carousel-track" data-hero-track>
|
|
<article class="hero-slide is-active" data-hero-slide style="background-image: url('<?= e(fws_url('/p/assets/img/hero/xfce.webp')) ?>');" aria-hidden="false"></article>
|
|
<article class="hero-slide" data-hero-slide style="background-image: url('<?= e(fws_url('/p/assets/img/hero/install.webp')) ?>');" aria-hidden="true"></article>
|
|
<article class="hero-slide" data-hero-slide style="background-image: url('<?= e(fws_url('/p/assets/img/hero/gnome.webp')) ?>');" aria-hidden="true"></article>
|
|
</div>
|
|
|
|
<div class="hero-inner">
|
|
<h1 class="hero-title">FWS Linux</h1>
|
|
<p class="hero-subtitle">Un système léger, libre et compatible</p>
|
|
<p class="lead">Open-source basé sur Arch Linux, FWS facilite la transition depuis Windows sans vous déposséder de vos données. Installation simplifiée, interface épurée, et compatibilité avec vos applications Windows grâce à Wine et Winboat.</p>
|
|
<div class="hero-actions">
|
|
<a class="button button-primary" href="<?= e(fws_url('/?p/dl/')) ?>">Télécharger</a>
|
|
<a class="button button-secondary" href="<?= e(fws_url('/?p/contact/')) ?>">En savoir plus</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="hero-controls" aria-label="Contrôles du carrousel">
|
|
<button class="hero-control" type="button" data-hero-prev aria-label="Image précédente">‹</button>
|
|
<div class="hero-dots" data-hero-dots role="tablist" aria-label="Sélectionner une image"></div>
|
|
<button class="hero-control" type="button" data-hero-next aria-label="Image suivante">›</button>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="features" aria-label="Fonctionnalités">
|
|
<article class="card" tabindex="0">
|
|
<h2>Installation simplifiée</h2>
|
|
<p>Installateur graphique pour une configuration facile et rapide.</p>
|
|
</article>
|
|
<article class="card" tabindex="0">
|
|
<h2>Léger et rapide</h2>
|
|
<p>Conçu pour être peu gourmand en ressources : idéal pour redonner vie à d'anciens PC.</p>
|
|
</article>
|
|
<article class="card" tabindex="0">
|
|
<h2>Respect de la vie privée</h2>
|
|
<p>Pas de télémétrie intrusive ni de collecte de données : vous gardez le contrôle.</p>
|
|
</article>
|
|
<article class="card" tabindex="0">
|
|
<h2>Compatibilité Windows</h2>
|
|
<p>Exécutez vos logiciels Windows avec Wine et Winboat sans devoir rester sous Windows.</p>
|
|
</article>
|
|
</section>
|
|
|
|
<section class="env-choices" aria-labelledby="env-choices-title">
|
|
<header class="env-choices-header">
|
|
<h2 id="env-choices-title">Choisissez votre environnement à l'installation</h2>
|
|
<p>FWS Linux vous laisse choisir l'interface qui correspond à votre usage. Vous pouvez démarrer en CLI minimale ou installer un bureau complet dès le début.</p>
|
|
</header>
|
|
|
|
<article class="env-row is-reverse">
|
|
<div class="env-text">
|
|
<h3>KDE Plasma</h3>
|
|
<p>Interface moderne, complète et hautement personnalisable. Un excellent choix si vous voulez un bureau riche avec de nombreux outils intégrés.</p>
|
|
</div>
|
|
<figure class="env-media">
|
|
<img src="<?= e(fws_url('/p/assets/img/hero/KDE.webp')) ?>" alt="Capture d'écran de l'environnement KDE Plasma sur FWS Linux" loading="lazy" width="600" height="340" />
|
|
</figure>
|
|
</article>
|
|
|
|
<article class="env-row">
|
|
<figure class="env-media">
|
|
<img src="<?= e(fws_url('/p/assets/img/hero/gnome.webp')) ?>" alt="Capture d'écran de l'environnement GNOME sur FWS Linux" loading="lazy" width="600" height="340" />
|
|
</figure>
|
|
<div class="env-text">
|
|
<h3>GNOME</h3>
|
|
<p>Expérience épurée et orientée productivité. GNOME met l'accent sur la simplicité d'utilisation et un flux de travail propre sans surcharge visuelle.</p>
|
|
</div>
|
|
</article>
|
|
|
|
<article class="env-row is-reverse">
|
|
<div class="env-text">
|
|
<h3>XFCE</h3>
|
|
<p>Environnement léger et très stable, idéal pour les machines modestes ou pour privilégier les performances au quotidien.</p>
|
|
</div>
|
|
<figure class="env-media">
|
|
<img src="<?= e(fws_url('/p/assets/img/hero/xfce.webp')) ?>" alt="Capture d'écran de l'environnement XFCE sur FWS Linux" loading="lazy" width="600" height="340" />
|
|
</figure>
|
|
</article>
|
|
|
|
<article class="env-row">
|
|
<figure class="env-media">
|
|
<img src="<?= e(fws_url('/p/assets/img/hero/hyprland.webp')) ?>" alt="Capture d'écran de l'environnement Hyprland sur FWS Linux" loading="lazy" width="600" height="340" />
|
|
</figure>
|
|
<div class="env-text">
|
|
<h3>Hyprland</h3>
|
|
<p>Tiling Wayland rapide et moderne, pensé pour un workflow clavier et une grande efficacité. Parfait pour les utilisateurs techniques qui aiment optimiser leur espace de travail.</p>
|
|
</div>
|
|
</article>
|
|
|
|
<article class="env-row is-reverse">
|
|
<div class="env-text">
|
|
<h3>CLI (sans environnement)</h3>
|
|
<p>Version minimale pour les utilisateurs avancés, les serveurs ou ceux qui veulent construire leur système à la carte. Aucun bureau graphique n'est préinstallé.</p>
|
|
</div>
|
|
<figure class="env-media">
|
|
<img src="<?= e(fws_url('/p/assets/img/hero/install.webp')) ?>" alt="Capture d'écran de l'interface CLI de FWS Linux" loading="lazy" width="600" height="340" />
|
|
</figure>
|
|
</article>
|
|
</section>
|