Files
ladill-transfer/resources/views/public/transfer/landing.blade.php
T
isaaccladandCursor 7a1bc86b9e
Deploy Ladill Transfer / deploy (push) Successful in 1m43s
Use ladl.link URLs for all front-facing QR and short-link surfaces.
Public landing pages, asset paths, payment callbacks, and redirects now go through QrCode::publicPath() / LadillLink instead of ladill.com/q/* routes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-27 15:46:33 +00:00

59 lines
3.1 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ $transfer->title }}</title>
@include('partials.favicon')
<style>
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: system-ui, -apple-system, sans-serif; background: #f8fafc; color: #0f172a; min-height: 100dvh; }
.wrap { max-width: 42rem; margin: 0 auto; padding: 2rem 1.25rem 3rem; }
.card { background: #fff; border: 1px solid #e2e8f0; border-radius: 1rem; overflow: hidden; }
.header { padding: 1.5rem; border-bottom: 1px solid #f1f5f9; }
.brand { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.brand img { height: 2rem; width: auto; }
.brand span { font-size: .75rem; color: #64748b; font-weight: 600; }
h1 { font-size: 1.25rem; font-weight: 700; }
.message { margin-top: .5rem; font-size: .875rem; color: #475569; line-height: 1.5; }
.meta { margin-top: .75rem; font-size: .75rem; color: #94a3b8; }
.files { divide-y: 1px solid #f1f5f9; }
.file { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.5rem; border-top: 1px solid #f1f5f9; }
.file-name { font-size: .875rem; font-weight: 600; word-break: break-word; }
.file-size { font-size: .75rem; color: #94a3b8; margin-top: .125rem; }
.download { display: inline-flex; align-items: center; gap: .375rem; padding: .5rem 1rem; border-radius: 9999px; background: #4f46e5; color: #fff; font-size: .75rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.download:hover { background: #4338ca; }
</style>
</head>
<body>
<div class="wrap">
<div class="card">
<div class="header">
<div class="brand">
<img src="{{ asset('images/launcher-icons/transfer.svg') }}" alt="">
<span>Ladill Transfer</span>
</div>
<h1>{{ $transfer->title }}</h1>
@if($transfer->message)
<p class="message">{{ $transfer->message }}</p>
@endif
<p class="meta">{{ $transfer->files->count() }} {{ $transfer->files->count() === 1 ? 'file' : 'files' }}
@if($transfer->expires_at) · Available until {{ $transfer->expires_at->format('M j, Y') }}@endif
</p>
</div>
<div class="files">
@foreach($transfer->files as $file)
<div class="file">
<div>
<p class="file-name">{{ $file->original_name }}</p>
<p class="file-size">{{ $file->humanSize() }}</p>
</div>
<a href="{{ \App\Support\DirectTransferFileUrl::for($transfer, $file) }}" class="download">Download</a>
</div>
@endforeach
</div>
</div>
</div>
</body>
</html>