From abb80cf91177e7027389a2bdf094387f5d04e86e Mon Sep 17 00:00:00 2001 From: Graeme Fulton Date: Sun, 28 Apr 2024 17:56:14 +0100 Subject: [PATCH] lil button on bg cards --- components/v4/card/ToolBackgroundCard.js | 95 +++++++++++++----------- components/v4/card/ToolIconCard.js | 2 +- 2 files changed, 53 insertions(+), 44 deletions(-) diff --git a/components/v4/card/ToolBackgroundCard.js b/components/v4/card/ToolBackgroundCard.js index 707a3620..74447247 100644 --- a/components/v4/card/ToolBackgroundCard.js +++ b/components/v4/card/ToolBackgroundCard.js @@ -12,7 +12,7 @@ const ToolBackgroundCard = ({ tagNumber, height, }) => { - let {title, slug, coverImage, tags, logo} = post; + let { title, slug, coverImage, tags, logo } = post; return (
@@ -22,51 +22,60 @@ const ToolBackgroundCard = ({ } >
+ Brand logo for external website's link
-
- Brand logo for external website's link -
- Brand logo for external website's link -
-
- {" "} - {title} -
- {/* {this.props.prototool !== true && */} - {tags?.length && ( -
- {tags[0].attributes.name} -
- )} +
+
+
+
+ Brand logo for external website's link +
+
{title}
+ {/* {this.props.prototool !== true && */} + {tags?.length && ( +
+ {tags[0].attributes.name} +
+ )} - {/*
{this._getTag()}
*/} + {/*
{this._getTag()}
*/} +
+ +
+
+
+ + Get +
diff --git a/components/v4/card/ToolIconCard.js b/components/v4/card/ToolIconCard.js index db18e085..a8202fd3 100644 --- a/components/v4/card/ToolIconCard.js +++ b/components/v4/card/ToolIconCard.js @@ -81,7 +81,7 @@ const ToolIconCard = ({ tool, withBackground, small }) => {
-
+
Get