first version
This commit is contained in:
25
theme/template-parts/layout/header-page.php
Normal file
25
theme/template-parts/layout/header-page.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<header id="masthead">
|
||||
<div class="bg-white py-6">
|
||||
<div class="container mx-auto flex justify-between self-start justify-self-start ">
|
||||
<?= get_custom_logo() ?>
|
||||
<nav id="site-navigation" aria-label="<?php esc_attr_e('Main Navigation', 'valier'); ?>"
|
||||
class="has-small-font-size uppercase has-cinzel-font-family flex items-center gap-6 ">
|
||||
<?php
|
||||
wp_nav_menu(
|
||||
array(
|
||||
'theme_location' => 'menu-primary',
|
||||
'container' => false,
|
||||
'menu_id' => 'menu-primary',
|
||||
'items_wrap' => '<ul id="%1$s" class="%2$s flex justify-center gap-6 " aria-label="submenu">%3$s</ul>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
<a href="<?= get_field('linkedin_link', 'option') ?>" target="_blank">
|
||||
<img src="<?= get_field('abrevitura_de_linkedin', 'option') ?>" alt="Linkedin" class="linkedin">
|
||||
</a>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
<h1 class="self-start justify-self-center has-extreme-font-size has-white-color has-cinzel-font-family uppercase text-center py-10"
|
||||
style="background-image: url(<?= get_the_post_thumbnail_url() ?>)"><?= get_the_title() ?></h1>
|
||||
</header>
|
||||
Reference in New Issue
Block a user