forked from FWS/TEMPLATE-Web-site-one-page
Compare commits
6 Commits
6a7566e149
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
ae289cffa3
|
|||
|
c0fd8353a6
|
|||
|
6456859e9e
|
|||
|
85a551c0b7
|
|||
|
ca7cbf98ec
|
|||
|
59d18dfdb7
|
+8
-8
@@ -6,8 +6,9 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="description"
|
||||
content="Site statique one-page avec navigation par URL et chargement dynamique du contenu." />
|
||||
<title>Fws Web</title>
|
||||
<title>Fws Linux</title>
|
||||
<link rel="stylesheet" href="p/assets/styles/styles.css" />
|
||||
<link rel="icon" type="image/png" href="/p/assets/img/logo.png" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@@ -39,11 +40,10 @@
|
||||
<img class="footer-brand-mark" src="p/assets/img/logo.png" alt="Logo Fws Linux" />
|
||||
<div>
|
||||
<strong>Fws Linux</strong>
|
||||
<p>Un site simple, rapide, et pensé pour naviguer entre plusieurs pages sans quitter l'accueil.</p>
|
||||
<p>Un systeme leger, libre et compatible</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p class="footer-note">Contact, aide, et liens utiles au même endroit.</p>
|
||||
</div>
|
||||
|
||||
<div class="footer-links-grid">
|
||||
@@ -55,16 +55,16 @@
|
||||
|
||||
<section>
|
||||
<h2>Contact</h2>
|
||||
<a href="mailto:contact@fwslinux.fr">Envoyer un mail</a>
|
||||
<a href="tel:+33000000000">Téléphone</a>
|
||||
<!-- <a href="mailto:contact@fwslinux.fr">Envoyer un mail</a>
|
||||
<a href="tel:+33000000000">Téléphone</a> -->
|
||||
<a href="/?p/contact/" data-route="contact">Page de contact</a>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2>Réseaux</h2>
|
||||
<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>
|
||||
<a href="https://github.com/You-re-like-Windows-a-bitch/ISO" 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> -->
|
||||
</section>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -168,6 +168,13 @@
|
||||
const injected = parsed.querySelector("[data-page-content]") ?? parsed.body;
|
||||
main.innerHTML = injected.innerHTML.trim();
|
||||
await injectPageScripts(parsed, response.url);
|
||||
// Update document title from the fetched page if present, otherwise use generated title
|
||||
const pageTitleEl = parsed.querySelector("title");
|
||||
if (pageTitleEl && pageTitleEl.textContent && pageTitleEl.textContent.trim()) {
|
||||
document.title = pageTitleEl.textContent.trim();
|
||||
} else {
|
||||
document.title = routeToTitle(route);
|
||||
}
|
||||
}
|
||||
|
||||
function render(route, { replaceHistory = false } = {}) {
|
||||
@@ -177,7 +184,6 @@
|
||||
.then(() => {
|
||||
setActiveRoute(safeRoute);
|
||||
setCanonicalUrl(safeRoute, replaceHistory);
|
||||
document.title = routeToTitle(safeRoute);
|
||||
window.scrollTo({ top: 0, behavior: "smooth" });
|
||||
})
|
||||
.catch((error) => {
|
||||
|
||||
@@ -0,0 +1,111 @@
|
||||
@import "./var.css";
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
min-height: 100vh;
|
||||
font-family: "Trebuchet MS", "Segoe UI", sans-serif;
|
||||
color: var(--generic-text-color);
|
||||
background:
|
||||
radial-gradient(circle at top left, rgba(0, 212, 255, 0.18), transparent 24%),
|
||||
radial-gradient(circle at right center, rgba(255, 165, 0, 0.14), transparent 28%),
|
||||
linear-gradient(160deg, var(--sidebar-background) 0%, var(--sidebar-select) 50%, var(--background-color) 100%);
|
||||
}
|
||||
|
||||
.contact-header {
|
||||
max-width: 1120px;
|
||||
margin: 0 auto;
|
||||
padding: clamp(2.5rem, 6vw, 5rem) 1.25rem 1.25rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.contact-header h1 {
|
||||
margin: 0;
|
||||
font-family: "Georgia", "Times New Roman", serif;
|
||||
font-size: clamp(2.5rem, 7vw, 5.2rem);
|
||||
line-height: 0.95;
|
||||
letter-spacing: -0.05em;
|
||||
color: var(--highlighted-text-color);
|
||||
}
|
||||
|
||||
.contact-header p {
|
||||
max-width: 62ch;
|
||||
margin: 1rem auto 0;
|
||||
color: var(--generic-text-color);
|
||||
opacity: 0.84;
|
||||
font-size: 1.05rem;
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
hr {
|
||||
width: min(1120px, calc(100% - 2.5rem));
|
||||
margin: 0 auto;
|
||||
border: 0;
|
||||
height: 1px;
|
||||
background: linear-gradient(90deg, transparent, var(--sidebar-text-highlight), var(--warning-text-color), transparent);
|
||||
}
|
||||
|
||||
main {
|
||||
width: min(1120px, calc(100% - 2.5rem));
|
||||
margin: 1.5rem auto 0;
|
||||
padding: 0 0 3rem;
|
||||
}
|
||||
|
||||
main section {
|
||||
padding: clamp(1.4rem, 3vw, 2rem);
|
||||
border-radius: 1.6rem;
|
||||
border: 1px solid rgba(224, 224, 224, 0.16);
|
||||
background: linear-gradient(145deg, var(--sidebar-background), var(--sidebar-select));
|
||||
box-shadow: 0 24px 70px rgba(2, 6, 23, 0.42);
|
||||
}
|
||||
|
||||
main section h2 {
|
||||
margin: 0 0 0.85rem;
|
||||
color: var(--highlighted-text-color);
|
||||
font-family: "Georgia", "Times New Roman", serif;
|
||||
font-size: clamp(1.4rem, 3vw, 2.1rem);
|
||||
}
|
||||
|
||||
main section p {
|
||||
margin: 0 0 1rem;
|
||||
color: var(--generic-text-color);
|
||||
opacity: 0.9;
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
main section strong {
|
||||
color: var(--highlighted-text-color);
|
||||
}
|
||||
|
||||
main section a:not(.button) {
|
||||
color: var(--sidebar-text-highlight);
|
||||
text-decoration: underline;
|
||||
text-underline-offset: 0.15em;
|
||||
}
|
||||
|
||||
main section a:not(.button):hover,
|
||||
main section a:not(.button):focus-visible {
|
||||
color: var(--highlighted-text-color);
|
||||
}
|
||||
|
||||
@media (max-width: 700px) {
|
||||
.contact-header {
|
||||
padding-top: 2rem;
|
||||
}
|
||||
|
||||
main,
|
||||
hr {
|
||||
width: min(100% - 1rem, 1120px);
|
||||
}
|
||||
|
||||
main section {
|
||||
border-radius: 1.1rem;
|
||||
}
|
||||
|
||||
main section a.button {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
+34
-36
@@ -1,39 +1,37 @@
|
||||
<!doctype html>
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Contact</title>
|
||||
<link rel="stylesheet" href="../assets/main-styles/main.css" />
|
||||
</head>
|
||||
<body>
|
||||
<main data-page-content>
|
||||
<section class="hero">
|
||||
<p class="eyebrow">Contact</p>
|
||||
<h1>Tu veux nous joindre ?</h1>
|
||||
<p class="lead">
|
||||
Cette page centralise les moyens de contact et les liens utiles pour écrire, appeler, ou retrouver le projet ailleurs.
|
||||
</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>
|
||||
</div>
|
||||
</section>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Contact - Linux OS</title>
|
||||
<link rel="stylesheet" href="../assets/styles/styles.css">
|
||||
<link rel="stylesheet" href="../assets/styles/contact.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<section class="grid">
|
||||
<article class="card">
|
||||
<h2>Email</h2>
|
||||
<p>contact@fwslinux.fr pour les demandes générales et les retours rapides.</p>
|
||||
</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>
|
||||
<article class="card">
|
||||
<h2>Réseaux</h2>
|
||||
<p>Le footer te donne aussi les liens vers GitHub, Instagram et LinkedIn.</p>
|
||||
</article>
|
||||
</section>
|
||||
</main>
|
||||
</body>
|
||||
<header class="contact-header">
|
||||
<h1>Contactez l'équipe de développement</h1>
|
||||
<p>Une question, un bug à signaler ou envie de contribuer ? Voici comment nous joindre.</p>
|
||||
</header>
|
||||
|
||||
<hr>
|
||||
|
||||
<main>
|
||||
<section>
|
||||
<h2>Notre seul canal officiel actuel</h2>
|
||||
<p>Le projet est en plein développement. Pour le moment, nous n'avons pas encore d'adresse email dédiée ni de réseaux sociaux.</p>
|
||||
<p>
|
||||
<strong>Suivez le projet et ouvrez des Issues / PR ici :</strong>
|
||||
<br>
|
||||
<a class="button button-primary" href="https://github.com/You-re-like-Windows-a-bitch/ISO" target="_blank" rel="noopener noreferrer">Notre GitHub</a>
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<hr>
|
||||
|
||||
</main>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
+2
-1
@@ -3,9 +3,10 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Téléchargements — FWS Linux</title>
|
||||
<title>FWS Linux - Téléchargements</title>
|
||||
|
||||
<link rel="stylesheet" href="../assets/styles/downloads.css" />
|
||||
<link rel="icon" type="image/png" href="/p/assets/img/logo.png" />
|
||||
</head>
|
||||
<body>
|
||||
<main data-page-content>
|
||||
|
||||
+2
-1
@@ -3,8 +3,9 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Accueil</title>
|
||||
<title>FWS Linux - Accueil</title>
|
||||
<link rel="stylesheet" href="../assets/styles/main.css" />
|
||||
<link rel="icon" type="image/png" href="/p/assets/img/logo.png" />
|
||||
</head>
|
||||
<body>
|
||||
<main data-page-content>
|
||||
|
||||
Reference in New Issue
Block a user