Update pricing UX, billing flows, and API rules
This commit is contained in:
101
app/resources/views/emails/reset-password.blade.php
Normal file
101
app/resources/views/emails/reset-password.blade.php
Normal file
@@ -0,0 +1,101 @@
|
||||
@php
|
||||
$logoUrl = rtrim(config('app.url', ''), '/') . '/assets/logo/logo-mark-128.png';
|
||||
@endphp
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Dewemoji Password Reset</title>
|
||||
</head>
|
||||
<body style="margin:0; padding:0; background:#f5f7fb;">
|
||||
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="background:#f5f7fb; padding:32px 16px;">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<table role="presentation" width="600" cellpadding="0" cellspacing="0" style="width:600px; max-width:100%; background:#ffffff; border-radius:24px; overflow:hidden; box-shadow:0 20px 50px rgba(15,23,42,0.10); border:1px solid #e6ebf5;">
|
||||
<tr>
|
||||
<td style="padding:26px 28px 10px;">
|
||||
<table role="presentation" width="100%" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td>
|
||||
<table role="presentation" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td style="width:40px; height:40px; border-radius:12px; background:#f1f5ff; text-align:center; border:1px solid #e2e8f0;">
|
||||
<img src="{{ $logoUrl }}" alt="Dewemoji" width="40" height="40" style="display:block; border-radius:12px;" />
|
||||
</td>
|
||||
<td style="padding-left:12px; font-family:Arial, sans-serif; color:#0f172a; font-size:18px; font-weight:700;">
|
||||
Dewemoji
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td align="right" style="font-family:Arial, sans-serif; color:#6b7280; font-size:12px;">
|
||||
Password reset
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="padding:12px 28px 0;">
|
||||
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="background:#f8fafc; border-radius:18px; padding:26px; border:1px solid #e2e8f0;">
|
||||
<tr>
|
||||
<td style="padding-bottom:14px;">
|
||||
<table role="presentation" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td style="width:34px; height:34px; border-radius:10px; background:#e2e8f0; text-align:center;">
|
||||
<span style="display:inline-block; font-size:18px; line-height:34px;">🔒</span>
|
||||
</td>
|
||||
<td style="padding-left:10px; font-family:Arial, sans-serif; color:#0f172a; font-size:22px; font-weight:700;">
|
||||
Reset your password
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-family:Arial, sans-serif; color:#475569; font-size:14px; line-height:1.7; padding-bottom:20px;">
|
||||
We received a request to reset your Dewemoji password. Click the button below to choose a new one.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" style="padding-bottom:18px;">
|
||||
<a href="{{ $resetUrl }}" style="display:inline-block; padding:12px 20px; background:#111827; color:#ffffff; text-decoration:none; border-radius:999px; font-family:Arial, sans-serif; font-size:14px; font-weight:700;">
|
||||
Reset Password
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-family:Arial, sans-serif; color:#64748b; font-size:12px; line-height:1.6;">
|
||||
If the button does not work, paste this link into your browser:
|
||||
<br />
|
||||
<span style="color:#2563eb;">{{ $resetUrl }}</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="padding:20px 28px 28px;">
|
||||
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="background:#ffffff; border-radius:16px; padding:16px; border:1px dashed #e2e8f0;">
|
||||
<tr>
|
||||
<td style="font-family:Arial, sans-serif; color:#64748b; font-size:12px; line-height:1.6;">
|
||||
This link expires in 60 minutes. If you did not request a password reset, you can safely ignore this email.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-family:Arial, sans-serif; color:#94a3b8; font-size:11px; padding-top:8px;">
|
||||
Dewemoji • Emoji discovery and keywords for creators
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
40
app/resources/views/emails/test.blade.php
Normal file
40
app/resources/views/emails/test.blade.php
Normal file
@@ -0,0 +1,40 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Dewemoji test email</title>
|
||||
</head>
|
||||
<body style="margin:0; padding:24px; font-family: Arial, sans-serif; background:#f4f6fb; color:#0f172a;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" role="presentation">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<table width="560" cellpadding="0" cellspacing="0" role="presentation" style="background:#ffffff; border-radius:16px; padding:28px; box-shadow:0 10px 30px rgba(15, 23, 42, 0.08);">
|
||||
<tr>
|
||||
<td style="font-size:20px; font-weight:700; padding-bottom:8px;">
|
||||
Dewemoji
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size:16px; line-height:1.6; padding-bottom:18px;">
|
||||
This is a test email sent via the Mailketing API from your Dewemoji app.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding-bottom:22px;">
|
||||
<a href="{{ $actionUrl }}" style="display:inline-block; padding:12px 22px; background:#0f172a; color:#ffffff; text-decoration:none; border-radius:999px; font-size:14px; font-weight:700;">
|
||||
Open Dewemoji
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size:12px; color:#64748b;">
|
||||
If the button does not work, open this link: {{ $actionUrl }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
101
app/resources/views/emails/verify-email.blade.php
Normal file
101
app/resources/views/emails/verify-email.blade.php
Normal file
@@ -0,0 +1,101 @@
|
||||
@php
|
||||
$logoUrl = rtrim(config('app.url', ''), '/') . '/assets/logo/logo-mark-128.png';
|
||||
@endphp
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Dewemoji Email Verification</title>
|
||||
</head>
|
||||
<body style="margin:0; padding:0; background:#f5f7fb;">
|
||||
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="background:#f5f7fb; padding:32px 16px;">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<table role="presentation" width="600" cellpadding="0" cellspacing="0" style="width:600px; max-width:100%; background:#ffffff; border-radius:24px; overflow:hidden; box-shadow:0 20px 50px rgba(15,23,42,0.10); border:1px solid #e6ebf5;">
|
||||
<tr>
|
||||
<td style="padding:26px 28px 10px;">
|
||||
<table role="presentation" width="100%" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td>
|
||||
<table role="presentation" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td style="width:40px; height:40px; border-radius:12px; background:#f1f5ff; text-align:center; border:1px solid #e2e8f0;">
|
||||
<img src="{{ $logoUrl }}" alt="Dewemoji" width="40" height="40" style="display:block; border-radius:12px;" />
|
||||
</td>
|
||||
<td style="padding-left:12px; font-family:Arial, sans-serif; color:#0f172a; font-size:18px; font-weight:700;">
|
||||
Dewemoji
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td align="right" style="font-family:Arial, sans-serif; color:#6b7280; font-size:12px;">
|
||||
Email verification
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="padding:12px 28px 0;">
|
||||
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="background:#f8fafc; border-radius:18px; padding:26px; border:1px solid #e2e8f0;">
|
||||
<tr>
|
||||
<td style="padding-bottom:14px;">
|
||||
<table role="presentation" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td style="width:34px; height:34px; border-radius:10px; background:#e2e8f0; text-align:center;">
|
||||
<span style="display:inline-block; font-size:18px; line-height:34px;">✨</span>
|
||||
</td>
|
||||
<td style="padding-left:10px; font-family:Arial, sans-serif; color:#0f172a; font-size:22px; font-weight:700;">
|
||||
Verify your email
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-family:Arial, sans-serif; color:#475569; font-size:14px; line-height:1.7; padding-bottom:20px;">
|
||||
Thanks for joining Dewemoji. Confirm your email to activate your account and start saving emoji keywords.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" style="padding-bottom:18px;">
|
||||
<a href="{{ $verificationUrl }}" style="display:inline-block; padding:12px 20px; background:#111827; color:#ffffff; text-decoration:none; border-radius:999px; font-family:Arial, sans-serif; font-size:14px; font-weight:700;">
|
||||
Verify Email
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-family:Arial, sans-serif; color:#64748b; font-size:12px; line-height:1.6;">
|
||||
If the button does not work, paste this link into your browser:
|
||||
<br />
|
||||
<span style="color:#2563eb;">{{ $verificationUrl }}</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="padding:20px 28px 28px;">
|
||||
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="background:#ffffff; border-radius:16px; padding:16px; border:1px dashed #e2e8f0;">
|
||||
<tr>
|
||||
<td style="font-family:Arial, sans-serif; color:#64748b; font-size:12px; line-height:1.6;">
|
||||
This link expires in 60 minutes. If you did not request this email, you can safely ignore it.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-family:Arial, sans-serif; color:#94a3b8; font-size:11px; padding-top:8px;">
|
||||
Dewemoji • Emoji discovery and keywords for creators
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user