Files
VA.ASPEKTER/email-gen-overrides/reaspekt-master/blocks/buttons.pug
Sergey Zotov c090bfcf47 Initial commit — Aspekter VA email builder
Full project: Svelte 5 frontend, Vite 7 backend API,
Pug email templates (email-gen), Docker deployment.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 01:21:00 +05:00

78 lines
2.7 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
include ./_factory
+spacerLine(20)
//Кнопка Синяя 100% ширины
+ctaButtonSection({
width: 560,
buttonBg: '#ffffff',
buttonText: '#130F33',
iconSrc: 'https://574922.selcdn.ru/email.static/reaspekt/2024_newsletters/2024_09_29/icon-watch-white.png'
})
+spacerLine(20)
//Кнопка Синяя 50% ширины
+ctaButtonSection({
width: 270,
buttonBg: '#ffffff',
buttonText: '#130F33',
iconSrc: 'https://574922.selcdn.ru/email.static/reaspekt/2024_newsletters/2024_09_29/icon-watch-white.png'
})
+spacerLine(20)
//Кнопка Синяя 33% ширины
+ctaButtonSection({
width: 173,
buttonBg: '#ffffff',
buttonText: '#130F33',
iconSrc: 'https://574922.selcdn.ru/email.static/reaspekt/2024_newsletters/2024_09_29/icon-watch-white.png'
})
+spacerLine(20)
+spacerLine(20)
//Кнопка Зеленая 100% ширины
+ctaButtonSection({
width: 560,
buttonBg: '#130F33',
buttonText: '#AAC8C8',
iconSrc: 'https://574922.selcdn.ru/email.static/reaspekt/2024_newsletters/2024_09_29/icon-watch-blue.png'
})
+spacerLine(20)
//Кнопка Зеленая 50% ширины
+ctaButtonSection({
width: 270,
buttonBg: '#130F33',
buttonText: '#AAC8C8',
iconSrc: 'https://574922.selcdn.ru/email.static/reaspekt/2024_newsletters/2024_09_29/icon-watch-blue.png'
})
+spacerLine(20)
//Кнопка Зеленая 33% ширины
+ctaButtonSection({
width: 173,
buttonBg: '#130F33',
buttonText: '#AAC8C8',
iconSrc: 'https://574922.selcdn.ru/email.static/reaspekt/2024_newsletters/2024_09_29/icon-watch-blue.png'
})
+spacerLine(20)
//Сcылка синяя 100% ширины
+ctaLinkSection({ width: 560, colorClass: 'color__blue', linkClass: 'text__link-blue' })
+spacerLine(20)
//Сcылка синяя 50% ширины
+ctaLinkSection({ width: 270, colorClass: 'color__blue', linkClass: 'text__link-blue' })
+spacerLine(20)
//Сcылка синяя 33% ширины
+ctaLinkSection({ width: 173, colorClass: 'color__blue', linkClass: 'text__link-blue' })
+spacerLine(20)
tr
td.background__blue
+defaultTable('560')
+spacerLine(20)
//Сcылка белая 100% ширины
+ctaLinkSection({ width: 560, colorClass: 'color__white', linkClass: 'text__link-white' })
+spacerLine(20)
//Сcылка белая 50% ширины
+ctaLinkSection({ width: 270, colorClass: 'color__white', linkClass: 'text__link-white', tableWidth: '100%' })
+spacerLine(20)
//Сcылка белая 33% ширины
+ctaLinkSection({ width: 173, colorClass: 'color__white', linkClass: 'text__link-white', tableWidth: '100%' })
+spacerLine(20)