Skip to content

Commit ff20424

Browse files
authored
Merge pull request #2 from burnshall-ui/ios-homescreen-f3bdc
Ios homescreen f3bdc
2 parents 1ce2306 + b08bfb8 commit ff20424

6 files changed

Lines changed: 55 additions & 6 deletions

File tree

app/layout.tsx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,22 @@ const orbitron = Orbitron({
2121
export const metadata: Metadata = {
2222
title: "ZIMZ – Agent Control",
2323
description: "ZIMZ: Multi-Agent Dashboard for OpenClaw",
24+
manifest: "/manifest.json",
25+
icons: {
26+
icon: [
27+
{ url: "/favicon.svg", type: "image/svg+xml" },
28+
{ url: "/icon-512.png", sizes: "512x512", type: "image/png" },
29+
],
30+
apple: "/apple-touch-icon.png",
31+
},
32+
appleWebApp: {
33+
capable: true,
34+
title: "ZIMZ",
35+
statusBarStyle: "black-translucent",
36+
},
37+
other: {
38+
"mobile-web-app-capable": "yes",
39+
},
2440
};
2541

2642
export default function RootLayout({

public/apple-touch-icon.png

291 KB
Loading

public/favicon.svg

Lines changed: 10 additions & 0 deletions
Loading

public/icon-512.png

291 KB
Loading

public/manifest.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"name": "ZIMZ – Agent Control",
3+
"short_name": "ZIMZ",
4+
"description": "Multi-Agent Dashboard for OpenClaw",
5+
"start_url": "/",
6+
"display": "standalone",
7+
"background_color": "#030712",
8+
"theme_color": "#0891b2",
9+
"icons": [
10+
{
11+
"src": "/icon-512.png",
12+
"sizes": "512x512",
13+
"type": "image/png",
14+
"purpose": "any"
15+
},
16+
{
17+
"src": "/apple-touch-icon.png",
18+
"sizes": "180x180",
19+
"type": "image/png",
20+
"purpose": "any"
21+
}
22+
]
23+
}

src/components/TasksView.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ export default function TasksView({ agents }: TasksViewProps) {
547547
exit={{ opacity: 0, y: -8, scale: 0.97 }}
548548
transition={{ duration: 0.24, ease: "easeOut" }}
549549
>
550-
<div className="relative w-full max-w-2xl rounded-2xl border border-cyan-300/35 bg-slate-950/95 p-6 shadow-[0_14px_50px_rgba(4,12,28,0.85)] backdrop-blur">
550+
<div className="relative w-full max-w-2xl rounded-2xl border border-cyan-300/35 bg-slate-950/95 p-4 shadow-[0_14px_50px_rgba(4,12,28,0.85)] backdrop-blur md:p-6">
551551
<div className="mb-5 flex items-center justify-between">
552552
<div className="flex items-center gap-2">
553553
<CalendarClock className="h-4 w-4 text-cyan-300" />
@@ -580,7 +580,7 @@ export default function TasksView({ agents }: TasksViewProps) {
580580
)}
581581
</label>
582582

583-
<div className="grid gap-3 md:grid-cols-2">
583+
<div className="grid grid-cols-2 gap-3">
584584
<label className="block text-xs text-slate-300">
585585
Cron Expression
586586
<div className="mt-1 flex gap-2">
@@ -635,15 +635,15 @@ export default function TasksView({ agents }: TasksViewProps) {
635635
</label>
636636
</div>
637637

638-
<div className="grid gap-3 md:grid-cols-3">
638+
<div className="grid grid-cols-3 gap-2 md:gap-3">
639639
<label className="block text-xs text-slate-300">
640640
Session Target
641641
<select
642642
value={form.sessionTarget}
643643
onChange={(event) =>
644644
onChange({ sessionTarget: event.target.value as OpenClawSessionTarget })
645645
}
646-
className="mt-1 w-full rounded-lg border border-slate-700 bg-slate-900/80 px-3 py-2 text-sm text-slate-100 outline-none focus:border-cyan-500/60 focus:ring-1 focus:ring-cyan-500/40"
646+
className="mt-1 w-full rounded-lg border border-slate-700 bg-slate-900/80 px-2 py-2 text-xs text-slate-100 outline-none focus:border-cyan-500/60 focus:ring-1 focus:ring-cyan-500/40 md:px-3 md:text-sm"
647647
>
648648
<option value="isolated">isolated</option>
649649
<option value="main">main</option>
@@ -657,7 +657,7 @@ export default function TasksView({ agents }: TasksViewProps) {
657657
onChange={(event) =>
658658
onChange({ wakeMode: event.target.value as OpenClawWakeMode })
659659
}
660-
className="mt-1 w-full rounded-lg border border-slate-700 bg-slate-900/80 px-3 py-2 text-sm text-slate-100 outline-none focus:border-cyan-500/60 focus:ring-1 focus:ring-cyan-500/40"
660+
className="mt-1 w-full rounded-lg border border-slate-700 bg-slate-900/80 px-2 py-2 text-xs text-slate-100 outline-none focus:border-cyan-500/60 focus:ring-1 focus:ring-cyan-500/40 md:px-3 md:text-sm"
661661
>
662662
<option value="next-heartbeat">next-heartbeat</option>
663663
<option value="now">now</option>
@@ -669,7 +669,7 @@ export default function TasksView({ agents }: TasksViewProps) {
669669
<select
670670
value={form.agentId}
671671
onChange={(event) => onChange({ agentId: event.target.value })}
672-
className="mt-1 w-full rounded-lg border border-slate-700 bg-slate-900/80 px-3 py-2 text-sm text-slate-100 outline-none focus:border-cyan-500/60 focus:ring-1 focus:ring-cyan-500/40"
672+
className="mt-1 w-full rounded-lg border border-slate-700 bg-slate-900/80 px-2 py-2 text-xs text-slate-100 outline-none focus:border-cyan-500/60 focus:ring-1 focus:ring-cyan-500/40 md:px-3 md:text-sm"
673673
>
674674
{agents.map((agent) => (
675675
<option key={agent.id} value={agent.id}>

0 commit comments

Comments
 (0)