Fix hub icons: swap mount order and add system/support/zeus SVGs

Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/e3246ce1-14ce-4dad-98e9-74738a24ae30

Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-04-03 17:47:12 +00:00
committed by GitHub
parent 3a59974277
commit 6400deddbf
4 changed files with 9 additions and 6 deletions

1
app/icons/support.svg Normal file
View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><circle cx="32" cy="32" r="30" fill="#374151"/><path d="M32 14C22.06 14 14 22.06 14 32c0 5.25 2.27 9.97 5.88 13.24V50a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2v-4.76A17.94 17.94 0 0 0 50 32c0-9.94-8.06-18-18-18zm-7 22a4 4 0 0 1 0-8v8zm14 0v-8a4 4 0 0 1 0 8z" fill="#cdd6f4"/></svg>

After

Width:  |  Height:  |  Size: 331 B

1
app/icons/system.svg Normal file
View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><circle cx="32" cy="32" r="30" fill="#374151"/><path d="M32 20a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm0 18a6 6 0 1 1 0-12 6 6 0 0 1 0 12z" fill="#cdd6f4"/><path d="M30 12h4v6h-4zm0 34h4v6h-4zm-18-16v-4h6v4zm34 0v-4h6v4zm-28.97-13.97 2.83-2.83 4.24 4.24-2.83 2.83zm18.38 18.38 2.83-2.83 4.24 4.24-2.83 2.83zm-24.08 1.41 2.83 2.83 4.24-4.24-2.83-2.83zm18.38-18.38 2.83 2.83 4.24-4.24-2.83-2.83z" fill="#cdd6f4"/></svg>

After

Width:  |  Height:  |  Size: 473 B

1
app/icons/zeus.svg Normal file
View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><circle cx="32" cy="32" r="30" fill="#374151"/><polygon points="36,10 22,34 30,34 28,54 42,30 34,30" fill="#cdd6f4"/></svg>

After

Width:  |  Height:  |  Size: 184 B

View File

@@ -224,12 +224,6 @@ _BASE_DIR = os.path.dirname(os.path.abspath(__file__))
app = FastAPI(title="Sovran_SystemsOS Hub")
app.mount(
"/static",
StaticFiles(directory=os.path.join(_BASE_DIR, "static")),
name="static",
)
_ICONS_DIR = os.environ.get(
"SOVRAN_HUB_ICONS",
os.path.join(os.path.dirname(_BASE_DIR), "icons"),
@@ -241,6 +235,12 @@ if os.path.isdir(_ICONS_DIR):
name="icons",
)
app.mount(
"/static",
StaticFiles(directory=os.path.join(_BASE_DIR, "static")),
name="static",
)
templates = Jinja2Templates(directory=os.path.join(_BASE_DIR, "templates"))
# ── Static asset cache-busting ────────────────────────────────────