Compare commits

...

3 Commits

Author SHA1 Message Date
b6d9bc6697 fix: footer link working
All checks were successful
Deploy / ValidateConfig (push) Successful in 27s
Deploy / MigrateDatabase (push) Successful in 51s
Deploy / CreateImage (push) Successful in 2m44s
Deploy / DeployService (push) Successful in 26s
2025-08-13 18:35:36 +00:00
cb45b02304 fix: change sender email to quiz
All checks were successful
Deploy / CreateImage (push) Successful in 2m53s
Deploy / DeployService (push) Successful in 27s
2025-07-11 17:00:23 +03:00
3b4c803f93 -- 2025-07-11 16:37:49 +03:00
3 changed files with 180 additions and 178 deletions

@ -9,9 +9,9 @@ UNLIM_ID=quizUnlimTime
REDIS_HOST='10.8.0.12:6379' REDIS_HOST='10.8.0.12:6379'
REDIS_PASSWORD='Redalert2' REDIS_PASSWORD='Redalert2'
REDIS_DB=2 REDIS_DB=2
MAIL_SENDER='team@pena.digital' MAIL_SENDER='quiz@pena.digital'
MAIL_API_KEY='8tv2xcsfCMBX3TCQxzgeeEwAEYyQrPUp0ggw' MAIL_API_KEY='8tv2xcsfCMBX3TCQxzgeeEwAEYyQrPUp0ggw'
CUSTOMER_MICROSERVICE_RPC_URL='http://10.8.0.226:9066/' CUSTOMER_MICROSERVICE_RPC_URL='10.8.0.226:9066'
S3_ENDPOINT=s3.timeweb.cloud S3_ENDPOINT=s3.timeweb.cloud
S3_ACCESS_KEY=5CV77KVDUU9H0II9R24M S3_ACCESS_KEY=5CV77KVDUU9H0II9R24M
S3_SECRET_KEY=0W0m8DyvdAKRJnsAy6mB5zndQ7RouJBLhqhtThcu S3_SECRET_KEY=0W0m8DyvdAKRJnsAy6mB5zndQ7RouJBLhqhtThcu
@ -20,3 +20,5 @@ KAFKA_GROUP_GIGA_CHAT="gigachat1"
GIGA_CHAT_API_AUTH_KEY=Y2MzZWUxZDMtZGE5MC00ZTFjLWI5YzItM2ViMTZmMDM0YTkwOmY1NTlkOGM3LWUyNmQtNGUwMC1hODE0LTJlYjQ5NDA5ODdjMQ== GIGA_CHAT_API_AUTH_KEY=Y2MzZWUxZDMtZGE5MC00ZTFjLWI5YzItM2ViMTZmMDM0YTkwOmY1NTlkOGM3LWUyNmQtNGUwMC1hODE0LTJlYjQ5NDA5ODdjMQ==
GIGA_CHAT_API_BASE_URL="https://gigachat.devices.sberbank.ru/api/v1" GIGA_CHAT_API_BASE_URL="https://gigachat.devices.sberbank.ru/api/v1"
TELEGRAM_TOKEN=6112841016:AAH2nO1c6mqfMewBvHwdXCDp5PCclOuc99 TELEGRAM_TOKEN=6112841016:AAH2nO1c6mqfMewBvHwdXCDp5PCclOuc99
NOTIFY_CHANNEL_ID=-1002338593104
NOTIFY_TELEGRAM_TOKEN=6112841016:AAH2nO1c6mqfMewBvHwdXCDp5PCclOuc99s

@ -1,12 +1,12 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title> <title>Document</title>
<style> <style>
/* Сброс стилей */ /* Сброс стилей */
body, body,
h1, h1,
h2, h2,
h3, h3,
@ -17,20 +17,20 @@
table, table,
th, th,
td { td {
margin: 0; margin: 0;
padding: 0; padding: 0;
border: 0; border: 0;
font: inherit; font: inherit;
vertical-align: baseline; vertical-align: baseline;
} }
body { body {
background-color: #f2f2f7; background-color: #f2f2f7;
font-family: Arial, sans-serif; font-family: Arial, sans-serif;
} }
@media (max-width: 400px) { @media (max-width: 400px) {
h1 { h1 {
font-size: 25px !important; font-size: 25px !important;
} }
@ -45,43 +45,43 @@
.image { .image {
max-width: 223px; max-width: 223px;
height: 208px; height: 208px;
} }
} }
</style> </style>
</head> </head>
<body style="background-color: #f2f2f7; font-family: Arial, sans-serif"> <body style="background-color: #f2f2f7; font-family: Arial, sans-serif">
<table style="width: 100%; padding: 16px"> <table style="width: 100%; padding: 16px">
<tr> <tr>
<td> <td>
<img class="image" style="width: 103px; height: 40px" src="https://storage.yandexcloud.net/squizimages/logo-email-squiz.png" /> <img class="image" style="width: 103px; height: 40px" src="https://storage.yandexcloud.net/squizimages/logo-email-squiz.png" />
</td> </td>
<td> <td>
<p style="text-align: end; color: #9a9aaf; font-size: 14px">Квиз для вашего бизнеса</p> <p style="text-align: end; color: #9a9aaf; font-size: 14px">Квиз для вашего бизнеса</p>
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="2" style="height: 100%"> <td colspan="2" style="height: 100%">
<h1 <h1
style=" style="
font-size: 30px; font-size: 30px;
font-weight: 600; font-weight: 600;
margin-bottom: 13px; margin-bottom: 13px;
width: 100%; width: 100%;
margin: 0; margin: 0;
margin-bottom: 16px; margin-bottom: 16px;
margin-top: 50px; margin-top: 50px;
" "
> >
Поступила новая заявка с квиза “{{ .QuizConfig.Theme }}”! Поступила новая заявка с квиза “{{ .QuizConfig.Theme }}”!
</h1> </h1>
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="2" style="height: 100%"> <td colspan="2" style="height: 100%">
<p class="balance" style="color: #4d4d4d; font-size: 20px; margin-bottom: 30px"> <p class="balance" style="color: #4d4d4d; font-size: 20px; margin-bottom: 30px">
Но у вас закончились средства на балансе :( Но у вас закончились средства на балансе :(
</p> </p>
</td> </td>
</tr> </tr>
@ -102,90 +102,90 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="2" style="padding: 0"> <td colspan="2" style="padding: 0">
<table <table
style=" style="
background-color: #fff; background-color: #fff;
border-radius: 8px; border-radius: 8px;
text-align: left; text-align: left;
max-width: 480px; max-width: 480px;
width: 100%; width: 100%;
padding: 16px; padding: 16px;
margin-bottom: 40px; margin-bottom: 40px;
" "
> >
<tr> <tr>
<th <th
style=" style="
text-align: start; text-align: start;
color: #4d4d4d; color: #4d4d4d;
font-size: 20px; font-size: 20px;
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
line-height: normal; line-height: normal;
" "
> >
Email Email
</th> </th>
<td style="word-break: break-word"> <td style="word-break: break-word">
<p <p
style=" style="
text-align: start; text-align: start;
color: #7e2aea; color: #7e2aea;
font-size: 20px; font-size: 20px;
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
line-height: normal; line-height: normal;
margin-bottom: 15px; margin-bottom: 15px;
" "
> >
{{ .QuizConfig.Reply }} {{ .QuizConfig.Reply }}
</p> </p>
</td> </td>
</tr> </tr>
</table> </table>
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="2" style="height: 100%"> <td colspan="2" style="height: 100%">
<p class="balance" style="color: #9a9aaf; font-size: 20px; margin-bottom: 30px; text-align: center"> <p class="balance" style="color: #9a9aaf; font-size: 20px; margin-bottom: 30px; text-align: center">
Пополните баланс и посмотрите заявку в личном кабинете: Пополните баланс и посмотрите заявку в личном кабинете:
</p> </p>
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="2" style="height: 100%; text-align: center"> <td colspan="2" style="height: 100%; text-align: center">
<a <a
style=" style="
max-width: 312px; max-width: 312px;
color: #f2f3f7; color: #f2f3f7;
text-align: center; text-align: center;
font-size: 18px; font-size: 18px;
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
line-height: 24px; line-height: 24px;
border-radius: 8px; border-radius: 8px;
border: 1px solid #7e2aea; border: 1px solid #7e2aea;
background: #7e2aea; background: #7e2aea;
padding: 10px 43px; padding: 10px 43px;
" "
> >
Посмотреть в личном кабинете Посмотреть в личном кабинете
</a> </a>
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="2" style="text-align: center; padding: 30px 0 0 0"> <td colspan="2" style="text-align: center; padding: 30px 0 0 0">
<hr style="border-top: 2px solid rgba(126, 42, 234, 0.2); margin: 0 0 10px" /> <hr style="border-top: 2px solid rgba(126, 42, 234, 0.2); margin: 0 0 10px" />
<a style="color: #7e2aea; font-size: 20px; font-style: normal; font-weight: 400; line-height: normal"> <a href="https://quiz.pena.digital" style="color: #7e2aea; font-size: 20px; font-style: normal; font-weight: 400; line-height: normal">
quiz.pena.digital quiz.pena.digital
</a> </a>
</td> </td>
</tr> </tr>
</table> </table>
</body> </body>
</html> </html>

@ -528,7 +528,7 @@
<tr> <tr>
<td colspan="2" style="text-align: center; padding: 0"> <td colspan="2" style="text-align: center; padding: 0">
<a style="color: #7e2aea; font-size: 20px; font-style: normal; font-weight: 400; line-height: normal"> <a href="https://quiz.pena.digital" style="color: #7e2aea; font-size: 20px; font-style: normal; font-weight: 400; line-height: normal">
quiz.pena.digital quiz.pena.digital
</a> </a>
</td> </td>