diff --git a/template-components/heading-box--parcours.css b/template-components/heading-box--parcours-parent.css similarity index 87% rename from template-components/heading-box--parcours.css rename to template-components/heading-box--parcours-parent.css index 0256f0c..4c48819 100644 --- a/template-components/heading-box--parcours.css +++ b/template-components/heading-box--parcours-parent.css @@ -1,4 +1,4 @@ -.heading-box--parcours { +.heading-box--parcours-parent { @apply heading-box; @apply text-center; diff --git a/template-components/heading-box--parcours.php b/template-components/heading-box--parcours-parent.php similarity index 56% rename from template-components/heading-box--parcours.php rename to template-components/heading-box--parcours-parent.php index d7b9923..1cead8a 100644 --- a/template-components/heading-box--parcours.php +++ b/template-components/heading-box--parcours-parent.php @@ -6,12 +6,12 @@ $ctaSecondary = $args['ctaSecondary'] ?? false; ?> -
+
- + -

-

+

+

diff --git a/template-components/heading-box--parcours-single.css b/template-components/heading-box--parcours-single.css new file mode 100644 index 0000000..fbd357c --- /dev/null +++ b/template-components/heading-box--parcours-single.css @@ -0,0 +1,33 @@ +.heading-box--parcours-single { + @apply mt-8 + py-8 + lg:py-16 + flex + relative + flex-nowrap + items-center + justify-between; + .post-infos-capsule { + @apply mt-8; + } + &__type { + @apply !text-xl !my-0 !tracking-widest font-bold; + } + &__title { + @apply !text-4xl font-bold max-w-3xl; + } + + &__page-icon { + @apply w-32 h-32 object-contain + rounded-xl + hidden + lg:block; + + flex-shrink: 0; + } + + &__content { + flex-shrink: 1; + flex-grow: 2; + } +} diff --git a/template-components/heading-box--parcours-single.php b/template-components/heading-box--parcours-single.php new file mode 100644 index 0000000..76da94a --- /dev/null +++ b/template-components/heading-box--parcours-single.php @@ -0,0 +1,28 @@ + + +
+ +
+ +

+ +

+ + get_the_ID(), + "published" => $published + )); + ?> +
+ + + +
\ No newline at end of file