diff --git a/app/page.tsx b/app/page.tsx index c0fbe34..86a7369 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -115,9 +115,9 @@ export default function Lightning() {
-
-
-
+
+
+
@@ -128,7 +128,7 @@ export default function Lightning() { handleOnChange(e.target?.files?.[0]); } }} - className="font-light mx-auto rounded-l-full h-10 pr-10 truncate" + className="font-light mx-auto rounded-full h-10 pr-10 truncate" placeholder="Type something..." />
@@ -136,7 +136,7 @@ export default function Lightning() { -
+
setMode("original")} className={cn( diff --git a/components/model-compare.tsx b/components/model-compare.tsx index 94aec0e..6acb0da 100644 --- a/components/model-compare.tsx +++ b/components/model-compare.tsx @@ -1,4 +1,5 @@ import { cn } from "@/lib/utils"; +import Image from "next/image"; import { ReactCompareSlider, ReactCompareSliderImage, @@ -12,8 +13,40 @@ const ModelCompare = ({ modelTwo, }) => { return ( -
+
+ {originalImage ? (
) : ( -
+
+ fal.ai icon used as image placeholder and loading indicator +
)}
diff --git a/components/nav.tsx b/components/nav.tsx index 2e2783c..b564fc3 100644 --- a/components/nav.tsx +++ b/components/nav.tsx @@ -18,9 +18,9 @@ export function Nav() {

- sdxl - ⚡️ - lightning + upscaler + ⚖️ + comparator

diff --git a/components/original-compare.tsx b/components/original-compare.tsx index 3562226..4545f39 100644 --- a/components/original-compare.tsx +++ b/components/original-compare.tsx @@ -1,3 +1,4 @@ +import Image from "next/image"; import { ReactCompareSlider, ReactCompareSliderImage, @@ -11,8 +12,23 @@ const OriginalCompare = ({ modelTwo, }) => { return ( -
+
+ {originalImage ? (
) : ( -
+
+ fal.ai icon used as image placeholder and loading indicator +
)}
+ {originalImage ? (
+
+ SUPIR {modelTwo && ( )} - SUPIR
- } />
) : ( -
+
+ fal.ai icon used as image placeholder and loading indicator +
)}