feat(layout): add Wallet and Dashboard buttons
Imported Link and Button components into layout.tsx, which were used to add Wallet and Dashboard navigational buttons to the header section. The buttons have been set with a 'light' variant and flex features for responsive design.
This commit is contained in:
parent
4e0de3be06
commit
2c9fafd802
@ -8,6 +8,8 @@ import { Providers } from "@/components/providers/providers";
|
||||
import { ThemeProvider } from "@/components/providers/theme-provider";
|
||||
import { Toaster } from "@/components/ui/toaster";
|
||||
import type React from "react";
|
||||
import Link from "next/link";
|
||||
import {Button} from "@/components/ui/button";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "YeloBit",
|
||||
@ -28,7 +30,10 @@ export default function RootLayout({
|
||||
<body className={"w-full min-h-screen flex flex-col items-center justify-between"}>
|
||||
<Providers>
|
||||
<Header>
|
||||
<PrimaryNavigationMenu />
|
||||
<div className={"flex flex-row flex-wrap md:flex-nowrap gap-2"}>
|
||||
<Button asChild variant={'light'}><Link href={'/wallet'}>Wallet</Link></Button>
|
||||
<Button asChild variant={'light'}><Link href={'/dashboard'}>Dashboard</Link></Button>
|
||||
</div>
|
||||
</Header>
|
||||
{children}
|
||||
<Toaster />
|
||||
|
Loading…
x
Reference in New Issue
Block a user