diff --git a/apps/web/app/layout.tsx b/apps/web/app/layout.tsx index a6c22cf..32e3735 100644 --- a/apps/web/app/layout.tsx +++ b/apps/web/app/layout.tsx @@ -1,5 +1,6 @@ import './globals.css'; import { Auth, Logo } from '@/components/layout'; +import { Controls } from '@/components/layout/controls'; import type { Metadata } from 'next'; import localFont from 'next/font/local'; import { Content, Header } from 'ui'; @@ -51,7 +52,10 @@ export default function RootLayout({ children }: { readonly children: React.Reac - {children} +
+ + {children} +
); diff --git a/apps/web/components/layout/controls.tsx b/apps/web/components/layout/controls.tsx new file mode 100644 index 0000000..eed63bc --- /dev/null +++ b/apps/web/components/layout/controls.tsx @@ -0,0 +1,35 @@ +'use client'; +import { useRouter } from 'next/navigation'; + +export function Controls() { + const router = useRouter(); + + return ( +
+ +
+ ); +} diff --git a/apps/web/tailwind.config.ts b/apps/web/tailwind.config.ts index 20a62cb..0913efd 100644 --- a/apps/web/tailwind.config.ts +++ b/apps/web/tailwind.config.ts @@ -18,6 +18,11 @@ const config: Config = { '../../packages/ui/**/*.{js,ts,jsx,tsx,mdx}', ], theme: { + extend: { + width: { + standard: '1104px', + }, + }, // extend: { // colors: { // primary: COLORS.COLOR_PRIMARY, diff --git a/packages/ui/background.tsx b/packages/ui/background.tsx index 994df7e..4b18ba6 100644 --- a/packages/ui/background.tsx +++ b/packages/ui/background.tsx @@ -4,7 +4,7 @@ import { cva } from 'class-variance-authority'; import { forwardRef, type HTMLAttributes } from 'react'; const variants = cva( - 'grid w-full gap-2 rounded-sm border border-slate-100 bg-white p-5 lg:w-[1104px]' + 'grid w-full gap-2 rounded-sm border border-slate-100 bg-white p-5 lg:w-standard' ); export type BackgroundProps = HTMLAttributes & VariantProps; diff --git a/packages/ui/header.tsx b/packages/ui/header.tsx index ba417bf..ab4f272 100644 --- a/packages/ui/header.tsx +++ b/packages/ui/header.tsx @@ -7,7 +7,7 @@ type Props = { export function Header({ children }: Props) { return (
-
+
{children}