feat(contact): redesign contact page
This commit is contained in:
@@ -0,0 +1,193 @@
|
||||
@import "./var.css";
|
||||
|
||||
.contact-page {
|
||||
display: grid;
|
||||
gap: 1.25rem;
|
||||
}
|
||||
|
||||
.contact-hero {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
|
||||
gap: 1.25rem;
|
||||
padding: clamp(1.25rem, 3vw, 2rem);
|
||||
border-radius: 1.25rem;
|
||||
background:
|
||||
radial-gradient(circle at top right, rgba(125, 211, 252, 0.18), transparent 32%),
|
||||
linear-gradient(180deg, rgba(11, 19, 36, 0.92), rgba(8, 16, 29, 0.96));
|
||||
border: 1px solid rgba(148, 163, 184, 0.16);
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
|
||||
.contact-hero-copy,
|
||||
.contact-hero-card,
|
||||
.contact-card,
|
||||
.contact-panel {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.contact-hero-copy h1 {
|
||||
margin: 0 0 0.75rem;
|
||||
font-family: "Georgia", "Palatino Linotype", serif;
|
||||
font-size: clamp(2.3rem, 5vw, 4rem);
|
||||
line-height: 0.98;
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
|
||||
.contact-hero-copy .lead {
|
||||
max-width: 62ch;
|
||||
margin-bottom: 1.25rem;
|
||||
}
|
||||
|
||||
.contact-hero-card {
|
||||
align-self: stretch;
|
||||
padding: 1.25rem;
|
||||
border-radius: 1rem;
|
||||
background: rgba(15, 23, 42, 0.72);
|
||||
border: 1px solid rgba(125, 211, 252, 0.16);
|
||||
display: grid;
|
||||
align-content: center;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.contact-hero-label,
|
||||
.contact-kicker {
|
||||
margin: 0;
|
||||
color: var(--accent);
|
||||
font-size: 0.82rem;
|
||||
letter-spacing: 0.12em;
|
||||
text-transform: uppercase;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.contact-hero-card strong {
|
||||
font-size: clamp(1.2rem, 2vw, 1.55rem);
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.contact-hero-card p,
|
||||
.contact-help,
|
||||
.contact-card p,
|
||||
.contact-panel p,
|
||||
.contact-panel li {
|
||||
color: var(--muted);
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.contact-grid {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1.6fr) minmax(290px, 0.9fr);
|
||||
gap: 1.25rem;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.contact-main,
|
||||
.contact-sidebar {
|
||||
display: grid;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.contact-main h2 {
|
||||
margin: 0;
|
||||
font-family: "Georgia", "Palatino Linotype", serif;
|
||||
font-size: clamp(1.5rem, 2.8vw, 2rem);
|
||||
}
|
||||
|
||||
.contact-methods {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.contact-card,
|
||||
.contact-panel {
|
||||
padding: 1.1rem;
|
||||
border-radius: 1rem;
|
||||
border: 1px solid rgba(148, 163, 184, 0.16);
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
box-shadow: 0 16px 30px rgba(2, 6, 23, 0.22);
|
||||
}
|
||||
|
||||
.contact-card h3,
|
||||
.contact-panel h2 {
|
||||
margin: 0.25rem 0 0.65rem;
|
||||
color: var(--text);
|
||||
font-family: "Georgia", "Palatino Linotype", serif;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.contact-card a,
|
||||
.contact-inline-links a {
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.contact-link {
|
||||
display: inline-flex;
|
||||
margin-top: 0.5rem;
|
||||
color: var(--accent);
|
||||
text-decoration: none;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.contact-link:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.contact-checklist,
|
||||
.contact-steps {
|
||||
margin: 0.75rem 0 0;
|
||||
padding-left: 1.15rem;
|
||||
display: grid;
|
||||
gap: 0.45rem;
|
||||
}
|
||||
|
||||
.contact-inline-links {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.contact-inline-links a {
|
||||
text-decoration: none;
|
||||
padding: 0.45rem 0.7rem;
|
||||
border-radius: 999px;
|
||||
background: rgba(125, 211, 252, 0.08);
|
||||
border: 1px solid rgba(125, 211, 252, 0.18);
|
||||
}
|
||||
|
||||
.contact-inline-links a:hover {
|
||||
background: rgba(125, 211, 252, 0.14);
|
||||
}
|
||||
|
||||
.contact-panel-soft {
|
||||
background: rgba(255, 255, 255, 0.02);
|
||||
}
|
||||
|
||||
.contact-quick-links {
|
||||
display: grid;
|
||||
gap: 0.7rem;
|
||||
margin: 1rem 0 0.85rem;
|
||||
}
|
||||
|
||||
.contact-help {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@media (max-width: 980px) {
|
||||
.contact-hero,
|
||||
.contact-grid,
|
||||
.contact-methods {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 700px) {
|
||||
.contact-page {
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.contact-hero,
|
||||
.contact-card,
|
||||
.contact-panel {
|
||||
border-radius: 0.9rem;
|
||||
}
|
||||
}
|
||||
+80
-18
@@ -3,36 +3,98 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>FWS Linux - Contact</title>
|
||||
<link rel="stylesheet" href="../assets/main-styles/main.css" />
|
||||
<meta
|
||||
name="description"
|
||||
content="Contactez FWS Linux par email, via les réseaux, ou pour proposer une amélioration du projet."
|
||||
/>
|
||||
<title>Contact - FWS Linux</title>
|
||||
<link rel="stylesheet" href="../assets/styles/main.css" />
|
||||
<link rel="stylesheet" href="../assets/styles/contact.css" />
|
||||
<link rel="icon" type="image/png" href="/p/assets/img/logo.png" />
|
||||
</head>
|
||||
<body>
|
||||
<main data-page-content>
|
||||
<section class="hero">
|
||||
<section class="contact-page">
|
||||
<header class="contact-hero">
|
||||
<div class="contact-hero-copy">
|
||||
<p class="eyebrow">Contact</p>
|
||||
<h1>Tu veux nous joindre ?</h1>
|
||||
<h1>Parle-nous de ton besoin, on te répond vite.</h1>
|
||||
<p class="lead">
|
||||
Cette page centralise les moyens de contact et les liens utiles pour écrire, appeler, ou retrouver le projet ailleurs.
|
||||
Pour une question technique, une idée d'amélioration ou un retour sur la distribution, utilise le canal le plus simple pour toi.
|
||||
</p>
|
||||
<div class="hero-actions">
|
||||
<a class="button button-primary" href="mailto:contact@fwslinux.fr">Envoyer un mail</a>
|
||||
<a class="button button-secondary" href="/?p/index/" data-route="index">Retour à l'accueil</a>
|
||||
<a class="button button-primary" href="mailto:contact@fwslinux.fr?subject=Contact%20FWS%20Linux">Envoyer un mail</a>
|
||||
<a class="button button-secondary" href="/?p/dl/" data-route="dl">Voir les téléchargements</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="grid">
|
||||
<article class="card">
|
||||
<h2>Email</h2>
|
||||
<p>contact@fwslinux.fr pour les demandes générales et les retours rapides.</p>
|
||||
<aside class="contact-hero-card">
|
||||
<p class="contact-hero-label">Canal recommandé</p>
|
||||
<strong>contact@fwslinux.fr</strong>
|
||||
<p>
|
||||
Idéal pour les demandes générales, les bugs, les suggestions et les questions sur l'installation.
|
||||
</p>
|
||||
</aside>
|
||||
</header>
|
||||
|
||||
<section class="contact-grid" aria-labelledby="contact-methods-title">
|
||||
<div class="contact-main">
|
||||
<h2 id="contact-methods-title">Moyens de contact</h2>
|
||||
|
||||
<div class="contact-methods">
|
||||
<article class="contact-card contact-card-highlight">
|
||||
<p class="contact-kicker">Email</p>
|
||||
<h3>Réponse la plus rapide</h3>
|
||||
<p>Écris à <a href="mailto:contact@fwslinux.fr">contact@fwslinux.fr</a> pour les questions générales, les bugs ou les retours produit.</p>
|
||||
<a class="contact-link" href="mailto:contact@fwslinux.fr?subject=Contact%20FWS%20Linux">Ouvrir un mail</a>
|
||||
</article>
|
||||
<article class="card">
|
||||
<h2>Téléphone</h2>
|
||||
<p>+33 0 00 00 00 00 pour les appels ou le support direct.</p>
|
||||
|
||||
<article class="contact-card">
|
||||
<p class="contact-kicker">Support projet</p>
|
||||
<h3>Dis-nous ce que tu veux faire</h3>
|
||||
<p>Installation, compatibilité, environnement de bureau ou packaging: précise ton contexte pour qu’on puisse aller droit au but.</p>
|
||||
<ul class="contact-checklist">
|
||||
<li>Version utilisée</li>
|
||||
<li>Matériel concerné</li>
|
||||
<li>Étape où le souci apparaît</li>
|
||||
</ul>
|
||||
</article>
|
||||
<article class="card">
|
||||
<h2>Réseaux</h2>
|
||||
<p>Le footer te donne aussi les liens vers GitHub, Instagram et LinkedIn.</p>
|
||||
|
||||
<article class="contact-card">
|
||||
<p class="contact-kicker">Réseaux</p>
|
||||
<h3>Suivre le projet</h3>
|
||||
<p>Tu peux aussi retrouver FWS Linux sur les pages liées au projet et dans le footer du site.</p>
|
||||
<div class="contact-inline-links">
|
||||
<a href="https://github.com/" target="_blank" rel="noreferrer">GitHub</a>
|
||||
<a href="https://www.instagram.com/" target="_blank" rel="noreferrer">Instagram</a>
|
||||
<a href="https://www.linkedin.com/" target="_blank" rel="noreferrer">LinkedIn</a>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<aside class="contact-sidebar">
|
||||
<article class="contact-panel">
|
||||
<p class="contact-kicker">Avant d'écrire</p>
|
||||
<h2>Le message parfait tient en 4 lignes</h2>
|
||||
<ol class="contact-steps">
|
||||
<li>Explique ce que tu essayes de faire.</li>
|
||||
<li>Précise ton environnement ou ta version.</li>
|
||||
<li>Ajoute le message d'erreur si tu en as un.</li>
|
||||
<li>Indique si tu veux une réponse par mail ou une piste publique.</li>
|
||||
</ol>
|
||||
</article>
|
||||
|
||||
<article class="contact-panel contact-panel-soft">
|
||||
<p class="contact-kicker">Navigation rapide</p>
|
||||
<div class="contact-quick-links">
|
||||
<a class="button button-secondary" href="/?p/index/" data-route="index">Retour à l'accueil</a>
|
||||
<a class="button button-secondary" href="/?p/dl/" data-route="dl">Téléchargements</a>
|
||||
</div>
|
||||
<p class="contact-help">Si tu hésites, envoie d'abord un mail: on te redirigera vers le bon endroit.</p>
|
||||
</article>
|
||||
</aside>
|
||||
</section>
|
||||
</section>
|
||||
</main>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user