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>
This commit is contained in:
77
email-gen-overrides/reaspekt-master/blocks/buttons.pug
Normal file
77
email-gen-overrides/reaspekt-master/blocks/buttons.pug
Normal file
@@ -0,0 +1,77 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user