flash.moe/tpl/_layout/header22.php
2023-03-08 00:43:58 +00:00

22 lines
914 B
PHP

<header class="head">
<div class="head-float">
<div class="head-float-bg">
<img src="<?=($self->header_bgs[array_rand($self->header_bgs)]);?>" alt=""/>
</div>
<div class="head-float-fg">
<div class="head-float-fg-logo fw-logo">
<a class="fw-logo-link" href="/">
<div class="fw-logo-flash"><?=($self->header_logo_flash ?? 'flash');?></div>
<div class="fw-logo-wave"><?=($self->header_logo_wave ?? 'wave');?></div>
</a>
</div>
<div class="head-float-fg-nav">
<nav class="topnav">
<?php foreach($self->header_nav as $link): ?>
<a href="<?=$link['link'];?>" class="topnav-item"><?=$link['title'];?></a>
<?php endforeach; ?>
</nav>
</div>
</div>
</div>
</header>