{{-- resources/views/quiz/result.blade.php --}} @extends('layouts.app') @section('title', ' Reading Quiz Result | Bargain Book Hut') @push('styles') @endpush @section('content') {{-- Reader-identity hero: only renders if the controller actually had a type name + details to hand over (Session::get('quiz_type_name') / 'quiz_type_details'). Falls back to a plain page if that data is missing for any reason (e.g. an older session), so this never breaks the page — it just quietly omits the hero. --}} @if(!empty($typeName) && !empty($typeDetails))
{{ $typeDetails['description'] ?? '' }}
@if(!empty($typeDetails['superpowers']))Your top 5 books picked for the way you read.
@if(!empty($picks))