From ab266e4366d536578942f4000cd8a08f76c2cefa Mon Sep 17 00:00:00 2001 From: Lenny ROUANET Date: Wed, 3 Jul 2024 15:59:59 +0200 Subject: [PATCH 1/2] Logo size --- component/Template/layout.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/component/Template/layout.twig b/component/Template/layout.twig index 50869cf..59a2726 100644 --- a/component/Template/layout.twig +++ b/component/Template/layout.twig @@ -26,7 +26,7 @@ {% if header_logo %} - + From c27fb7bc1d7925a2927a52983a75180722528380 Mon Sep 17 00:00:00 2001 From: Lenny ROUANET Date: Wed, 3 Jul 2024 16:00:10 +0200 Subject: [PATCH 2/2] Add divider --- component/Service/EmailBuilder.php | 8 ++++++++ component/Template/component/divider.twig | 1 + 2 files changed, 9 insertions(+) create mode 100644 component/Template/component/divider.twig diff --git a/component/Service/EmailBuilder.php b/component/Service/EmailBuilder.php index 9b3e2e2..3499152 100644 --- a/component/Service/EmailBuilder.php +++ b/component/Service/EmailBuilder.php @@ -13,6 +13,7 @@ class EmailBuilder public const TemplateComponentCta = 'component/cta.twig'; public const TemplateComponentOtp = 'component/otp.twig'; public const TemplateComponentMeta = 'component/meta.twig'; + public const TemplateComponentDivider = 'component/divider.twig'; protected Twig $twig; @@ -81,4 +82,11 @@ public function buildMeta( ] ); } + + public function buildDivider( + ): string { + return $this->twig->render( + self::TemplateComponentDivider + ); + } } diff --git a/component/Template/component/divider.twig b/component/Template/component/divider.twig new file mode 100644 index 0000000..28496c5 --- /dev/null +++ b/component/Template/component/divider.twig @@ -0,0 +1 @@ +