From 6b00e27406efd14c25e08da24c93e12b7f5e85c1 Mon Sep 17 00:00:00 2001 From: Stefan Pejcic Date: Tue, 6 Feb 2024 12:29:47 +0100 Subject: [PATCH] Update landing-hero-animation.tsx --- .../refine-theme/landing-hero-animation.tsx | 100 ++++++++++++++++-- 1 file changed, 91 insertions(+), 9 deletions(-) diff --git a/documentation/src/refine-theme/landing-hero-animation.tsx b/documentation/src/refine-theme/landing-hero-animation.tsx index 3883c36..299b871 100644 --- a/documentation/src/refine-theme/landing-hero-animation.tsx +++ b/documentation/src/refine-theme/landing-hero-animation.tsx @@ -31,7 +31,16 @@ type ItemType = { const platformItems: ItemType[] = [ { name: "OpenPanel", - icon: LandingHeroViteIcon, + icon: (props: React.SVGProps) => ( + + ), color: "#ffa800", }, { @@ -69,17 +78,44 @@ const platformItems: ItemType[] = [ const uiItems: ItemType[] = [ { name: "WordPress", - icon: LandingHeroMaterialUIIcon, + icon: (props: React.SVGProps) => ( + + ), color: "#007FFF", }, { name: "NodeJS", - icon: LandingHeroAntdIcon, + icon: (props: React.SVGProps) => ( + + ), color: "#148EFF", }, { name: "Python", - icon: LandingHeroChakraUIIcon, + icon: (props: React.SVGProps) => ( + + ), color: "#29C6B7", }, ]; @@ -87,17 +123,44 @@ const uiItems: ItemType[] = [ const backendItems: ItemType[] = [ { name: "Nginx", - icon: LandingHeroNestjsIcon, + icon: (props: React.SVGProps) => ( + + ), color: "#3ECF8E", }, { name: "Apache", - icon: LandingHeroNestjsIcon, + icon: (props: React.SVGProps) => ( + + ), color: "#E0234E", }, { name: "LiteSpeed", - icon: LandingHeroAppwriteIcon, + icon: (props: React.SVGProps) => ( + + ), color: "#FD366E", }, ]; @@ -105,12 +168,30 @@ const backendItems: ItemType[] = [ const authItems: ItemType[] = [ { name: "ModSecurity", - icon: LandingHeroGoogleIcon, + icon: (props: React.SVGProps) => ( + + ), color: "#EA4335", }, { name: "Docker", - icon: LandingHeroAuth0Icon, + icon: (props: React.SVGProps) => ( + + ), color: "#EB5424", }, { @@ -125,6 +206,7 @@ const authItems: ItemType[] = [ "text-gray-1000 dark:text-gray-0", props.className, )} + style={{ marginLeft: '1.5em' }} /> ),