mirror of
https://github.com/elyby/emails-renderer.git
synced 2024-12-23 21:59:48 +05:30
Все картинки с текстом вынесены в свои подпапки, добавлены картинки для английского и белорусского, добавлен исходный файл макета
This commit is contained in:
parent
d08523487e
commit
11e6c0fdfb
@ -10,16 +10,17 @@ import { Input } from 'components/input';
|
|||||||
import styles from './styles';
|
import styles from './styles';
|
||||||
import messages from './messages.intl.json';
|
import messages from './messages.intl.json';
|
||||||
|
|
||||||
import welcomeImage from './images/welcome.png';
|
|
||||||
import confirmEmailImage from './images/confirmEmail.png';
|
|
||||||
import whatsNextImage from './images/whatsNext.png';
|
|
||||||
import violetManImage from './images/violetMan.png';
|
import violetManImage from './images/violetMan.png';
|
||||||
import chooseYouSkin from './images/chooseYouSkin.png';
|
|
||||||
import orangeManImage from './images/orangeMan.png';
|
import orangeManImage from './images/orangeMan.png';
|
||||||
import installOurPatch from './images/installOurPatch.png';
|
|
||||||
import darkBlueManImage from './images/darkBlueMan.png';
|
import darkBlueManImage from './images/darkBlueMan.png';
|
||||||
import useTLauncher from './images/useTlauncher.png';
|
|
||||||
import footerLogoImage from './images/footerLogo.png';
|
import welcomeImage from './images/ru/welcome.png';
|
||||||
|
import confirmEmailImage from './images/ru/confirmEmail.png';
|
||||||
|
import whatsNextImage from './images/ru/whatsNext.png';
|
||||||
|
import chooseYouSkin from './images/ru/chooseYouSkin.png';
|
||||||
|
import installOurPatch from './images/ru/installOurPatch.png';
|
||||||
|
import useTLauncher from './images/ru/useTlauncher.png';
|
||||||
|
import footerLogoImage from './images/ru/footerLogo.png';
|
||||||
|
|
||||||
export default function Register({username, link, code}) {
|
export default function Register({username, link, code}) {
|
||||||
return (
|
return (
|
||||||
@ -35,6 +36,8 @@ export default function Register({username, link, code}) {
|
|||||||
<Message {...messages.welcome_image}>{(message) =>
|
<Message {...messages.welcome_image}>{(message) =>
|
||||||
<img src={welcomeImage} alt={message} style={{
|
<img src={welcomeImage} alt={message} style={{
|
||||||
width: '374px',
|
width: '374px',
|
||||||
|
// width: '231px',
|
||||||
|
// width: '407px',
|
||||||
verticalAlign: 'middle'
|
verticalAlign: 'middle'
|
||||||
}}/>
|
}}/>
|
||||||
}</Message>
|
}</Message>
|
||||||
@ -62,6 +65,8 @@ export default function Register({username, link, code}) {
|
|||||||
<Message {...messages.confirm_email_image}>{(message) =>
|
<Message {...messages.confirm_email_image}>{(message) =>
|
||||||
<img src={confirmEmailImage} alt={message} style={{
|
<img src={confirmEmailImage} alt={message} style={{
|
||||||
width: '147px',
|
width: '147px',
|
||||||
|
// width: '104px',
|
||||||
|
// width: '144px',
|
||||||
verticalAlign: 'middle'
|
verticalAlign: 'middle'
|
||||||
}} />
|
}} />
|
||||||
}</Message>
|
}</Message>
|
||||||
@ -102,6 +107,8 @@ export default function Register({username, link, code}) {
|
|||||||
<Message {...messages.whats_next_image}>{(message) =>
|
<Message {...messages.whats_next_image}>{(message) =>
|
||||||
<img src={whatsNextImage} alt={message} style={{
|
<img src={whatsNextImage} alt={message} style={{
|
||||||
width: '168px',
|
width: '168px',
|
||||||
|
// width: '202px',
|
||||||
|
// width: '154px',
|
||||||
verticalAlign: 'middle'
|
verticalAlign: 'middle'
|
||||||
}} />
|
}} />
|
||||||
}</Message>
|
}</Message>
|
||||||
@ -122,6 +129,8 @@ export default function Register({username, link, code}) {
|
|||||||
<Message {...messages.choose_you_skin_image}>{(message) =>
|
<Message {...messages.choose_you_skin_image}>{(message) =>
|
||||||
<img src={chooseYouSkin} alt={message} style={{
|
<img src={chooseYouSkin} alt={message} style={{
|
||||||
width: '179px',
|
width: '179px',
|
||||||
|
// width: '159px',
|
||||||
|
// width: '176px',
|
||||||
verticalAlign: 'middle'
|
verticalAlign: 'middle'
|
||||||
}} />
|
}} />
|
||||||
}</Message>
|
}</Message>
|
||||||
@ -151,6 +160,8 @@ export default function Register({username, link, code}) {
|
|||||||
<Message {...messages.install_our_patch_image}>{(message) =>
|
<Message {...messages.install_our_patch_image}>{(message) =>
|
||||||
<img src={installOurPatch} alt={message} style={{
|
<img src={installOurPatch} alt={message} style={{
|
||||||
width: '252px',
|
width: '252px',
|
||||||
|
// width: '264px',
|
||||||
|
// width: '271px',
|
||||||
verticalAlign: 'middle'
|
verticalAlign: 'middle'
|
||||||
}} />
|
}} />
|
||||||
}</Message>
|
}</Message>
|
||||||
@ -180,6 +191,8 @@ export default function Register({username, link, code}) {
|
|||||||
<Message {...messages.use_tlauncher_image}>{(message) =>
|
<Message {...messages.use_tlauncher_image}>{(message) =>
|
||||||
<img src={useTLauncher} alt={message} style={{
|
<img src={useTLauncher} alt={message} style={{
|
||||||
width: '209px',
|
width: '209px',
|
||||||
|
// width: '138px',
|
||||||
|
// width: '260px',
|
||||||
verticalAlign: 'middle'
|
verticalAlign: 'middle'
|
||||||
}} />
|
}} />
|
||||||
}</Message>
|
}</Message>
|
||||||
@ -213,6 +226,8 @@ export default function Register({username, link, code}) {
|
|||||||
<Message {...messages.footer_logo_alt}>{(message) =>
|
<Message {...messages.footer_logo_alt}>{(message) =>
|
||||||
<img src={footerLogoImage} alt={message} style={{
|
<img src={footerLogoImage} alt={message} style={{
|
||||||
width: '177px',
|
width: '177px',
|
||||||
|
// width: '139px',
|
||||||
|
// width: '175px',
|
||||||
verticalAlign: 'middle'
|
verticalAlign: 'middle'
|
||||||
}} />
|
}} />
|
||||||
}</Message>
|
}</Message>
|
||||||
|
BIN
src/emails/register/images/be/confirmEmail.png
Normal file
BIN
src/emails/register/images/be/confirmEmail.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.5 KiB |
BIN
src/emails/register/images/en/confirmEmail.png
Normal file
BIN
src/emails/register/images/en/confirmEmail.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
Loading…
Reference in New Issue
Block a user