docs+fix: nettoyage post-migration et conformité svelte-autofixer

- CONTRIBUTING.md et SEO.md réécrits pour la structure SvelteKit
- README : section documents de référence (charte, recette, AGENTS.md, guides Svelte 5)
- Liens internes via resolve()/asset() de $app/paths, externes en rel="external"
- Seo.svelte : JSON-LD construits dans le script (</script> échappé)
- Titres de sections : {' '} remplacé par &#32;
- Renommage svelte_core_bestpractices.md
- Passe svelte-autofixer : 0 issue restante hors {@html} first-party assumés
This commit is contained in:
sucupira
2026-07-21 08:41:55 -04:00
parent d0d80a105e
commit 30858926fa
28 changed files with 217 additions and 277 deletions
+5 -4
View File
@@ -1,4 +1,5 @@
<script lang="ts">
// {@html} sur contenu first-party (JSON i18n du dépôt), aucune donnée utilisateur.
import Seo from '$lib/components/Seo.svelte';
import donations from '$lib/data/donations.json';
import { getBundle } from '$lib/i18n';
@@ -46,7 +47,7 @@
<div class="donation-grid">
{#each donations.oneTime as d (d.url)}
<a href={d.url} class="donation-amount" target="_blank" rel="noopener noreferrer">
<a href={d.url} class="donation-amount" target="_blank" rel="external noopener noreferrer">
{d.amount}{t.support.one_time_suffix}
</a>
{/each}
@@ -86,7 +87,7 @@
href={d.url}
class="donation-amount monthly"
target="_blank"
rel="noopener noreferrer"
rel="external noopener noreferrer"
>
{d.amount}{t.support.monthly_suffix}
</a>
@@ -126,7 +127,7 @@
<a
href={donations.liberapay}
target="_blank"
rel="noopener noreferrer"
rel="external noopener noreferrer"
class="alt-donation-card alt-donation-card--liberapay"
>
<svg class="icon alt-donation-icon" aria-hidden="true"
@@ -139,7 +140,7 @@
<a
href={donations.kofi}
target="_blank"
rel="noopener noreferrer"
rel="external noopener noreferrer"
class="alt-donation-card alt-donation-card--kofi"
>
<svg class="icon alt-donation-icon" aria-hidden="true"