From a08196ad34a3d11dd9f184927f7822c201856224 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bego=C3=B1a=20=C3=81lvarez=20de=20la=20Cruz?= Date: Fri, 1 Dec 2023 12:20:13 +0100 Subject: [PATCH] feat: add LinkedIn icon "Any Questions?" section (#24) * feat: add LinkedIn icon "Any Questions?" section * chore: add more space for buttons --------- Co-authored-by: JCNoguera --- src/components/icons/index.js | 1 + src/components/icons/index.svelte | 6 ++-- src/components/icons/linkedin.svelte | 12 ++++++++ src/sections/shared/haveAnyQuestions.svelte | 34 ++++++++++++++++++--- 4 files changed, 47 insertions(+), 6 deletions(-) create mode 100644 src/components/icons/linkedin.svelte diff --git a/src/components/icons/index.js b/src/components/icons/index.js index 3d2bf18..44782f0 100644 --- a/src/components/icons/index.js +++ b/src/components/icons/index.js @@ -13,3 +13,4 @@ export { default as Government } from "./government.svelte"; export { default as Trust } from "./trust.svelte"; export { default as Visibility } from "./visibility.svelte"; export { default as Accuracy } from "./accuracy.svelte"; +export { default as LinkedIn } from "./linkedin.svelte"; diff --git a/src/components/icons/index.svelte b/src/components/icons/index.svelte index beec552..725ed8f 100644 --- a/src/components/icons/index.svelte +++ b/src/components/icons/index.svelte @@ -14,7 +14,8 @@ Government, Trust, Visibility, - Accuracy + Accuracy, + LinkedIn } from "./index"; export let name: string; @@ -34,7 +35,8 @@ friendship: Friendship, dataQuality: DataQuality, finance: Finance, - accuracy: Accuracy + accuracy: Accuracy, + linkedin: LinkedIn }; diff --git a/src/components/icons/linkedin.svelte b/src/components/icons/linkedin.svelte new file mode 100644 index 0000000..5fdfca4 --- /dev/null +++ b/src/components/icons/linkedin.svelte @@ -0,0 +1,12 @@ + + + + + diff --git a/src/sections/shared/haveAnyQuestions.svelte b/src/sections/shared/haveAnyQuestions.svelte index 2ebf38d..9defdd4 100644 --- a/src/sections/shared/haveAnyQuestions.svelte +++ b/src/sections/shared/haveAnyQuestions.svelte @@ -1,8 +1,9 @@
-
+
{#if $page.url.pathname != "/faq"} -

{HEADING.title}

+

+ {HEADING.title} +

{HEADING.description}

{:else}

@@ -39,6 +55,7 @@

{HEADING_FAQS.description}

{/if} +
{#if $page.url.pathname != "/faq"} {#each BUTTONS as button} @@ -46,6 +63,14 @@
{/each} + + + {:else}
+
TLIP in Africa
@@ -62,7 +88,7 @@