diff --git a/web/src/components/Sidebar.tsx b/web/src/components/Sidebar.tsx index bedcb8f..686dec1 100644 --- a/web/src/components/Sidebar.tsx +++ b/web/src/components/Sidebar.tsx @@ -7,7 +7,7 @@ import { Icon, type IconName } from './Icon' interface NavItem { name: string icon: IconName - path?: string + path: string } const NAV: NavItem[] = [ @@ -17,7 +17,6 @@ const NAV: NavItem[] = [ { name: 'Payments', icon: 'send', path: '/payments' }, { name: 'Decisions', icon: 'scale', path: '/decisions' }, { name: 'Compliance', icon: 'shield', path: '/compliance/cases' }, - { name: 'Audit', icon: 'book' }, ] const SERVICES = ['postgres', 'redpanda', 'keycloak', 'redis'] @@ -69,30 +68,9 @@ export function Sidebar({ active = 'Overview' }: { active?: string }) { -
-
- - Jump to... - Cmd K -
-
- @@ -226,7 +191,6 @@ export function Sidebar({ active = 'Overview' }: { active?: string }) { acme-eu-prod - ) diff --git a/web/src/features/overview/ActivityFeed.tsx b/web/src/features/overview/ActivityFeed.tsx index caacb9d..583f4cb 100644 --- a/web/src/features/overview/ActivityFeed.tsx +++ b/web/src/features/overview/ActivityFeed.tsx @@ -6,45 +6,78 @@ import { toneColor } from '@/lib/tone' import type { ActivityEvent } from '@/mock/types' export function ActivityFeed({ activity }: { activity: ActivityEvent[] }) { - return ( -
-
- Recent activity - - live · last 12m -
- View all -
-
- {activity.map((event, i) => ( -
- - - -
-
{event.type}
-
- {event.detail} -
+ return ( +
+
+ Recent activity + + + live · last 12m +
- {event.ts} - -
- ))} -
-
- ) +
+ {activity.map((event, i) => ( +
+ + + +
+
+ {event.type} +
+
+ {event.detail} +
+
+ + {event.ts} + +
+ ))} +
+
+ ) } diff --git a/web/src/features/overview/SystemLinks.tsx b/web/src/features/overview/SystemLinks.tsx index 5fda2bf..ad3e20d 100644 --- a/web/src/features/overview/SystemLinks.tsx +++ b/web/src/features/overview/SystemLinks.tsx @@ -5,33 +5,54 @@ import { Icon } from '@/components/Icon' import type { SystemLink } from '@/mock/types' export function SystemLinks({ links }: { links: SystemLink[] }) { - return ( -
- {links.map((link) => ( -
- - - -
-
{link.title}
-
{link.url}
-
{link.sub}
-
- + return ( + - ))} -
- ) + ) } diff --git a/web/src/features/overview/TryTheApi.tsx b/web/src/features/overview/TryTheApi.tsx index ed052c5..9168156 100644 --- a/web/src/features/overview/TryTheApi.tsx +++ b/web/src/features/overview/TryTheApi.tsx @@ -5,68 +5,83 @@ import { Icon } from '@/components/Icon' import type { ApiExample } from '@/mock/types' export function TryTheApi({ examples }: { examples: ApiExample[] }) { - return ( -
-
- Try the API - · in-page playground -
- Swagger -
-
- {examples.map((example) => ( -
-
- +
- - -
-
{example.title}
-
{example.endpoint}
-
-
-
-              {example.curl}
-            
-
- ))} -
-
- ) + Try the API + + · in-page playground + +
+
+ {examples.map((example) => ( +
+
+ + + +
+
+ {example.title} +
+
+ {example.endpoint} +
+
+
+
+                            {example.curl}
+                        
+
+ ))} +
+
+ ) }