Skip to content

Commit 1a08faa

Browse files
committed
.
1 parent b217252 commit 1a08faa

1 file changed

Lines changed: 13 additions & 15 deletions

File tree

components/ui/sidebartrigger.tsx

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,22 @@
1-
'use client'
1+
"use client"
22

33

44
import { useSidebar } from "@/components/ui/sidebar"
55
import { Button } from "@/components/ui/button"
6-
import Image from 'next/image'
76

87

98

109
export function CustomTrigger() {
11-
const { toggleSidebar } = useSidebar()
12-
13-
return (
14-
<Button className="bg-background text-foreground hover:bg-white group" onClick={toggleSidebar}>
15-
<svg viewBox="0 0 24 24" className="scale-150 group-hover:scale-175 transition delay-100 duration-200 mx-1" fill="none" stroke="#0d0d0d">
16-
<g id="SVGRepo_bgCarrier" strokeWidth="0"></g>
17-
<g id="SVGRepo_tracerCarrier" strokeLinecap="round" strokeLinejoin="round"></g>
18-
<g id="SVGRepo_iconCarrier">
19-
<path d="M11 5V19M6 8H8M6 11H8M6 14H8M6.2 19H17.8C18.9201 19 19.4802 19 19.908 18.782C20.2843 18.5903 20.5903 18.2843 20.782 17.908C21 17.4802 21 16.9201 21 15.8V8.2C21 7.0799 21 6.51984 20.782 6.09202C20.5903 5.71569 20.2843 5.40973 19.908 5.21799C19.4802 5 18.9201 5 17.8 5H6.2C5.0799 5 4.51984 5 4.09202 5.21799C3.71569 5.40973 3.40973 5.71569 3.21799 6.09202C3 6.51984 3 7.07989 3 8.2V15.8C3 16.9201 3 17.4802 3.21799 17.908C3.40973 18.2843 3.71569 18.5903 4.09202 18.782C4.51984 19 5.07989 19 6.2 19Z" stroke="#0d0d0d" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"></path>
20-
</g>
21-
</svg>
22-
</Button>
23-
)
10+
const { toggleSidebar } = useSidebar()
11+
return (
12+
<Button className="bg-background text-foreground hover:bg-white group" onClick={toggleSidebar}>
13+
<svg viewBox="0 0 24 24" className="scale-150 group-hover:scale-175 transition delay-100 duration-200 mx-1" fill="none" stroke="#0d0d0d">
14+
<g id="SVGRepo_bgCarrier" strokeWidth="0"></g>
15+
<g id="SVGRepo_tracerCarrier" strokeLinecap="round" strokeLinejoin="round"></g>
16+
<g id="SVGRepo_iconCarrier">
17+
<path d="M11 5V19M6 8H8M6 11H8M6 14H8M6.2 19H17.8C18.9201 19 19.4802 19 19.908 18.782C20.2843 18.5903 20.5903 18.2843 20.782 17.908C21 17.4802 21 16.9201 21 15.8V8.2C21 7.0799 21 6.51984 20.782 6.09202C20.5903 5.71569 20.2843 5.40973 19.908 5.21799C19.4802 5 18.9201 5 17.8 5H6.2C5.0799 5 4.51984 5 4.09202 5.21799C3.71569 5.40973 3.40973 5.71569 3.21799 6.09202C3 6.51984 3 7.07989 3 8.2V15.8C3 16.9201 3 17.4802 3.21799 17.908C3.40973 18.2843 3.71569 18.5903 4.09202 18.782C4.51984 19 5.07989 19 6.2 19Z" stroke="#0d0d0d" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"></path>
18+
</g>
19+
</svg>
20+
</Button>
21+
)
2422
}

0 commit comments

Comments
 (0)