Add full monorepo: virtual-banker, backend, frontend, docs, scripts, deployment
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
53
frontend/src/app/layout.tsx
Normal file
53
frontend/src/app/layout.tsx
Normal file
@@ -0,0 +1,53 @@
|
||||
import type { Metadata } from 'next'
|
||||
import { Inter } from 'next/font/google'
|
||||
import Link from 'next/link'
|
||||
import './globals.css'
|
||||
|
||||
const inter = Inter({ subsets: ['latin'] })
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'SolaceScanScout | The Defi Oracle Meta Explorer',
|
||||
description: 'The Defi Oracle Meta Explorer - Comprehensive blockchain explorer for ChainID 138',
|
||||
}
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode
|
||||
}) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body className={inter.className}>
|
||||
<nav className="bg-white dark:bg-gray-800 shadow-sm border-b border-gray-200 dark:border-gray-700">
|
||||
<div className="container mx-auto px-4">
|
||||
<div className="flex items-center justify-between h-16">
|
||||
<div className="flex items-center gap-8">
|
||||
<Link href="/" className="text-xl font-bold text-primary-600">
|
||||
<div className="flex flex-col">
|
||||
<span>SolaceScanScout</span>
|
||||
<span className="text-xs font-normal text-gray-500">The Defi Oracle Meta Explorer</span>
|
||||
</div>
|
||||
</Link>
|
||||
<div className="flex gap-4">
|
||||
<Link href="/blocks" className="text-gray-700 dark:text-gray-300 hover:text-primary-600">
|
||||
Blocks
|
||||
</Link>
|
||||
<Link href="/transactions" className="text-gray-700 dark:text-gray-300 hover:text-primary-600">
|
||||
Transactions
|
||||
</Link>
|
||||
<Link href="/search" className="text-gray-700 dark:text-gray-300 hover:text-primary-600">
|
||||
Search
|
||||
</Link>
|
||||
<Link href="/wallet" className="text-gray-700 dark:text-gray-300 hover:text-primary-600">
|
||||
Wallet
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
<main>{children}</main>
|
||||
</body>
|
||||
</html>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user