Add QR codes, link expiry, password protection, previews, audit trail and bulk operations
This commit is contained in:
1 parent
157aa81252
commit
bcbcc90d98
88 files changed
+5354
-815
No files matched your search
@@ -0,0 +1,184 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
{% if let Some(t) = title %}
|
||||
<title>{{ t }}</title>
|
||||
<meta property="og:title" content="{{ t }}">
|
||||
<meta name="twitter:title" content="{{ t }}">
|
||||
{% else %}
|
||||
<title>Link Preview - BZOD</title>
|
||||
<meta property="og:title" content="Link Preview">
|
||||
<meta name="twitter:title" content="Link Preview">
|
||||
{% endif %}
|
||||
|
||||
{% if let Some(d) = description %}
|
||||
<meta name="description" content="{{ d }}">
|
||||
<meta property="og:description" content="{{ d }}">
|
||||
<meta name="twitter:description" content="{{ d }}">
|
||||
{% endif %}
|
||||
|
||||
{% if let Some(l) = logo_url %}
|
||||
<meta property="og:image" content="{{ l }}">
|
||||
<meta name="twitter:image" content="{{ l }}">
|
||||
{% endif %}
|
||||
|
||||
<meta property="og:type" content="website">
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
|
||||
<style>
|
||||
:root {
|
||||
--bg-base: #070a13;
|
||||
--bg-card: rgba(17, 24, 39, 0.7);
|
||||
--border-color: rgba(255, 255, 255, 0.08);
|
||||
--text-primary: #f8fafc;
|
||||
--text-secondary: #94a3b8;
|
||||
--primary-grad: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
|
||||
--accent-color: #6366f1;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: var(--bg-base);
|
||||
color: var(--text-primary);
|
||||
font-family: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 1.5rem;
|
||||
}
|
||||
|
||||
.preview-card {
|
||||
background-color: var(--bg-card);
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 20px;
|
||||
padding: 3rem 2.5rem;
|
||||
width: 100%;
|
||||
max-width: 500px;
|
||||
backdrop-filter: blur(12px);
|
||||
box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5);
|
||||
text-align: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.logo-container {
|
||||
margin-bottom: 2rem;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 96px;
|
||||
height: 96px;
|
||||
border-radius: 24px;
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
border: 1px solid var(--border-color);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.logo-img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.logo-placeholder {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
color: #818cf8;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 1.75rem;
|
||||
font-weight: 700;
|
||||
margin-bottom: 1rem;
|
||||
line-height: 1.3;
|
||||
background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
}
|
||||
|
||||
.description {
|
||||
color: var(--text-secondary);
|
||||
font-size: 1rem;
|
||||
line-height: 1.6;
|
||||
margin-bottom: 2.5rem;
|
||||
max-width: 100%;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.btn {
|
||||
background: var(--primary-grad);
|
||||
color: #fff;
|
||||
border: none;
|
||||
padding: 1rem 2rem;
|
||||
border-radius: 12px;
|
||||
font-weight: 600;
|
||||
font-size: 1.1rem;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
display: inline-block;
|
||||
box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.3);
|
||||
}
|
||||
|
||||
.btn:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 6px 20px 0 rgba(99, 102, 241, 0.45);
|
||||
opacity: 0.95;
|
||||
}
|
||||
|
||||
.btn:active {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.footer-text {
|
||||
margin-top: 2rem;
|
||||
font-size: 0.8rem;
|
||||
color: var(--text-secondary);
|
||||
opacity: 0.6;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="preview-card">
|
||||
<div class="logo-container">
|
||||
{% if let Some(l) = logo_url %}
|
||||
<img class="logo-img" src="{{ l }}" alt="Logo">
|
||||
{% else %}
|
||||
<svg class="logo-placeholder" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
||||
<circle cx="12" cy="12" r="10"></circle>
|
||||
<line x1="2" y1="12" x2="22" y2="12"></line>
|
||||
<path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"></path>
|
||||
</svg>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{% if let Some(t) = title %}
|
||||
<h1 class="title">{{ t }}</h1>
|
||||
{% else %}
|
||||
<h1 class="title">You are being redirected</h1>
|
||||
{% endif %}
|
||||
|
||||
{% if let Some(d) = description %}
|
||||
<p class="description">{{ d }}</p>
|
||||
{% else %}
|
||||
<p class="description">Click the button below to proceed to the destination URL.</p>
|
||||
{% endif %}
|
||||
|
||||
<a href="{{ destination }}" class="btn">{{ button_text }}</a>
|
||||
|
||||
<div class="footer-text">Powered by BZOD</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user