Update requirement files with new feature templates and fix backend API error message, along with mobile project config updates and documentation improvements

This commit is contained in:
louiscklaw
2025-06-13 12:11:47 +08:00
parent f23a6b7d9c
commit 346992d4ec
3102 changed files with 220182 additions and 2896 deletions

View File

@@ -86,9 +86,7 @@ const Menu: React.FC<MenuProps> = ({
detail={false}
routerLink={p.path}
routerDirection="none"
className={
location.pathname.startsWith(p.path) ? 'selected' : undefined
}
className={location.pathname.startsWith(p.path) ? 'selected' : undefined}
>
<IonIcon slot="start" icon={p.icon} />
<IonLabel>{p.title}</IonLabel>
@@ -110,15 +108,8 @@ const Menu: React.FC<MenuProps> = ({
? renderlistItems(routes.loggedInPages)
: renderlistItems(routes.loggedOutPages)}
<IonItem>
<IonIcon
slot="start"
icon={moonOutline}
aria-hidden="true"
></IonIcon>
<IonToggle
checked={darkMode}
onClick={() => setDarkMode(!darkMode)}
>
<IonIcon slot="start" icon={moonOutline} aria-hidden="true"></IonIcon>
<IonToggle checked={darkMode} onClick={() => setDarkMode(!darkMode)}>
Dark Mode
</IonToggle>
</IonItem>