90 lines
3.3 KiB
PHP
90 lines
3.3 KiB
PHP
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<style>
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
line-height: 1.6;
|
|
color: #333;
|
|
}
|
|
|
|
.container {
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
}
|
|
|
|
.header {
|
|
background: #e61e1e;
|
|
color: white;
|
|
padding: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.content {
|
|
padding: 20px;
|
|
background: #f9f9f9;
|
|
}
|
|
|
|
.footer {
|
|
text-align: center;
|
|
padding: 20px;
|
|
color: #666;
|
|
font-size: 12px;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="container">
|
|
<div class="header">
|
|
<h1>TAKEONE</h1>
|
|
</div>
|
|
<div class="content">
|
|
<h2>Video Uploaded Successfully! 🎉</h2>
|
|
<p>Hi {{ $userName }},</p>
|
|
<p>Your video <strong>"{{ $video->title }}"</strong> has been uploaded successfully!</p>
|
|
<p>Your video is now being processed and will be available shortly.</p>
|
|
|
|
<p>Check out your uploaded video:</p>
|
|
<div style="margin: 20px 0; text-align: center;">
|
|
@if ($video->thumbnail)
|
|
<a href="{{ url('/videos/' . $video->id) }}">
|
|
<img src="{{ asset('storage/thumbnails/' . $video->thumbnail) }}" alt="{{ $video->title }}"
|
|
style="max-width: 100%; height: auto; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.3); display: block; margin: 0 auto;">
|
|
</a>
|
|
@else
|
|
<div
|
|
style="width: 100%; height: 200px; background: linear-gradient(45deg, #e61e1e, #ff4757); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto; color: white; font-size: 18px; font-weight: bold; box-shadow: 0 8px 24px rgba(230,30,30,0.4);">
|
|
<i class="bi bi-play-circle-fill" style="font-size: 48px; margin-right: 16px;"></i>
|
|
{{ Str::limit($video->title, 30) }}
|
|
</div>
|
|
<p style="margin-top: 12px; color: #666; font-size: 14px;">Thumbnail generating...</p>
|
|
@endif
|
|
</div>
|
|
|
|
<div style="background: #f0f0f0; padding: 16px; border-radius: 8px; margin: 20px 0;">
|
|
<h4 style="margin-top: 0; color: #333;">Video Details:</h4>
|
|
<ul style="margin: 0; padding-left: 20px;">
|
|
<li><strong>Title:</strong> {{ $video->title }}</li>
|
|
<li><strong>Size:</strong> {{ round($video->size / 1024 / 1024, 2) }} MB</li>
|
|
<li><strong>Orientation:</strong> {{ $video->orientation ?? 'Horizontal' }}</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<p style="text-align: center;">
|
|
<a href="{{ url('/videos/' . $video->id) }}"
|
|
style="background: #e61e1e; color: white; padding: 12px 24px; text-decoration: none; border-radius: 25px; font-weight: 600; font-size: 16px; display: inline-block; box-shadow: 0 4px 12px rgba(230,30,30,0.4);">▶️
|
|
Watch Video</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div class="footer">
|
|
<p>TAKEONE Video Platform</p>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
|
|
</html>
|