66 lines
2.8 KiB
PHP

@php
$brand = $brand ?? 'PIN FOR YOU';
$accent = $accent ?? '#E4574B';
$siteUrl = $siteUrl ?? config('app.url');
@endphp
<!doctype html>
<html lang="ko">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
</head>
<body style="margin:0;padding:0;background:#f6f7fb;">
<table role="presentation" width="100%" cellspacing="0" cellpadding="0" style="background:#f6f7fb;padding:24px 12px;">
<tr>
<td align="center">
<table role="presentation" width="600" cellspacing="0" cellpadding="0"
style="width:600px;max-width:600px;background:#ffffff;border-radius:16px;overflow:hidden;
box-shadow:0 6px 24px rgba(16,24,40,.08);">
{{-- Header --}}
<tr>
<td style="background:{{ $accent }};padding:18px 20px;">
<div style="font-family:Apple SD Gothic Neo,Malgun Gothic,Segoe UI,Arial,sans-serif;
color:#fff;font-size:18px;font-weight:800;letter-spacing:-.2px;">
{{ $brand }}
</div>
<div style="font-family:Apple SD Gothic Neo,Malgun Gothic,Segoe UI,Arial,sans-serif;
color:rgba(255,255,255,.9);font-size:12px;margin-top:4px;">
안전하고 빠른 상품권 거래
</div>
</td>
</tr>
{{-- Body --}}
<tr>
<td style="padding:22px 20px 10px 20px;">
@yield('content')
</td>
</tr>
{{-- Footer --}}
<tr>
<td style="padding:14px 20px 22px 20px;border-top:1px solid #eef0f4;">
<div style="font-family:Apple SD Gothic Neo,Malgun Gothic,Segoe UI,Arial,sans-serif;
color:#667085;font-size:12px;line-height:1.6;">
메일은 발신전용입니다. 문의는 고객센터를 이용해 주세요.<br>
<a href="{{ $siteUrl }}" target="_blank" style="color:{{ $accent }};text-decoration:none;font-weight:700;">
{{ $brand }} 바로가기
</a>
</div>
<div style="font-family:Apple SD Gothic Neo,Malgun Gothic,Segoe UI,Arial,sans-serif;
color:#98A2B3;font-size:11px;margin-top:10px;">
© {{ date('Y') }} {{ $brand }}. All rights reserved.
</div>
</td>
</tr>
</table>
{{-- small safe spacing --}}
<div style="height:18px"></div>
</td>
</tr>
</table>
</body>
</html>