{{-- This Blade Component is used/included in listings/index.blade.php and other various files --}} {{-- this Blade Component is used (rendered) in listings.blade.php (listings/index.blade.php) --}} {{-- Data Properties / Attributes (using the @props Blade directive): https://laravel.com/docs/9.x/blade#data-properties-attributes --}} @props(['listing']) {{-- the array of variables that our Blade Component uses ($listing), that were passed in from listings.blade.php (listings/index.blade.php) --}} {{-- Slots (Blade Components Slots): https://laravel.com/docs/9.x/blade#slots --}}

{{ $listing->title }} {{-- Go to listing.blade.php (listings/show.blade.php) --}}

{{ $listing->company }}
{{-- Category Tags like 'laravel' tag, 'Vue' tag, 'API' tag, ... --}} {{-- Rendering Components: https://laravel.com/docs/9.x/blade#rendering-components --}} {{-- passing $listing->tags 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 }}