feat: add verify with link and back to app
This commit is contained in:
@@ -0,0 +1,91 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fa">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>ایمیل تایید شد</title>
|
||||
<style>
|
||||
/* Reset default margins/paddings */
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Tahoma', sans-serif;
|
||||
direction: rtl;
|
||||
text-align: center;
|
||||
background-color: #f5f6fa;
|
||||
color: #333;
|
||||
padding: 50px 20px;
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 500px;
|
||||
margin: 0 auto;
|
||||
background-color: #ffffff;
|
||||
padding: 40px 30px;
|
||||
border-radius: 15px;
|
||||
box-shadow: 0 8px 25px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 28px;
|
||||
color: #0288d1;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 16px;
|
||||
color: #555;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.button {
|
||||
display: inline-block;
|
||||
padding: 15px 30px;
|
||||
font-size: 18px;
|
||||
background: linear-gradient(135deg, #0288d1, #26c6da);
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
border-radius: 10px;
|
||||
transition: all 0.3s ease;
|
||||
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
|
||||
}
|
||||
|
||||
.button:hover {
|
||||
background: linear-gradient(135deg, #026aa7, #00acc1);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 8px 20px rgba(0,0,0,0.25);
|
||||
}
|
||||
|
||||
.info {
|
||||
font-size: 14px;
|
||||
color: #999;
|
||||
margin-top: 15px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
const deepLink = "{{ $deepLink }}";
|
||||
if(deepLink) {
|
||||
setTimeout(function() {
|
||||
window.location.href = deepLink;
|
||||
}, 3000); // ۳ ثانیه = 3000 میلیثانیه
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>{{ $message }}</h1>
|
||||
|
||||
@if($deepLink)
|
||||
<p>ایمیل شما با موفقیت تایید شد.</p>
|
||||
<a href="{{ $deepLink }}" class="button">بازگشت به اپلیکیشن</a>
|
||||
<p class="info">در حال انتقال خودکار به اپلیکیشن در ۳ ثانیه...</p>
|
||||
@endif
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user