nimuli/resources/views/bio/show.blade.php

29 lines
1.1 KiB
PHP

<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ $page->getTranslation('title', app()->getLocale()) }}</title>
@vite(['resources/css/app.css'])
</head>
<body class="bg-gray-950 text-gray-100 min-h-screen flex flex-col items-center py-12">
<div class="w-full max-w-md">
<h1 class="text-2xl font-bold text-center mb-2">
{{ $page->getTranslation('title', app()->getLocale()) }}
</h1>
@if($page->getTranslation('description', app()->getLocale()))
<p class="text-gray-400 text-center mb-8">
{{ $page->getTranslation('description', app()->getLocale()) }}
</p>
@endif
<div class="space-y-3">
@foreach($page->blocks as $block)
<div class="bg-gray-900 rounded-xl p-4 border border-gray-800">
<div class="text-sm text-gray-300">{{ $block->config['content'] ?? '' }}</div>
</div>
@endforeach
</div>
</div>
</body>
</html>