From 8410779afd0ee51c8a52b7497acb06e6c2dcf880 Mon Sep 17 00:00:00 2001 From: Christopher Nascone Date: Sun, 18 Feb 2024 17:33:16 -0500 Subject: [PATCH] fix: framegear css followups (#141) --- framegear/app/page.tsx | 3 +-- framegear/components/Frame/Frame.tsx | 19 ++++----------- .../components/FrameInput/FrameInput.tsx | 3 +-- framegear/components/Header/Header.tsx | 14 +++++------ .../ValidationResults/ValidationResults.tsx | 7 +++--- framegear/tailwind.config.ts | 23 ++++++++++++------- framegear/utils/constants.ts | 2 -- 7 files changed, 33 insertions(+), 38 deletions(-) diff --git a/framegear/app/page.tsx b/framegear/app/page.tsx index 43a7650beb..b7414b2526 100644 --- a/framegear/app/page.tsx +++ b/framegear/app/page.tsx @@ -3,13 +3,12 @@ import { Header } from '@/components/Header'; import { Frame } from '@/components/Frame'; import { FrameInput } from '@/components/FrameInput'; import { ValidationResults } from '@/components/ValidationResults'; -import { MAX_WIDTH } from '@/utils/constants'; export default function Home() { return (
-
+
diff --git a/framegear/components/Frame/Frame.tsx b/framegear/components/Frame/Frame.tsx index c6a00a3f7e..065d53a6ba 100644 --- a/framegear/components/Frame/Frame.tsx +++ b/framegear/components/Frame/Frame.tsx @@ -41,18 +41,9 @@ function ValidFrame({ tags }: { tags: Record }) {
{/* eslint-disable-next-line @next/next/no-img-element */} -
+
{buttons.map((button) => - button ? ( - - ) : null, + button ? {button.value} : null, )}
@@ -69,8 +60,8 @@ function ErrorFrame() { function PlaceholderFrame() { return (
-
-
+
+
Get Started
@@ -80,7 +71,7 @@ function PlaceholderFrame() { function FrameButton({ children }: PropsWithChildren<{}>) { return (