Adicao do texto por que investir em Moz e ajuste dos elementos
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { Head, Link, usePage } from '@inertiajs/react';
|
||||
import type { ReactNode } from 'react';
|
||||
import { PortalMenu } from '@/layouts/portal-navigation';
|
||||
import { cn } from '@/lib/utils';
|
||||
import type { TerritorialSourceEvidence } from '@/components/territorial-source-evidence';
|
||||
import type {
|
||||
StructureGeography,
|
||||
@@ -101,9 +102,11 @@ export const card = 'rounded-xl border border-slate-200 bg-white p-5 shadow-sm';
|
||||
export function Frame({
|
||||
title,
|
||||
children,
|
||||
mainClassName,
|
||||
}: {
|
||||
title: string;
|
||||
children: ReactNode;
|
||||
mainClassName?: string;
|
||||
}) {
|
||||
const { flash } = usePage<{
|
||||
flash?: { success?: string; warning?: string };
|
||||
@@ -112,7 +115,12 @@ export function Frame({
|
||||
<div className="min-h-screen bg-slate-50 text-slate-900">
|
||||
<Head title={title} />
|
||||
<PortalMenu />
|
||||
<main className="mx-auto max-w-7xl space-y-6 px-5 py-9">
|
||||
<main
|
||||
className={cn(
|
||||
'mx-auto max-w-7xl space-y-6 px-5 py-9',
|
||||
mainClassName,
|
||||
)}
|
||||
>
|
||||
<h1 className="text-3xl font-bold">{title}</h1>
|
||||
{flash?.warning && (
|
||||
<p
|
||||
|
||||
Reference in New Issue
Block a user