REMOVED - Drop Home dock item since the logo already links home
CI / quality (push) Canceled after 0s

This commit is contained in:
moh
2026-09-20 19:42:56 +02:00
parent 4017ba3b72
commit 572329097c
3 changed files with 2 additions and 26 deletions
+2 -2
View File
@@ -21,7 +21,7 @@ type SiteDockProps = {
isSuperAdmin?: boolean; isSuperAdmin?: boolean;
}; };
type NavKey = "home" | "about" | "portfolio" | "products" | "contact"; type NavKey = "about" | "portfolio" | "products" | "contact";
type NavItem = { type NavItem = {
key: NavKey; key: NavKey;
@@ -29,8 +29,8 @@ type NavItem = {
disabled?: boolean; disabled?: boolean;
}; };
// "Home" is intentionally omitted — the logo (first dock icon) is the home link.
const navItems: NavItem[] = [ const navItems: NavItem[] = [
{ key: "home", path: "" },
{ key: "about", path: "/about" }, { key: "about", path: "/about" },
{ key: "portfolio", path: "/portfolio" }, { key: "portfolio", path: "/portfolio" },
{ key: "products", path: "/products", disabled: true }, { key: "products", path: "/products", disabled: true },
-12
View File
@@ -1,12 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
<defs>
<linearGradient id="bg" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#ff8a5f"/><stop offset="1" stop-color="#e5431f"/></linearGradient>
<linearGradient id="gl" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="#fff" stop-opacity="0.26"/><stop offset="0.5" stop-color="#fff" stop-opacity="0"/></linearGradient>
</defs>
<rect x="0" y="0" width="100" height="100" rx="28" fill="url(#bg)"/>
<rect x="0" y="0" width="100" height="100" rx="28" fill="url(#gl)"/>
<rect x="0.75" y="0.75" width="98.5" height="98.5" rx="27.25" fill="none" stroke="#fff" stroke-opacity="0.14" stroke-width="1.5"/>
<g fill="none" stroke="#fff" stroke-width="6" stroke-linecap="round" stroke-linejoin="round">
<path d="M29 49 L50 30 L71 49"/><path d="M34 46 V70 H66 V46"/></g>
</svg>

Before

Width:  |  Height:  |  Size: 844 B

-12
View File
@@ -1,12 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
<defs>
<linearGradient id="bg" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#454b57"/><stop offset="1" stop-color="#1c2027"/></linearGradient>
<linearGradient id="gl" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="#fff" stop-opacity="0.26"/><stop offset="0.5" stop-color="#fff" stop-opacity="0"/></linearGradient>
</defs>
<rect x="0" y="0" width="100" height="100" rx="28" fill="url(#bg)"/>
<rect x="0" y="0" width="100" height="100" rx="28" fill="url(#gl)"/>
<rect x="0.75" y="0.75" width="98.5" height="98.5" rx="27.25" fill="none" stroke="#fff" stroke-opacity="0.14" stroke-width="1.5"/>
<g fill="none" stroke="#fff" stroke-width="6" stroke-linecap="round" stroke-linejoin="round">
<path d="M29 49 L50 30 L71 49"/><path d="M34 46 V70 H66 V46"/></g>
</svg>

Before

Width:  |  Height:  |  Size: 844 B