From f90608a63a1bf7e4a61e99eb3c2dd205929a8b14 Mon Sep 17 00:00:00 2001 From: sasha-astiadi Date: Wed, 20 Nov 2024 01:36:02 +0100 Subject: [PATCH] edit faq --- content/121224/index.md | 2 +- templates/partials/home/faq.html | 376 +++++++++++++------------ templates/partials/solutions/hero.html | 2 +- 3 files changed, 200 insertions(+), 180 deletions(-) diff --git a/content/121224/index.md b/content/121224/index.md index 32b6688ef..6a67f8ef7 100644 --- a/content/121224/index.md +++ b/content/121224/index.md @@ -1,6 +1,6 @@ --- title: "12.12.24" -description: "12.12.24" # quotation marks to allow colons where used +description: "f" # quotation marks to allow colons where used template: "layouts/121224.html" insert_anchor_links: "left" extra: diff --git a/templates/partials/home/faq.html b/templates/partials/home/faq.html index e820defbd..0516daa9c 100644 --- a/templates/partials/home/faq.html +++ b/templates/partials/home/faq.html @@ -1,187 +1,207 @@
-
-

Frequently Asked Questions

-
- - -
-
- -
- -
- - -
-
- -
- -
- - -
-
- -
- -
+
+

Frequently Asked Questions

+
- -
-
- -
- -
+ +
+
+ +
+ +
- -
-
- -
- -
+ +
+
+ +
+ +
- -
-
- -
- -
+ +
+
+ +
+ +
- -
-
- -
- -
+ +
+
+ +
+ +
- -
-
- -
- -
-
-
+ +
+
+ +
+ +
+ + +
+
+ +
+ +
+ + +
+
+ +
+ +
+ + +
+
+ +
+ +
+ +
+
-
- - - \ No newline at end of file + + // Toggle current FAQ + if (isExpanded) { + button.setAttribute("aria-expanded", "false"); + answer.classList.add("hidden"); + answer.classList.remove("block"); + } else { + button.setAttribute("aria-expanded", "true"); + answer.classList.remove("hidden"); + answer.classList.add("block"); + } + }); +}); + + \ No newline at end of file diff --git a/templates/partials/solutions/hero.html b/templates/partials/solutions/hero.html index 5d62727b6..3836f2929 100644 --- a/templates/partials/solutions/hero.html +++ b/templates/partials/solutions/hero.html @@ -7,7 +7,7 @@

Dive Deeper - + f