From 751d962c6454977f950d572b04e1ccf7b268400b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aykut=20Karda=C5=9F?= Date: Tue, 7 May 2024 19:55:14 +0300 Subject: [PATCH] style: redesign (#14) * style: redesign * fix: responsive --- app/page.tsx | 60 +++++++++++++++++---------------- components/nav.tsx | 2 +- components/original-compare.tsx | 5 ++- 3 files changed, 34 insertions(+), 33 deletions(-) diff --git a/app/page.tsx b/app/page.tsx index 62eed80..ca41668 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -175,7 +175,7 @@ export default function UpscalerBattleground() {
-
+
-
+
- {mode === "model" && ( - - )} - {mode === "original" && ( - - )} +
+ {mode === "model" && ( + + )} + {mode === "original" && ( + + )} +

diff --git a/components/nav.tsx b/components/nav.tsx index dbd19c2..4d9cc6c 100644 --- a/components/nav.tsx +++ b/components/nav.tsx @@ -12,7 +12,7 @@ const spaceMono = Space_Mono({ export function Nav() { return ( -

+

+
{originalImage ? (
@@ -88,9 +88,8 @@ const OriginalCompare = ({ />
)} - {firstModel && ( -
+