@extends('layouts.app') @section('title', 'My weddings · '.config('app.name')) @section('css') .head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:20px} .grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:16px} .wcard h2{margin:0 0 2px;font-size:20px} .wcard .meta{color:var(--muted);font-size:14px;margin-bottom:14px} .nums{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:16px} .nums div{background:var(--bg);border-radius:10px;padding:9px 6px;text-align:center} .nums b{display:block;font-size:20px;color:var(--purple);line-height:1.1} .nums span{font-size:11px;color:var(--muted)} .acts{display:flex;gap:8px;align-items:center} .acts form{margin:0;margin-left:auto} details.new{margin-bottom:22px} details.new summary{list-style:none;cursor:pointer;display:inline-block} details.new summary::-webkit-details-marker{display:none} details.new .card{margin-top:14px} .themes{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px;margin-top:6px} .themes label{margin:0;display:block;text-transform:none;font-size:13px;color:var(--ink);cursor:pointer} .themes input{position:absolute;opacity:0;width:0} .themes span{display:block;border:2px solid var(--line);border-radius:10px;padding:8px;font-weight:600;background:#fff} .themes input:checked + span{border-color:var(--purple);background:var(--soft)} .sw{display:flex;height:18px;border-radius:5px;overflow:hidden;margin-bottom:6px;border:1px solid #0001} .sw i{flex:1} @endsection @section('content')

My weddings

{{ $weddings->count() }} of {{ $max }} weddings · up to {{ $guestLimit }} guests each

isEmpty() || $errors->any()) open @endif> + New wedding
@csrf
@foreach($themes as $i => $t) @endforeach
@if($weddings->isEmpty())

No weddings yet

Click + New wedding to create your first invitation.

@else
@foreach($weddings as $w)

{{ $w['model']->title }}

{{ $w['date'] }} · {{ $w['theme'] }}
{{ $w['guests'] }}Guests
{{ $w['sent'] }}Sent
{{ $w['replied'] }}Replies
{{ $w['coming'] }}Coming
Open
@csrf @method('DELETE')
@endforeach
@endif @endsection