From 6bc36cdc445a43f0dd9cd05ddbc4ec5a32ef8ea8 Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Wed, 18 Dec 2024 16:15:55 +0100 Subject: [PATCH] docs: adjust layer --- website/src/components/color-extractor.tsx | 11 ++------ website/src/components/layout/index.tsx | 33 ++++++++++++---------- 2 files changed, 20 insertions(+), 24 deletions(-) diff --git a/website/src/components/color-extractor.tsx b/website/src/components/color-extractor.tsx index 896a505..c30ec0b 100644 --- a/website/src/components/color-extractor.tsx +++ b/website/src/components/color-extractor.tsx @@ -90,7 +90,7 @@ export function ColorExtractor () { } return ( -
+
{colors.length === 0 ? (
setImageUrl(e.target.value)} onClick={handleFormClick} placeholder='or paste an image URL' @@ -132,13 +131,7 @@ export function ColorExtractor () {
) : (
-
- Uploaded image -
+ Uploaded image
{colors.map((color, index) => ( diff --git a/website/src/components/layout/index.tsx b/website/src/components/layout/index.tsx index 277286f..d76ce40 100644 --- a/website/src/components/layout/index.tsx +++ b/website/src/components/layout/index.tsx @@ -92,24 +92,27 @@ export const ContainerLayout = ({ children }: { children: React.ReactNode }) =>
-
- - - {/* favicon */} - {/*

+
+
+ + + {/* favicon */} + {/*

SPLASHY

*/} -
+ + +

Get predominant colors for any image.

+

+ Powered by{' '} + + Microlink.io + +

+
+
{children}
+
-

Get predominant colors for any image.

-

- Powered by{' '} - - Microlink.io - -

-

-
{children}