🎉 Add the mail template project

This commit is contained in:
2025-11-09 03:19:35 +08:00
parent ce5f3434eb
commit f5b37e9419
15 changed files with 1245 additions and 1 deletions

View File

@@ -0,0 +1,27 @@
<script props>
// https://maizzle.com/docs/components/spacer
let styles = []
if (props.height) {
styles.push(`line-height: ${props.height};`)
}
if (props['mso-height']) {
styles.push(`mso-line-height-alt: ${props['mso-height']};`)
}
module.exports = {
height: props.height,
styles: styles.join('')
}
</script>
<if condition="height">
<div
role="separator"
style="{{ styles }}"
>&zwj;</div>
</if>
<else>
<div role="separator">&zwj;</div>
</else>