{{-- The Single Listing Page --}} {{-- this page is opened from the anchor link elements in listing-card.blade.php. $listing is passed from the route in web.php or the controller --}} Back
{{-- Slots (Blade Components Slots): https://laravel.com/docs/9.x/blade#slots --}} {{-- Rendering Components: https://laravel.com/docs/9.x/blade#rendering-components --}} {{-- class="p-10" is passed in to the Blade Component using Component Attributes: https://laravel.com/docs/9.x/blade#component-attributes --}}

{{ $listing->title }}

{{-- $listing is passed from the controller --}}
{{ $listing->company }}
🎨 {{-- Category Tags like 'laravel' tag, 'Vue' tag, 'API' tag, ... --}} {{-- Blade Component: https://laravel.com/docs/9.x/blade#components --}} {{-- Rendering Components: https://laravel.com/docs/9.x/blade#rendering-components --}} {{-- passing $listing->tags ($listing was passed to here from the controller) to the Blade Component (listing-tags.blade.php) --}} {{-- Passing Data To Components: https://laravel.com/docs/9.x/blade#passing-data-to-components --}}
{{ $listing->location }}

Description

{{ $listing->description }}

Contact Visit Website
{{-- this will hit the get() method of the /listings/{listing}/edit route to hit the edit() method in ListingController.php --}} Edit