diff --git a/resources/stoic/content/el/pages/faq.md b/resources/stoic/content/el/pages/faq.md index 2ccec46..4719470 100644 --- a/resources/stoic/content/el/pages/faq.md +++ b/resources/stoic/content/el/pages/faq.md @@ -4,10 +4,10 @@ meta_title: "Συχνές ερωτήσεις" meta_description: "Όλα όσα θες να ξέρεις για παραγγελίες, πληρωμές, μεταφορικά, επιστροφές και τα 3D εκτυπωμένα προϊόντα μας." og_image: "" -image: "3dealer-clickers-square.jpeg" +image: "faq-hand-pointing.png" image_alt: "" heading: "Συχνές ερωτήσεις" -intro: "Όλα όσα θες να ξέρεις για τις παραγγελίες, τα μεταφορικά, τις επιστροφές και τα προϊόντα μας. Δεν βρήκες αυτό που ψάχνεις; Γράψε μας και θα σου απαντήσουμε το συντομότερο." +intro: "Δεν βρήκες την απάντηση; [Γράψε μας](/el/contact)." sections: - faq-sections/orders-payment - faq-sections/products diff --git a/resources/stoic/content/en/pages/faq.md b/resources/stoic/content/en/pages/faq.md index dc7b316..85c57c0 100644 --- a/resources/stoic/content/en/pages/faq.md +++ b/resources/stoic/content/en/pages/faq.md @@ -3,5 +3,5 @@ meta_title: "Frequently asked questions" meta_description: "Everything you want to know about orders, payment, shipping, returns and our 3D printed products." heading: "Frequently asked questions" -intro: "Everything you want to know about orders, shipping, returns and our products. Can't find what you're looking for? Write to us and we'll get back to you as soon as we can." +intro: "Can't find your answer? [Write to us](/en/contact)." --- diff --git a/resources/stoic/media/images/faq-hand-pointing.png b/resources/stoic/media/images/faq-hand-pointing.png new file mode 100644 index 0000000..776fa39 Binary files /dev/null and b/resources/stoic/media/images/faq-hand-pointing.png differ diff --git a/resources/stoic/stoic_schemas.yml b/resources/stoic/stoic_schemas.yml index 4728ea8..ca7b839 100644 --- a/resources/stoic/stoic_schemas.yml +++ b/resources/stoic/stoic_schemas.yml @@ -225,7 +225,7 @@ schemas: ui: string translatable: true - name: intro - label: "Intro (paragraph under the heading)" + label: "Intro (paragraph under the heading, markdown links allowed)" ui: text translatable: true - name: sections diff --git a/resources/views/components/ui/icon.blade.php b/resources/views/components/ui/icon.blade.php index 15d6597..485ea9f 100644 --- a/resources/views/components/ui/icon.blade.php +++ b/resources/views/components/ui/icon.blade.php @@ -34,7 +34,7 @@ 'arrow-down' => '', - 'chevron-down' => '', + 'chevron-down' => '', 'facebook' => '', diff --git a/resources/views/faq.blade.php b/resources/views/faq.blade.php index 154a399..b65bef1 100644 --- a/resources/views/faq.blade.php +++ b/resources/views/faq.blade.php @@ -29,7 +29,7 @@ @php $number = 0; @endphp -
+
{{-- Photo: left column on desktop (sticky while the questions scroll), after the questions on mobile so the answers come first. --}} @@ -38,7 +38,7 @@ @if (filled($page->intro)) -

{{ $page->intro }}

+ {{-- Inline markdown, so the editor can add links. --}} +

{!! Str::inlineMarkdown($page->intro) !!}

@endif @@ -75,10 +76,10 @@ class="w-full h-auto lg:sticky lg:top-42" {{ $faq->name }} - + -