sls/resources/views/client_calls/guest_join.blade.php

158 lines
5.6 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Join Meeting | SingleLogin Connect</title>
<!-- Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@500;700;800&display=swap" rel="stylesheet">
<style>
:root {
--bg-color: #0b0f19;
--card-bg: rgba(17, 24, 39, 0.7);
--card-border: rgba(255, 255, 255, 0.12);
--accent-primary: #4f46e5;
--text-main: #f3f4f6;
--text-muted: #9ca3af;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: 'Inter', sans-serif;
background-color: var(--bg-color);
color: var(--text-main);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 1.5rem;
background-image:
radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.12) 0%, transparent 50%);
}
.join-card {
background: var(--card-bg);
backdrop-filter: blur(16px);
border: 1px solid var(--card-border);
border-radius: 20px;
padding: 2.5rem;
width: 100%;
max-width: 460px;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
text-align: center;
}
.app-badge {
display: inline-flex;
align-items: center;
gap: 6px;
background: rgba(99, 102, 241, 0.15);
color: #818cf8;
padding: 4px 12px;
border-radius: 999px;
font-size: 0.75rem;
font-weight: 700;
text-transform: uppercase;
margin-bottom: 1.25rem;
border: 1px solid rgba(99, 102, 241, 0.3);
}
.meeting-title {
font-family: 'Outfit', sans-serif;
font-size: 1.5rem;
font-weight: 800;
color: var(--text-main);
margin-bottom: 6px;
}
.project-meta {
font-size: 0.875rem;
color: var(--text-muted);
margin-bottom: 2rem;
}
.form-group {
text-align: left;
margin-bottom: 1.25rem;
}
.form-label {
display: block;
font-size: 0.85rem;
font-weight: 600;
color: var(--text-muted);
margin-bottom: 6px;
}
.form-control {
width: 100%;
padding: 0.8rem 1rem;
background: rgba(255, 255, 255, 0.05);
border: 1px solid var(--card-border);
border-radius: 10px;
color: var(--text-main);
font-size: 0.95rem;
outline: none;
transition: all 0.2s ease;
}
.form-control:focus {
border-color: #6366f1;
background: rgba(255, 255, 255, 0.08);
}
.btn-join {
width: 100%;
padding: 0.85rem;
background: linear-gradient(135deg, #4f46e5, #6366f1);
color: white;
border: none;
border-radius: 10px;
font-size: 1rem;
font-weight: 700;
cursor: pointer;
transition: all 0.2s ease;
box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4);
margin-top: 0.5rem;
}
.btn-join:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(79, 70, 229, 0.6);
}
.footer-note {
margin-top: 1.5rem;
font-size: 0.75rem;
color: var(--text-muted);
}
</style>
</head>
<body>
<div class="join-card">
<div class="app-badge">
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"/></svg>
SingleLogin Video Connect
</div>
<h1 class="meeting-title">{{ $meeting->title }}</h1>
<p class="project-meta">{{ $meeting->client->project_name }} &bull; Hosted by {{ $meeting->host->name ?? 'SingleLogin Host' }}</p>
<form action="{{ route('client-calls.join-guest', $meeting->meeting_code) }}" method="POST">
@csrf
<div class="form-group">
<label class="form-label">What's your name? *</label>
<input type="text" name="guest_name" class="form-control" placeholder="e.g. Robert Miller (Acme Corp)" required autofocus>
</div>
<div class="form-group">
<label class="form-label">Your Email (Optional)</label>
<input type="email" name="guest_email" class="form-control" placeholder="e.g. robert@acme.com">
</div>
<button type="submit" class="btn-join">
👉 Join Meeting Room
</button>
</form>
<div class="footer-note">
No account required. Protected with end-to-end WebRTC encryption.
</div>
</div>
</body>
</html>