Skip to content

Commit 473d81c

Browse files
committed
.
1 parent 53e86d0 commit 473d81c

File tree

7 files changed

+20
-7
lines changed

7 files changed

+20
-7
lines changed

app/(default)/(page)/team/page.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import Link from "next/link"
1313

1414

1515
import { AspectRatio } from "@/components/ui/aspect-ratio"
16-
import { Separator } from "@/components/ui/separator"
1716

1817

1918

@@ -22,7 +21,6 @@ import { members } from "@/data/team"
2221

2322

2423
export default function Home() {
25-
2624
return (
2725
<div className="w-full">
2826

app/(default)/layout.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import {
2424
import { WeChat, WeChatGroup } from "@/components/app-drawer"
2525

2626

27+
2728
const links: {
2829
icon: string;
2930
url: string;
@@ -108,7 +109,7 @@ export default function RootLayout({
108109
<AspectRatio ratio={1/1}>
109110
<Image
110111
src="/icon/wechat.svg"
111-
alt="wechat"
112+
alt="WeChat"
112113
fill
113114
className="group-hover:scale-125 transition delay-100 duration-200"
114115
/>
@@ -124,7 +125,7 @@ export default function RootLayout({
124125
<AspectRatio ratio={1/1}>
125126
<Image
126127
src="/icon/wechatgroup.svg"
127-
alt="wechat"
128+
alt="WeChatGroup"
128129
fill
129130
className="group-hover:scale-125 transition delay-100 duration-200"
130131
/>

app/layout.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ import type { Metadata } from "next";
44

55

66
import { SidebarProvider } from "@/components/ui/sidebar"
7+
8+
9+
710
import { Header } from "@/components/header"
811

912

components/app-drawer.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
21
import Image from 'next/image'
2+
3+
4+
35
import { AspectRatio } from "@/components/ui/aspect-ratio"
46
import {
57
Drawer,

components/app-sidebar.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33

44

5+
import { ChevronDown } from "lucide-react"
56
import Image from 'next/image'
67
import Link from "next/link"
7-
import { ChevronDown } from "lucide-react"
88

99

1010

@@ -27,6 +27,9 @@ import {
2727
} from "@/components/ui/sidebar"
2828
import { useSidebar } from "@/components/ui/sidebar"
2929
import { Button } from "@/components/ui/button"
30+
31+
32+
3033
import { FadeIn } from "@/components/animation/fade-in"
3134

3235

components/header.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,14 @@ import { usePathname } from 'next/navigation';
1010

1111

1212
import { Button } from "@/components/ui/button"
13-
import { AppSidebar } from "@/components/app-sidebar"
1413
import { CustomTrigger } from "@/components/ui/sidebartrigger"
1514

1615

1716

17+
import { AppSidebar } from "@/components/app-sidebar"
18+
19+
20+
1821
export function Header() {
1922

2023

components/redirect.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ export default function Redirect() {
1111

1212

1313
const pathname = usePathname()
14+
15+
16+
1417
if (
1518
pathname.toLowerCase() == '/'
1619
) {

0 commit comments

Comments
 (0)