@extends('backend.layouts.app')
@section('title', 'Add Photo')
@section('content')
@php
$pageTitle = 'Add Photo';
$indexRoute = 'content-photo-list.index';
$indexLabel = 'Photo List';
$galleryId = request('gallery_id');
$mode = request('mode', '');
$selectedGallery = $galleryId ? $galleries->firstWhere('gallery_id', $galleryId) : null;
$galleryTitle = $selectedGallery ? ($selectedGallery->translations->firstWhere('gallery_translation_main', 1)?->gallery_translation_title ?? $selectedGallery->translations->first()?->gallery_translation_title ?? 'Gallery #' . $selectedGallery->gallery_id) : null;
@endphp
@include('backend.layouts.partials._page_header')
@php $inputClass = 'dark:bg-dark-900 shadow-theme-xs focus:border-brand-300 focus:ring-brand-500/10 dark:focus:border-brand-800 h-11 w-full rounded-lg border border-gray-300 bg-transparent px-4 py-2.5 text-sm text-gray-800 placeholder:text-gray-400 focus:ring-3 focus:outline-hidden dark:border-gray-700 dark:bg-gray-900 dark:text-white/90 dark:placeholder:text-white/30'; @endphp
{{-- Single Upload --}}
{{-- Bulk Upload --}}
Bulk Upload Photos
@endsection
@push('scripts')
@endpush