From 5892bd0cdabaa5fa56085375f043e9c5dd0fb9b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Mon, 16 Mar 2026 16:02:57 +0400 Subject: [PATCH] Prevent app icon loading when opening the app menu Compile into app code by importing the icon in JS. --- app/components/app-menu/home.gjs | 6 ++++- app/icons/icon-rounded.svg | 45 ++++++++++++++++++++++++++++++++ app/styles/app.css | 11 ++++++++ package.json | 2 +- 4 files changed, 62 insertions(+), 2 deletions(-) create mode 100644 app/icons/icon-rounded.svg diff --git a/app/components/app-menu/home.gjs b/app/components/app-menu/home.gjs index 031980e..f1829d7 100644 --- a/app/components/app-menu/home.gjs +++ b/app/components/app-menu/home.gjs @@ -1,11 +1,15 @@ import { on } from '@ember/modifier'; import { fn } from '@ember/helper'; +import { htmlSafe } from '@ember/template'; import Icon from '#components/icon'; +import iconRounded from '../../icons/icon-rounded.svg?raw';