Skip to content

Commit f3e9153

Browse files
authored
Merge pull request #3 from skalenetwork/optimize-repo-structure
update dashboard ui
2 parents e16fe78 + 2446e58 commit f3e9153

5 files changed

Lines changed: 20 additions & 20 deletions

File tree

packages/dashboard/src/assets/logo.svg

Lines changed: 10 additions & 10 deletions
Loading

packages/dashboard/src/components/floating-header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export function FloatingHeader() {
2929
<nav className="flex items-center gap-1 rounded-full border border-border/50 bg-background/60 backdrop-blur-xl p-2 shadow-lg">
3030
<Link to="/" className="flex items-center gap-1.5 px-3 py-1">
3131
<img src={logoSvg} alt="SmartClaws" className="h-4 w-4" />
32-
<span className="hidden md:inline text-sm font-medium tracking-tight" style={{ color: "#FFD7DA" }}>SmartClaws</span>
32+
<span className="hidden md:inline text-sm font-semibold tracking-tight" style={{ background: "linear-gradient(to right, #FF444D, #00B7A3)", WebkitBackgroundClip: "text", WebkitTextFillColor: "transparent" }}>SmartClaws</span>
3333
</Link>
3434
<div className="h-4 w-px bg-border/50" />
3535
<Link

packages/dashboard/src/components/layout/sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export function Sidebar() {
111111
<aside className="hidden md:flex w-56 flex-col border-r border-border">
112112
<Link to="/" className="flex items-center gap-2 px-4 h-12 border-b border-border shrink-0">
113113
<img src={logoSvg} alt="SmartClaws" className="h-4 w-4" />
114-
<span className="font-medium text-sm tracking-tight" style={{ color: "#FFD7DA" }}>SmartClaws</span>
114+
<span className="font-semibold text-sm tracking-tight" style={{ background: "linear-gradient(to right, #FF444D, #00B7A3)", WebkitBackgroundClip: "text", WebkitTextFillColor: "transparent" }}>SmartClaws</span>
115115
</Link>
116116
<nav className="flex-1 px-2 pb-3 overflow-y-auto">
117117
<div className="pt-2">

packages/dashboard/src/components/setup-dialog.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import { MessageBubble } from "@/components/ui/message-bubble";
33
function StepNumber({ n }: { n: number }) {
44
return (
55
<span
6-
className="inline-flex items-center justify-center h-5 w-5 shrink-0 rounded-full text-[10px] font-bold text-black align-middle mr-1.5"
7-
style={{ background: "linear-gradient(178deg, #ffd4d7, #ff8594)" }}
6+
className="inline-flex items-center justify-center h-5 w-5 shrink-0 rounded-full text-[10px] text-white align-middle mr-2.5"
7+
style={{ background: "linear-gradient(to bottom, #FF2A3A, #BE061C)" }}
88
>
99
{n}
1010
</span>
@@ -16,15 +16,15 @@ export function SetupDialog() {
1616
<div className="flex flex-col gap-3">
1717
{/* Step 1: Install skills */}
1818
<MessageBubble variant="secondary" clickable={false}>
19-
<StepNumber n={1} /> Install the skills:
19+
<span className="flex items-center"><StepNumber n={1} /> Install the skills:</span>
2020
</MessageBubble>
2121
<MessageBubble variant="primary">
2222
Install smartclaws-producer and smartclaws-reader skills from ClawHub
2323
</MessageBubble>
2424

2525
{/* Step 2: Set up SmartClaws */}
2626
<MessageBubble variant="secondary" clickable={false}>
27-
<StepNumber n={2} /> Initialize the CLI and generate a wallet:
27+
<span className="flex items-center"><StepNumber n={2} /> Initialize the CLI and generate a wallet:</span>
2828
</MessageBubble>
2929
<MessageBubble variant="primary">
3030
Set up SmartClaws and create a new wallet
@@ -38,23 +38,23 @@ export function SetupDialog() {
3838

3939
{/* Step 3: Register device group */}
4040
<MessageBubble variant="secondary" clickable={false}>
41-
<StepNumber n={3} /> Fund the wallet and register:
41+
<span className="flex items-center"><StepNumber n={3} /> Fund the wallet and register:</span>
4242
</MessageBubble>
4343
<MessageBubble variant="primary">
4444
Wallet funded. Register a new device group: my-sensors.
4545
</MessageBubble>
4646

4747
{/* Step 4: Set up sensor */}
4848
<MessageBubble variant="secondary" clickable={false}>
49-
<StepNumber n={4} /> Connect a sensor and start publishing data:
49+
<span className="flex items-center"><StepNumber n={4} /> Connect a sensor and start publishing data:</span>
5050
</MessageBubble>
5151
<MessageBubble variant="primary">
5252
Set up a temperature sensor and start publishing data
5353
</MessageBubble>
5454

5555
{/* Step 5: Query data */}
5656
<MessageBubble variant="secondary" clickable={false}>
57-
<StepNumber n={5} /> Query your on-chain data:
57+
<span className="flex items-center"><StepNumber n={5} /> Query your on-chain data:</span>
5858
</MessageBubble>
5959
<MessageBubble variant="primary">
6060
What's the current temperature? Show me the trend for the last hour

packages/dashboard/src/pages/home.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export function HomePage() {
1616
<div className="flex flex-col items-center max-w-2xl mx-auto pt-32 pb-20 px-4">
1717
<div className="flex items-center gap-3 mb-3">
1818
<img src={logoSvg} alt="SmartClaws" className="h-10 w-10" />
19-
<span className="text-3xl font-medium tracking-tight" style={{ color: "#FFD7DA" }}>SmartClaws</span>
19+
<span className="text-3xl font-semibold tracking-tight" style={{ background: "linear-gradient(to right, #FF444D, #00B7A3)", WebkitBackgroundClip: "text", WebkitTextFillColor: "transparent" }}>SmartClaws</span>
2020
</div>
2121
<p className="text-foreground text-center mb-6 max-w-md font-normal text-md mt-4">
2222
Publish sensor data to SKALE and query it with natural language - powered by AI agents.

0 commit comments

Comments
 (0)