Skip to content

Commit c174564

Browse files
committed
.
1 parent 5d800d0 commit c174564

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export default function RootLayout({
6767

6868

6969

70-
<div className="fixed flex flex-row gap-3 m-6 z-100 flex-wrap">
70+
<div className="fixed flex flex-row gap-3 m-6 z-20 flex-wrap">
7171

7272
<Button asChild className="bg-background text-foreground hover:bg-white group">
7373
<Link href="/" className="select-none">

components/app-sidebar.tsx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import {
2222
import { ChevronDown } from "lucide-react"
2323
import Link from "next/link"
2424
import { Button } from "@/components/ui/button"
25+
import Image from 'next/image'
2526

2627

2728
import { FadeIn } from "@/components/animation/fade-in"
@@ -41,6 +42,19 @@ export function AppSidebar() {
4142
return (
4243
<FadeIn>
4344
<Sidebar>
45+
<div className="fixed flex flex-row gap-3 m-6 z-20 flex-wrap">
46+
<Button asChild className="bg-background text-foreground hover:bg-white group">
47+
<Link href="/" className="select-none">
48+
<Image
49+
src="/logo/OpenDriveLab/D.png"
50+
alt="OpenDriveLab"
51+
width={24}
52+
height={24}
53+
className="group-hover:scale-125 transition delay-100 duration-200"
54+
/>
55+
</Link>
56+
</Button>
57+
</div>
4458
<SidebarMenu className="mt-24 mb-12 px-8 text-sm overflow-y-scroll no-scrollbar">
4559

4660

0 commit comments

Comments
 (0)