style(web): biome — drop redundant role, format banner files
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
390cf5e8a1
commit
cd428d5ba3
@ -1,7 +1,7 @@
|
||||
import type { Metadata } from 'next';
|
||||
import { GeistSans } from 'geist/font/sans';
|
||||
import { GeistMono } from 'geist/font/mono';
|
||||
import { SiteBanner } from '@/components/site-banner';
|
||||
import { GeistMono } from 'geist/font/mono';
|
||||
import { GeistSans } from 'geist/font/sans';
|
||||
import type { Metadata } from 'next';
|
||||
import './globals.css';
|
||||
|
||||
export const metadata: Metadata = {
|
||||
@ -13,7 +13,11 @@ export const metadata: Metadata = {
|
||||
|
||||
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
<html lang="en" className={`${GeistSans.variable} ${GeistMono.variable}`} suppressHydrationWarning>
|
||||
<html
|
||||
lang="en"
|
||||
className={`${GeistSans.variable} ${GeistMono.variable}`}
|
||||
suppressHydrationWarning
|
||||
>
|
||||
<body>
|
||||
<SiteBanner />
|
||||
{children}
|
||||
|
||||
@ -2,14 +2,11 @@
|
||||
// app/layout.tsx once the service is open for production use.
|
||||
export function SiteBanner() {
|
||||
return (
|
||||
<div
|
||||
role="status"
|
||||
className="border-b border-[#4f46e5] bg-[--color-accent] px-4 py-2 text-center text-[12.5px] font-medium leading-snug text-white"
|
||||
>
|
||||
<div className="border-b border-[#4f46e5] bg-[--color-accent] px-4 py-2 text-center text-[12.5px] font-medium leading-snug text-white">
|
||||
<span className="font-semibold uppercase tracking-wide">Preview</span>
|
||||
<span className="px-1.5 opacity-60">·</span>
|
||||
BuildMyMCPServer is not yet open for production use — sign-ups, server
|
||||
generation and billing are still being finalised, and data may be reset.
|
||||
BuildMyMCPServer is not yet open for production use — sign-ups, server generation and billing
|
||||
are still being finalised, and data may be reset.
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user