From 7cdd2f7dc6ac92da856d8cdb425a66cce386375c Mon Sep 17 00:00:00 2001 From: Diogo Soares Date: Tue, 5 Dec 2023 14:12:56 +0100 Subject: [PATCH] bump version --- package.json | 2 +- src/components/Campaign/Faq/styles.module.css | 8 ++++++-- src/components/Core/Intro/index.tsx | 1 + src/content/core.json | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 9e191782e..f529bc3b9 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "safe-homepage", "homepage": "https://github.com/safe-global/safe-homepage", - "version": "1.3.5", + "version": "1.3.6", "scripts": { "build": "next build && next export", "lint": "tsc && next lint", diff --git a/src/components/Campaign/Faq/styles.module.css b/src/components/Campaign/Faq/styles.module.css index eb0656f61..a9e0ee709 100644 --- a/src/components/Campaign/Faq/styles.module.css +++ b/src/components/Campaign/Faq/styles.module.css @@ -45,8 +45,12 @@ padding: 0 0 32px; } -.details p { - margin: 0; +.details p:first-of-type { + margin-top: 0; +} + +.details p:last-of-type { + margin-bottom: 0; } .details a { diff --git a/src/components/Core/Intro/index.tsx b/src/components/Core/Intro/index.tsx index 1cef25caf..8a32ab3d4 100644 --- a/src/components/Core/Intro/index.tsx +++ b/src/components/Core/Intro/index.tsx @@ -7,6 +7,7 @@ const CoreIntro = ({ title, text, link, scroll }: BaseBlock & { scroll?: { title const handleClick = (e: React.MouseEvent, target: string) => { e.preventDefault() + // TODO: move offset to CSS scrollToElement(target, 200) } diff --git a/src/content/core.json b/src/content/core.json index 23719f9d6..925672eab 100644 --- a/src/content/core.json +++ b/src/content/core.json @@ -17,7 +17,7 @@ "caption": "Build with Web3Auth", "buttons": [ { - "text": "Try", + "text": "Try it now", "href": "https://safe.web3auth.com/", "variant": "button", "color": "secondary"