| 1234567891011121314151617181920212223242526272829 |
- <?php
- /**
- * Landing page: full-screen hero image with the artist introduction.
- */
- require dirname(__DIR__) . '/app/bootstrap.php';
- $site = site_get();
- $hero = $site['hero_image'] ?? null;
- $heroUrl = $hero ? 'media/' . rawurlencode($hero) : null;
- public_header($site['intro_title'] ?: config('site.name', 'Portfolio'), 'home');
- ?>
- <section class="hero">
- <?php if ($heroUrl): ?>
- <img src="<?= e($heroUrl) ?>" alt="<?= e($site['intro_title']) ?>" fetchpriority="high">
- <?php else: ?>
- <div class="hero-placeholder"></div>
- <?php endif; ?>
- <div class="hero-caption">
- <h1><?= e($site['intro_title']) ?></h1>
- </div>
- <span class="hero-scroll-hint">↓</span>
- </section>
- <section class="intro">
- <p><?= e($site['intro_text']) ?></p>
- <a class="cta" href="showreel.php">View Showreel</a>
- </section>
- <?php public_footer(); ?>
|