@extends('layouts.app')

@section('title', 'Author: ' . $author->name)

@section('content')

<section class="author-banner-area">
    <div class="author-banner-container">

        <!-- Author Image -->
        <div class="author-banner-avatar">
            <img src="{{ asset('images/' . $author->image) }}" alt="{{ $author->name }}">
        </div>

        <!-- Author Info -->
        <div class="author-banner-info">
            <h2 class="author-banner-name">{{ $author->name }}</h2>

            <p><strong>{{ $author->designation }}</strong></p>
            <p>{{ $author->location }} • Joined {{ $author->joined_year }}</p>

            <p class="author-banner-bio">
                {{ $author->bio }}
            </p>
        </div>

    </div>
</section>

@endsection