@extends('layouts.admin') @section('title', 'Hotspots — Page ' . $page->page_number) @push('styles') @endpush @section('content')
Hotspot Editor — Page {{ $page->page_number }}
{{ $page->newspaper->publish_date->format('d M Y') }}
Draw Hotspot Areas Click and drag on the image to define a clickable area
Page {{ $page->page_number }}
@foreach($page->hotspots as $hs)
@if($hs->title)
{{ $hs->title }}
@endif
@endforeach
Add Hotspot
@csrf
@if($page->hotspots->count())
Existing Hotspots
@foreach($page->hotspots as $hs)
{{ $hs->title ?: 'Untitled' }}
{{ $hs->link_type }}: {{ Str::limit($hs->link_value, 30) }}
@csrf @method('DELETE')
@endforeach
@endif
@endsection @push('scripts') @endpush