File tree Expand file tree Collapse file tree 1 file changed +9
-20
lines changed
packages/htmldocs/src/app/components Expand file tree Collapse file tree 1 file changed +9
-20
lines changed Original file line number Diff line number Diff line change 11"use client" ;
22import * as React from "react" ;
33import { cn } from "~/lib/utils" ;
4+ import { List } from "@phosphor-icons/react" ;
45import { Sidebar } from "./sidebar" ;
56import { Topbar } from "./topbar" ;
67import { Logo } from "./logo" ;
8+ import { Button } from "./ui/button" ;
79
810type RootProps = React . ComponentPropsWithoutRef < "div" > ;
911
@@ -30,35 +32,22 @@ export const Shell = ({
3032
3133 return (
3234 < >
33- < div className = "flex bg-background text-white flex-col h-screen overflow-x-hidden print-hide" >
35+ < div className = "flex bg-background text-foreground flex-col h-screen overflow-x-hidden print-hide" >
3436 < div className = "flex lg:hidden items-center px-6 justify-between h-[70px] border-b border-slate-6" >
3537 < div className = "h-[70px] flex items-center" >
3638 < Logo />
3739 </ div >
3840
39- < button
40- className = "h-6 w-6 rounded flex items-center justify-center text-white"
41+ < Button
42+ className = "group"
43+ variant = "ghost"
44+ size = "icon"
4145 onClick = { ( ) => {
4246 setSidebarToggled ( ( v ) => ! v ) ;
4347 } }
44- type = "button"
4548 >
46- < svg
47- fill = "none"
48- height = "16"
49- stroke = "white"
50- viewBox = "0 0 15 15"
51- width = "16"
52- xmlns = "http://www.w3.org/2000/svg"
53- >
54- < path
55- clipRule = "evenodd"
56- d = "M1.5 3C1.22386 3 1 3.22386 1 3.5C1 3.77614 1.22386 4 1.5 4H13.5C13.7761 4 14 3.77614 14 3.5C14 3.22386 13.7761 3 13.5 3H1.5ZM1 7.5C1 7.22386 1.22386 7 1.5 7H13.5C13.7761 7 14 7.22386 14 7.5C14 7.77614 13.7761 8 13.5 8H1.5C1.22386 8 1 7.77614 1 7.5ZM1 11.5C1 11.2239 1.22386 11 1.5 11H13.5C13.7761 11 14 11.2239 14 11.5C14 11.7761 13.7761 12 13.5 12H1.5C1.22386 12 1 11.7761 1 11.5Z"
57- fill = "currentColor"
58- fillRule = "evenodd"
59- />
60- </ svg >
61- </ button >
49+ < List height = { 20 } width = { 20 } className = "text-muted-foreground group-hover:text-foreground transition-colors duration-150" />
50+ </ Button >
6251 </ div >
6352
6453 < div className = "flex bg-slate-2" >
You can’t perform that action at this time.
0 commit comments