Replaces maryUI and daisyUI with nonameweb/livewire-material: the Vibrant indigo scheme, a system/light/dark theme under sealshare-theme, one top app bar with the account menu, the upload drop zone and link-ready moments, M3 fields, dialogs instead of wire:confirm, snackbars instead of flashed messages, a sortable admin table, and the starter-kit cleanup. Docker builds assets after Composer; CI drops the Flux step. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V9NnLxnPp8vaaurb3Z1MFy
39 lines
1.8 KiB
PHP
39 lines
1.8 KiB
PHP
<div class="mx-auto max-w-lg">
|
|
<div class="mb-8 text-center">
|
|
{{-- The link is ready: a check on an Expressive shape that settles in. --}}
|
|
<div class="relative mx-auto mb-4 grid size-24 place-items-center motion-safe:animate-[share-ready_var(--md-sys-motion-spatial-slow-duration)_var(--md-sys-motion-spatial-slow)_both]">
|
|
<x-shape name="soft-burst" class="absolute inset-0 size-full text-primary-container" />
|
|
<x-icon name="check" class="relative size-12 text-on-primary-container" />
|
|
</div>
|
|
|
|
<h1 class="type-headline-md">{{ __('Share Created!') }}</h1>
|
|
<p class="mt-1 type-body-lg text-on-surface-variant">{{ __('Your files are ready to share') }}</p>
|
|
</div>
|
|
|
|
<div class="grid gap-4">
|
|
<x-input
|
|
:label="__('Share Link')"
|
|
:value="route('share.download', $share)"
|
|
readonly
|
|
copyable
|
|
icon="link"
|
|
data-test="share-link"
|
|
/>
|
|
|
|
<div class="grid grid-cols-2 gap-3">
|
|
<x-stat :title="__('Files')" :value="$share->files->count()" icon="description" />
|
|
<x-stat :title="__('Total Size')" :value="Number::fileSize($share->total_size)" icon="hard_drive" />
|
|
<x-stat :title="__('Expires')" :value="$share->expires_at ? $share->expires_at->diffForHumans() : __('Never')" icon="schedule" />
|
|
<x-stat :title="__('Max Downloads')" :value="$share->max_downloads ?? __('Unlimited')" icon="download" />
|
|
</div>
|
|
|
|
@if ($share->isPasswordProtected())
|
|
<x-alert color="info" icon="lock" :title="__('This share is password protected')" />
|
|
@endif
|
|
|
|
<div class="flex justify-end">
|
|
<x-button :label="__('Upload More')" :link="route('upload')" icon="add" variant="tonal" />
|
|
</div>
|
|
</div>
|
|
</div>
|