@extends('layouts.app') @section('title', 'Post a Free Ad - ClassiAds') @section('content')
{{-- Hero Header with Gradient --}}

📢 Post a Free Ad

Reach thousands of potential buyers in your area

1. Details 2. Photos 3. Publish
{{-- Google Ads Area with better styling --}}
{{-- Left Sidebar Ads --}}
@section('leftads')
@endsection
{{-- Main Content --}}
{{-- Consolidated Error Display with Animation --}} @if ($errors->any())
Please fix the following errors:
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif {{-- Success Alert --}} @if (session('success'))
Success!

{{ session('success') }}

@endif
@csrf {{-- Category Section --}}

Category

Select the most appropriate category for your item

{{-- Main Category --}}
@foreach ($mainCategory as $category) @endforeach @error('main_category_id')
{{ $message }}
@enderror
{{-- Sub Category --}}
@error('subcategory_id')
{{ $message }}
@enderror
{{-- Sub-Sub Category
@error('sub_subcategory_id')
{{ $message }}
@enderror
--}}
{{-- Image Upload Section --}}

Photos

Upload up to 10 images (first image will be the cover)

Click to upload images

or drag and drop

JPG, PNG, GIF up to 10MB
@error('images')
{{ $message }}
@enderror

📸 You may upload up to 10 images at a time

{{-- Brand and Condition --}}

Product Details

Tell buyers about the brand and condition

@error('brand')
{{ $message }}
@enderror
@error('condition')
{{ $message }}
@enderror
{{-- Title, Description, Location --}}

Ad Details

Write a compelling title and description

@error('title')
{{ $message }}
@enderror
0/5000 characters
@error('description')
{{ $message }}
@enderror

📍 Location

@error('location_city')
{{ $message }}
@enderror
@error('postal_code')
{{ $message }}
@enderror
@error('address')
{{ $message }}
@enderror
{{-- Price Section --}}

Price

Set your price or offer it for free

£
@error('price')
{{ $message }}
@enderror
{{-- Seller Info --}}

Seller Information

How can buyers reach you?

@error('seller_name')
{{ $message }}
@enderror
@error('seller_phone')
{{ $message }}
@enderror
{{-- Tags Section --}}

Tags

Select up to 5 tags to help buyers find your ad

@foreach ($tags as $tag) @endforeach
✨ You can select up to 5 tags @error('tags')
{{ $message }}
@enderror
{{-- Submit Button --}}

By posting, you agree to our Terms of Service and Privacy Policy

{{-- Right Sidebar Ads --}}
@section('rightads')
{{-- Custom Error Display --}} @endsection @section('scripts') @endsection @section('styles') @endsection