Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion programmerbar-web/src/lib/components/app/CLIWindow.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<script lang="ts">
import { X } from '@lucide/svelte';
type Props = {
title: string;
children?: import('svelte').Snippet;
Expand All @@ -13,7 +14,14 @@
<div class="border-border bg-card-muted flex items-center justify-between border-b px-3 py-1.5">
<div class="flex items-center gap-2">
<div class="flex shrink-0 gap-1.5">
<div class="bg-accent-error h-3 w-3 rounded-full"></div>
<button
onclick={() => window.history.back()}
class="bg-accent-error flex h-3 w-3 items-center justify-center rounded-full transition-opacity
hover:opacity-80"
aria-label="Close"
>
<X class="h-2 w-2 text-black" strokeWidth={3} />
</button>
<div class="bg-accent-warning h-3 w-3 rounded-full"></div>
<div class="bg-accent-success h-3 w-3 rounded-full"></div>
</div>
Expand Down
Loading