From d27b867e78f170aea67811054ea96e6839027d27 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Wed, 29 Nov 2023 17:52:35 +0100 Subject: [PATCH] introducing page-card component --- template-components/cards/page-card.css | 10 ++++++++++ template-components/cards/page-card.php | 18 ++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 template-components/cards/page-card.css create mode 100644 template-components/cards/page-card.php diff --git a/template-components/cards/page-card.css b/template-components/cards/page-card.css new file mode 100644 index 0000000..d21f0e6 --- /dev/null +++ b/template-components/cards/page-card.css @@ -0,0 +1,10 @@ +.page-card { + @apply p-6 shadowed my-4 bg-white rounded-2xl; + + &__title { + @apply !text-2xl font-bold text-secondary; + } + &__cta { + @apply hidden; + } +} diff --git a/template-components/cards/page-card.php b/template-components/cards/page-card.php new file mode 100644 index 0000000..5507905 --- /dev/null +++ b/template-components/cards/page-card.php @@ -0,0 +1,18 @@ +'; +print_r($args); +echo ''; +?> + + +
+

+

+ + + + + + +
\ No newline at end of file