File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
programmerbar-web/src/lib/components/app Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 11<script lang =" ts" >
2+ import { X } from ' @lucide/svelte' ;
23 type Props = {
34 title: string ;
45 children? : import (' svelte' ).Snippet ;
1314 <div class =" border-border bg-card-muted flex items-center justify-between border-b px-3 py-1.5" >
1415 <div class =" flex items-center gap-2" >
1516 <div class =" flex shrink-0 gap-1.5" >
16- <div class =" bg-accent-error h-3 w-3 rounded-full" ></div >
17+ <button
18+ onclick ={() => window .history .back ()}
19+ class =" bg-accent-error flex h-3 w-3 items-center justify-center rounded-full transition-opacity
20+ hover:opacity-80"
21+ aria-label =" Close"
22+ >
23+ <X class ="h-2 w-2 text-black" strokeWidth ={3 } />
24+ </button >
1725 <div class =" bg-accent-warning h-3 w-3 rounded-full" ></div >
1826 <div class =" bg-accent-success h-3 w-3 rounded-full" ></div >
1927 </div >
You can’t perform that action at this time.
0 commit comments