imlemented step 16 by Gemini
- Template
This commit is contained in:
18
src/Templates/sections/hero.php
Normal file
18
src/Templates/sections/hero.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
/**
|
||||
* @var array $project
|
||||
*/
|
||||
$hero = $project['content']['generated']['hero'] ?? [];
|
||||
?>
|
||||
<section id="hero" class="hero">
|
||||
<div class="container">
|
||||
<div class="hero-content">
|
||||
<h1><?= e($hero['title'] ?? $project['wizard_data']['identity']['business_name']) ?></h1>
|
||||
<p class="subtitle"><?= e($hero['subtitle'] ?? $project['wizard_data']['identity']['tagline']) ?></p>
|
||||
<div class="hero-actions">
|
||||
<a href="#contact" class="btn btn-primary">Kontaktujte nás</a>
|
||||
<a href="#services" class="btn btn-secondary">Naše služby</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
Reference in New Issue
Block a user