Merge pull request #23 from naturallaw777/copilot/fix-icon-display-issue
[WIP] Fix icon display issue due to mount order conflict
This commit is contained in:
1
app/icons/support.svg
Normal file
1
app/icons/support.svg
Normal 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
1
app/icons/system.svg
Normal 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
1
app/icons/zeus.svg
Normal 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 |
@@ -224,12 +224,6 @@ _BASE_DIR = os.path.dirname(os.path.abspath(__file__))
|
|||||||
|
|
||||||
app = FastAPI(title="Sovran_SystemsOS Hub")
|
app = FastAPI(title="Sovran_SystemsOS Hub")
|
||||||
|
|
||||||
app.mount(
|
|
||||||
"/static",
|
|
||||||
StaticFiles(directory=os.path.join(_BASE_DIR, "static")),
|
|
||||||
name="static",
|
|
||||||
)
|
|
||||||
|
|
||||||
_ICONS_DIR = os.environ.get(
|
_ICONS_DIR = os.environ.get(
|
||||||
"SOVRAN_HUB_ICONS",
|
"SOVRAN_HUB_ICONS",
|
||||||
os.path.join(os.path.dirname(_BASE_DIR), "icons"),
|
os.path.join(os.path.dirname(_BASE_DIR), "icons"),
|
||||||
@@ -241,6 +235,12 @@ if os.path.isdir(_ICONS_DIR):
|
|||||||
name="icons",
|
name="icons",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
app.mount(
|
||||||
|
"/static",
|
||||||
|
StaticFiles(directory=os.path.join(_BASE_DIR, "static")),
|
||||||
|
name="static",
|
||||||
|
)
|
||||||
|
|
||||||
templates = Jinja2Templates(directory=os.path.join(_BASE_DIR, "templates"))
|
templates = Jinja2Templates(directory=os.path.join(_BASE_DIR, "templates"))
|
||||||
|
|
||||||
# ── Static asset cache-busting ────────────────────────────────────
|
# ── Static asset cache-busting ────────────────────────────────────
|
||||||
|
|||||||
Reference in New Issue
Block a user