From afd629a5afa18b1c7ba268ef8b0bd12df352a8d9 Mon Sep 17 00:00:00 2001 From: daniel31x13 Date: Fri, 26 Apr 2024 14:21:50 -0400 Subject: [PATCH] improvements --- components/Homepage/Showcase.tsx | 18 +- components/Homepage/useCases/UseCases.tsx | 2 +- components/SVGShowcase.tsx | 846 +++++++++++----------- components/ShortenedFeatures.tsx | 2 +- styles/globals.css | 6 +- 5 files changed, 431 insertions(+), 443 deletions(-) diff --git a/components/Homepage/Showcase.tsx b/components/Homepage/Showcase.tsx index 7f69f97..6a19893 100644 --- a/components/Homepage/Showcase.tsx +++ b/components/Homepage/Showcase.tsx @@ -53,9 +53,7 @@ export default function Showcase() {
-

+

Loved by thousands at the world's most innovative companies

-
+
setImageLoaded(true)} style={{ objectFit: "contain" }} /> @@ -100,7 +98,7 @@ export default function Showcase() { height={156} alt="" draggable={false} - className="invert sm:w-[13%] w-[26%] opacity-50" + className="invert opacity-50 w-3/4 justify-self-center" onLoad={() => setImageLoaded(true)} style={{ objectFit: "contain" }} /> @@ -110,7 +108,7 @@ export default function Showcase() { height={143} alt="" draggable={false} - className="invert sm:w-[13%] w-[26%] opacity-50 mt-3" + className="invert opacity-50 mt-3 w-3/4 justify-self-center" onLoad={() => setImageLoaded(true)} style={{ objectFit: "contain" }} /> @@ -120,7 +118,7 @@ export default function Showcase() { height={119} alt="" draggable={false} - className="invert sm:w-1/6 w-2/6 opacity-50" + className="invert opacity-50 hidden md:block" onLoad={() => setImageLoaded(true)} style={{ objectFit: "contain" }} /> @@ -130,7 +128,7 @@ export default function Showcase() { height={134} alt="" draggable={false} - className="invert sm:w-1/6 w-2/6 opacity-50" + className="invert opacity-50 hidden md:block" onLoad={() => setImageLoaded(true)} style={{ objectFit: "contain" }} /> diff --git a/components/Homepage/useCases/UseCases.tsx b/components/Homepage/useCases/UseCases.tsx index 98da3ae..14d7ade 100644 --- a/components/Homepage/useCases/UseCases.tsx +++ b/components/Homepage/useCases/UseCases.tsx @@ -79,7 +79,7 @@ export default function UseCases() {
- +
diff --git a/components/SVGShowcase.tsx b/components/SVGShowcase.tsx index 3aef4e6..ae66ac4 100644 --- a/components/SVGShowcase.tsx +++ b/components/SVGShowcase.tsx @@ -10,13 +10,12 @@ type Props = { const SVGBackgound = (props: Props) => { return ( - - + { x="0" y="0" width="1920" - height="1344" + height="1342" > - + @@ -1058,24 +1057,13 @@ const SVGBackgound = (props: Props) => { cy="0" r="1" gradientUnits="userSpaceOnUse" - gradientTransform="translate(960 672) rotate(90) scale(672 960)" - > - - - - - - + + - + diff --git a/components/ShortenedFeatures.tsx b/components/ShortenedFeatures.tsx index 1c11c13..5570a3b 100644 --- a/components/ShortenedFeatures.tsx +++ b/components/ShortenedFeatures.tsx @@ -15,7 +15,7 @@ export default function ShortenedFeatures({ }: Props) { return (