Skip to content

Commit

Permalink
implemented TextInputsProvider on main page
Browse files Browse the repository at this point in the history
  • Loading branch information
brendan-defi committed Sep 5, 2024
1 parent acb61a3 commit 6fc96a4
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions framegear/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,25 @@ import { FrameInput } from '@/components/FrameInput';
import { Header } from '@/components/Header';
import { ValidationResults } from '@/components/ValidationResults';
import { RedirectModalProvider } from '@/components/RedirectModalContext/RedirectModalContext';
import TextInputsProvider from '@/contexts/TextInputs';

export default function Home() {
return (
<RedirectModalProvider>
<div className="mx-auto flex flex-col items-center gap-8 pb-16">
<Header />
<div className={`max-w-layout-max grid w-full grid-cols-[5fr,4fr] gap-16`}>
<div className="flex flex-col gap-4">
<FrameInput />
<Frame />
<TextInputsProvider>
<div className="mx-auto flex flex-col items-center gap-8 pb-16">
<Header />
<div
className={`max-w-layout-max grid w-full grid-cols-[5fr,4fr] gap-16`}
>
<div className="flex flex-col gap-4">
<FrameInput />
<Frame />
</div>
<ValidationResults />
</div>
<ValidationResults />
</div>
</div>
</TextInputsProvider>
</RedirectModalProvider>
);
}

0 comments on commit 6fc96a4

Please sign in to comment.