{{-- Author stories page — /stories/author/{username} Uses ContentLayout. --}} @extends('layouts.nova.content-layout') @php $authorDisplayName = $author->user?->username ?? $author->name; $hero_title = 'Stories by ' . $authorDisplayName; $hero_description = 'All stories and interviews by ' . $authorDisplayName . ' on Skinbase.'; @endphp @section('page-content') {{-- Author spotlight --}}
@if($author->avatar_url) {{ $author->name }} @else
@endif

{{ $author->name }}

@if($author->bio)

{{ $author->bio }}

@endif @if($author->user) View profile @endif
{{-- Stories grid --}} @if($stories->isNotEmpty())
@foreach($stories as $story) @if($story->cover_url)
{{ $story->title }}
@else
@endif
@if($story->tags->isNotEmpty())
@foreach($story->tags->take(3) as $tag) #{{ $tag->name }} @endforeach
@endif

{{ $story->title }}

@if($story->excerpt)

{{ $story->excerpt }}

@endif
@if($story->published_at) · @endif {{ $story->reading_time }} min read
@endforeach
{{ $stories->withQueryString()->links() }}
@else

No published stories from this author yet.

Browse all stories →
@endif @endsection