108 lines
6.4 KiB
PHP
Executable file
108 lines
6.4 KiB
PHP
Executable file
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Your Login Link</title>
|
|
</head>
|
|
<body style="margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background-color: #f3f4f6; line-height: 1.6;">
|
|
<table role="presentation" style="width: 100%; border-collapse: collapse; background-color: #f3f4f6;">
|
|
<tr>
|
|
<td style="padding: 40px 20px;">
|
|
<table role="presentation" style="max-width: 600px; margin: 0 auto; background-color: #ffffff; border-radius: 12px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); border-collapse: collapse; overflow: hidden;">
|
|
<!-- Header -->
|
|
<tr>
|
|
<td style="padding: 48px 40px 32px; text-align: center; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);">
|
|
<h1 style="margin: 0; color: #ffffff; font-size: 28px; font-weight: 700; letter-spacing: -0.5px;">
|
|
{{ config('app.name') }}
|
|
</h1>
|
|
</td>
|
|
</tr>
|
|
|
|
<!-- Content -->
|
|
<tr>
|
|
<td style="padding: 40px;">
|
|
<h2 style="margin: 0 0 16px; color: #111827; font-size: 24px; font-weight: 600; text-align: center;">
|
|
Your Login Link
|
|
</h2>
|
|
|
|
<p style="margin: 0 0 32px; color: #6b7280; font-size: 16px; text-align: center;">
|
|
Click the button below to securely log in to your account.
|
|
</p>
|
|
|
|
<!-- Login Button -->
|
|
<table role="presentation" style="width: 100%; border-collapse: collapse; margin: 0 0 32px;">
|
|
<tr>
|
|
<td style="text-align: center;">
|
|
<a href="{{ $loginUrl }}" style="display: inline-block; padding: 16px 48px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #ffffff; text-decoration: none; border-radius: 8px; font-size: 18px; font-weight: 600; box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3); transition: transform 0.2s;">
|
|
Log In to {{ config('app.name') }}
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<!-- Divider -->
|
|
<table role="presentation" style="width: 100%; border-collapse: collapse; margin: 0 0 32px;">
|
|
<tr>
|
|
<td style="width: 45%; border-bottom: 1px solid #e5e7eb;"></td>
|
|
<td style="width: 10%; text-align: center; color: #9ca3af; font-size: 14px; font-weight: 500; padding: 0 16px;">
|
|
OR
|
|
</td>
|
|
<td style="width: 45%; border-bottom: 1px solid #e5e7eb;"></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<!-- Code Display -->
|
|
<div style="margin: 0 0 32px; text-align: center;">
|
|
<p style="margin: 0 0 16px; color: #6b7280; font-size: 16px;">
|
|
Enter this code on the login page:
|
|
</p>
|
|
<div style="display: inline-block; padding: 24px 48px; background-color: #f9fafb; border: 2px solid #e5e7eb; border-radius: 12px;">
|
|
<span style="font-family: 'Courier New', Courier, monospace; font-size: 42px; font-weight: 700; letter-spacing: 8px; color: #111827;">
|
|
{{ $code }}
|
|
</span>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Expiry Notice -->
|
|
<div style="margin: 0 0 32px; padding: 16px; background-color: #fef3c7; border-left: 4px solid #f59e0b; border-radius: 6px;">
|
|
<p style="margin: 0; color: #92400e; font-size: 14px; line-height: 1.5;">
|
|
<strong style="font-weight: 600;">Important:</strong> This link and code will expire in {{ $expiresInMinutes }} minutes for your security.
|
|
</p>
|
|
</div>
|
|
|
|
<!-- Security Notice -->
|
|
<div style="margin: 0; padding: 16px; background-color: #f3f4f6; border-radius: 6px;">
|
|
<p style="margin: 0; color: #6b7280; font-size: 14px; line-height: 1.5; text-align: center;">
|
|
If you didn't request this login link, you can safely ignore this email. Your account remains secure.
|
|
</p>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
|
|
<!-- Footer -->
|
|
<tr>
|
|
<td style="padding: 32px 40px; background-color: #f9fafb; border-top: 1px solid #e5e7eb;">
|
|
<p style="margin: 0; color: #9ca3af; font-size: 12px; text-align: center; line-height: 1.5;">
|
|
This is an automated message from {{ config('app.name') }}.<br>
|
|
Please do not reply to this email.
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<!-- Bottom Spacer -->
|
|
<table role="presentation" style="max-width: 600px; margin: 24px auto 0; border-collapse: collapse;">
|
|
<tr>
|
|
<td style="text-align: center;">
|
|
<p style="margin: 0; color: #9ca3af; font-size: 12px;">
|
|
© {{ date('Y') }} {{ config('app.name') }}. All rights reserved.
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|