From 83c131d7c1d3b1283f47acd2db518e2f6f3f8e2b Mon Sep 17 00:00:00 2001 From: Antoine M Date: Thu, 9 Nov 2023 14:28:22 +0100 Subject: [PATCH] refactoring heading box --- template-components/news-heading-box.css | 42 ------------------------ template-components/news-heading-box.php | 32 ------------------ 2 files changed, 74 deletions(-) delete mode 100644 template-components/news-heading-box.css delete mode 100644 template-components/news-heading-box.php diff --git a/template-components/news-heading-box.css b/template-components/news-heading-box.css deleted file mode 100644 index da19d84..0000000 --- a/template-components/news-heading-box.css +++ /dev/null @@ -1,42 +0,0 @@ -.news-heading-box { - @apply container - bg-primary - text-white - mx-auto - py-12 - px-8 - rounded-3xl - mt-8 - relative - flex - flex-nowrap - justify-between; - .post-infos-capsule { - @apply mt-8; - } - &__type { - @apply uppercase font-medium text-xl tracking-widest; - } - &__title { - @apply font-bold text-4xl pt-4 max-w-xl; - line-height: 1.2; - } - &__page-icon { - @apply mx-auto w-28 absolute top-0 left-1/2; - transform: translate(-50%, -50%); - } - - &__content { - flex-shrink: 1; - flex-grow: 2; - } - - &__thumbnail { - @apply w-80 h-56 object-cover - rounded-3xl - hidden - lg:block; - - flex-shrink: 2; - } -} diff --git a/template-components/news-heading-box.php b/template-components/news-heading-box.php deleted file mode 100644 index 71f9df4..0000000 --- a/template-components/news-heading-box.php +++ /dev/null @@ -1,32 +0,0 @@ - - -
- -
- -

name ?>

- -

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