Barre du haut : le logo devient le bouton Accueil
Plus de lien vers vblog.io : un clic sur le logo ou le titre enregistre et ferme le schéma ouvert puis affiche la racine en Galerie. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LNfwm55eC2fDs4xBddm2wG
This commit is contained in:
3 files changed
+11
-4
No files matched your search
@@ -37,7 +37,6 @@ interface Scene {
|
||||
}
|
||||
|
||||
const AUTOSAVE_MS = 1500;
|
||||
const LOGO_LINK = "https://vblog.io";
|
||||
const isMobile = () => window.matchMedia("(max-width: 768px)").matches;
|
||||
const pathFromHash = () => decodeURIComponent(location.hash.replace(/^#\/?/, "")) || null;
|
||||
|
||||
@@ -573,7 +572,15 @@ export default function App() {
|
||||
>
|
||||
<MenuIcon />
|
||||
</button>
|
||||
<a className="brand" href={LOGO_LINK} target="_blank" rel="noopener" title={LOGO_LINK.replace(/^https:\/\//, "")}>
|
||||
<a
|
||||
className="brand"
|
||||
href="#"
|
||||
title="Accueil"
|
||||
onClick={(e) => {
|
||||
e.preventDefault();
|
||||
browse("");
|
||||
}}
|
||||
>
|
||||
{settings.logo && <img className="logo" src={api.logoUrl(settings.logo)} alt="" />}
|
||||
<span className="brand-title">{appTitle}</span>
|
||||
</a>
|
||||
|
||||
@@ -370,7 +370,7 @@ button.danger:hover:not(:disabled) {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* Logo (lien vers le site) suivi du titre. */
|
||||
/* Logo suivi du titre : bouton « Accueil ». */
|
||||
.brand {
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
|
||||
Reference in new issue
Block a user