add copyright & disclaime and remove double content
All checks were successful
Deploy Sokko G / deploy (push) Successful in 6s
All checks were successful
Deploy Sokko G / deploy (push) Successful in 6s
This commit is contained in:
parent
15a904c008
commit
e65c74ea0a
5 changed files with 188 additions and 34 deletions
|
|
@ -44,57 +44,57 @@ const DEFAULT_TOOLBOX_ICON = `${TOOLBOX_ICON_BASE}toolbox.png`;
|
|||
const DEFAULT_SITE_CONTENT = {
|
||||
brand: { name: "Sokko G", homeAriaLabel: "Accueil Sokko G" },
|
||||
navigation: { home: "Accueil", toolboxes: "Toolboxes", games: "Jeux", mobileGames: "Infos" },
|
||||
sidebar: { badge: "Local only", note: "Données stockées dans ce navigateur." },
|
||||
topbar: { dashboard: "Dashboard", toolbox: "Toolbox active", games: "Informations jeu" },
|
||||
sidebar: { badge: "", note: "" },
|
||||
topbar: { dashboard: "", toolbox: "", games: "" },
|
||||
gamesPage: {
|
||||
eyebrow: "Pages informatives",
|
||||
title: "Jeux disponibles",
|
||||
description: "Choisissez un jeu pour consulter ses données maintenues et associer une toolbox locale.",
|
||||
eyebrow: "",
|
||||
title: "Jeux",
|
||||
description: "",
|
||||
emptyTitle: "Aucun jeu disponible",
|
||||
emptyText: "Ajoutez des entrées dans /data/games.json."
|
||||
emptyText: ""
|
||||
},
|
||||
home: {
|
||||
hero: {
|
||||
eyebrow: "Session gaming efficace",
|
||||
eyebrow: "",
|
||||
title: "Sokko G",
|
||||
description: "Centralisez vos outils et repères de jeu dans une interface locale, rapide à consulter, pensée pour accompagner vos sessions sans interrompre l’action.",
|
||||
primaryAction: "Voir les toolboxes",
|
||||
secondaryAction: "Voir les jeux"
|
||||
description: "",
|
||||
primaryAction: "Toolboxes",
|
||||
secondaryAction: "Jeux"
|
||||
},
|
||||
stats: {
|
||||
toolboxSingular: "toolbox créée",
|
||||
toolboxPlural: "toolboxs créées",
|
||||
toolSingular: "outil disponible",
|
||||
toolPlural: "outils disponibles"
|
||||
toolboxSingular: "toolbox",
|
||||
toolboxPlural: "toolboxes",
|
||||
toolSingular: "outil",
|
||||
toolPlural: "outils"
|
||||
},
|
||||
origin: {
|
||||
eyebrow: "Origine du nom",
|
||||
title: "Pourquoi Sokko G ?",
|
||||
visualAlt: "Dragon Sokko G",
|
||||
dialogueAriaLabel: "Dialogue d’origine du nom Sokko G",
|
||||
caption: "\"G\" c'est pour Gaming",
|
||||
eyebrow: "",
|
||||
title: "",
|
||||
visualAlt: "",
|
||||
dialogueAriaLabel: "",
|
||||
caption: "",
|
||||
lines: []
|
||||
},
|
||||
legal: {
|
||||
copyright: "",
|
||||
disclaimer: ""
|
||||
}
|
||||
},
|
||||
toolboxes: {
|
||||
eyebrow: "Données locales",
|
||||
eyebrow: "",
|
||||
title: "Toolboxes",
|
||||
newButton: "Nouvelle toolbox",
|
||||
importAll: "Importer tout",
|
||||
exportAll: "Exporter tout",
|
||||
importOne: "Importer une toolbox",
|
||||
summary: "Créez des espaces modulaires pour regrouper vos outils de session : notes, suivis, références, captures et futurs modules restent accessibles rapidement, en local, par jeu ou par usage.",
|
||||
importAll: "Importer",
|
||||
exportAll: "Exporter",
|
||||
importOne: "Importer",
|
||||
summary: "",
|
||||
storageHelp: {
|
||||
title: "Sauvegardes locales",
|
||||
text: "Vos toolboxes restent sur cet appareil, dans ce navigateur. Rien n’est envoyé sur un serveur.",
|
||||
items: [
|
||||
"Un nettoyage du navigateur ou un changement d’appareil peut supprimer les données.",
|
||||
"Surveillez le quota, surtout si vous ajoutez des screenshots.",
|
||||
"Faites un export global régulier pour garder une sauvegarde."
|
||||
]
|
||||
title: "",
|
||||
text: "",
|
||||
items: []
|
||||
},
|
||||
emptyTitle: "Aucune toolbox",
|
||||
emptyText: "Créez une première toolbox pour stocker vos outils dans ce navigateur."
|
||||
emptyText: ""
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -901,8 +901,8 @@ function Shell({ route, content, games, toolboxes, links, actions, children }) {
|
|||
<span className="badge">{content.sidebar.badge}</span>
|
||||
<p>{content.sidebar.note}</p>
|
||||
<div className="sidebar-storage-actions" aria-label="Actions globales de stockage">
|
||||
<button className="sidebar-action-button primary" onClick={actions.exportAllToolboxes} aria-label="Exporter toutes les toolboxes" title="Exporter tout"><Icon name="export" /></button>
|
||||
<ImportButton className="sidebar-action-button import-icon-button" title="Importer tout" ariaLabel="Importer toutes les toolboxes" onFile={actions.importAllToolboxes} icon="import" />
|
||||
<button className="sidebar-action-button" onClick={actions.exportAllToolboxes} aria-label="Exporter toutes les toolboxes" title="Exporter tout"><Icon name="export" /></button>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
|
|
@ -973,6 +973,10 @@ function HomePage({ siteContent, toolboxes }) {
|
|||
<img src="/static/img/dragon.png" alt={content.origin.visualAlt} />
|
||||
</div>
|
||||
</section>
|
||||
<footer className="home-legal">
|
||||
<p>{content.legal.copyright}</p>
|
||||
<p>{content.legal.disclaimer}</p>
|
||||
</footer>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
|
@ -1012,8 +1016,8 @@ function ToolboxesPage({ siteContent, toolboxes, getToolboxGame, actions }) {
|
|||
<ImportButton className="import-button" label={content.importOne} onFile={actions.importToolbox} />
|
||||
</div>
|
||||
<div>
|
||||
<button className="primary" onClick={actions.exportAllToolboxes}>{content.exportAll}</button>
|
||||
<ImportButton className="import-button" label={content.importAll} onFile={actions.importAllToolboxes} />
|
||||
<button onClick={actions.exportAllToolboxes}>{content.exportAll}</button>
|
||||
</div>
|
||||
</section>
|
||||
<section className="cards">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue