<?= $this->extend('layouts/main') ?>

<?= $this->section('content') ?>

<section>
    <h1>CV - Curriculum Vitae</h1>
    <?php if (isset($biodata)): ?>
        <h2><?= esc($biodata['nama']) ?></h2>
        <h3>Tentang</h3>
        <p><?= nl2br(esc($biodata['tentang'] ?? '')) ?></p>
        
        <h3>Keahlian</h3>
        <p><?= nl2br(esc($biodata['keahlian'] ?? '')) ?></p>
        
        <h3>Pengalaman</h3>
        <p><?= nl2br(esc($biodata['pengalaman'] ?? '')) ?></p>
    <?php endif; ?>
</section>

<?= $this->endSection() ?>
