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 @@ +
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 %} - +