feat(manager-web): expand favicon ladder + hide unused 2FA/Passkey UI

index.html: add png/ico/apple-touch favicon links, og:image,
and brand theme-color (#7B6BE3) so all icon surfaces use the
H glass mark.

Hide unused auth UI:
- profile page: drop PasskeyCard + TwoFACard
- system-settings/auth: drop Passkey Authentication section

These features aren't part of the Heicode platform flow (auth
is delegated to the identity service / SSO); leaving them in
the UI confuses tenants.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-11 10:52:28 +08:00
co-authored by Claude Opus 4.7
parent c47db748e5
commit afceb7cc2e
3 changed files with 7 additions and 35 deletions
+7 -1
View File
@@ -3,6 +3,9 @@
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/heicode-logo.svg" />
<link rel="icon" type="image/png" sizes="32x32" href="/logo.png" />
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="apple-touch-icon" href="/logo.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Primary Meta Tags -->
@@ -12,8 +15,11 @@
name="description"
content="Heicode Manager — multi-tenant control plane for Agnet deployments, events and audit."
/>
<meta property="og:title" content="Heicode Manager" />
<meta property="og:image" content="/logo.png" />
<meta property="og:type" content="website" />
<meta name="theme-color" content="#fff" />
<meta name="theme-color" content="#7B6BE3" />
</head>
<body>
-4
View File
@@ -6,12 +6,10 @@ import {
CardStaggerItem,
} from '@/components/page-transition'
import { CheckinCalendarCard } from './components/checkin-calendar-card'
import { PasskeyCard } from './components/passkey-card'
import { ProfileHeader } from './components/profile-header'
import { ProfileSecurityCard } from './components/profile-security-card'
import { ProfileSettingsCard } from './components/profile-settings-card'
import { SidebarModulesCard } from './components/sidebar-modules-card'
import { TwoFACard } from './components/two-fa-card'
import { useProfile } from './hooks'
export function Profile() {
@@ -56,8 +54,6 @@ export function Profile() {
/>
)}
{canConfigureSidebar && <SidebarModulesCard />}
<PasskeyCard loading={loading} />
<TwoFACard loading={loading} />
</div>
</div>
</CardStaggerItem>
@@ -4,7 +4,6 @@ import { BasicAuthSection } from './basic-auth-section'
import { BotProtectionSection } from './bot-protection-section'
import { CustomOAuthSection } from './custom-oauth/custom-oauth-section'
import { OAuthSection } from './oauth-section'
import { PasskeySection } from './passkey-section'
const AUTH_SECTIONS = [
{
@@ -61,35 +60,6 @@ const AUTH_SECTIONS = [
/>
),
},
{
id: 'passkey',
titleKey: 'Passkey Authentication',
descriptionKey: 'Configure Passkey (WebAuthn) login settings',
build: (settings: AuthSettings) => (
<PasskeySection
defaultValues={{
'passkey.enabled': settings['passkey.enabled'],
'passkey.rp_display_name': settings['passkey.rp_display_name'],
'passkey.rp_id': settings['passkey.rp_id'],
'passkey.origins': settings['passkey.origins'],
'passkey.allow_insecure_origin':
settings['passkey.allow_insecure_origin'],
'passkey.user_verification': settings['passkey.user_verification'] as
| 'required'
| 'preferred'
| 'discouraged',
'passkey.attachment_preference': (settings[
'passkey.attachment_preference'
] === ''
? 'none'
: settings['passkey.attachment_preference']) as
| 'none'
| 'platform'
| 'cross-platform',
}}
/>
),
},
{
id: 'bot-protection',
titleKey: 'Bot Protection',