2021-10-13 14:50:01 +02:00
|
|
|
|
|
|
|
|
|
|
|
<!-- arc-hive header-image insert begins -->
|
|
|
|
<?php
|
|
|
|
$img_src = null;
|
|
|
|
$img_src = $this->getHelperPluginManager()->get('headerImage')->getImage();
|
|
|
|
if (!$img_src) {
|
|
|
|
$img_src = $this->assetUrl('img/default-ARC-HIVE-hero-image.jpg');
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
<style>
|
|
|
|
.arc-page-header-img {
|
|
|
|
content: url("<?= $img_src ?>");
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
<?php
|
|
|
|
?>
|
|
|
|
<!-- arc-hive header-image insert ends -->
|
|
|
|
|
2021-07-09 13:26:08 +02:00
|
|
|
<main class="">
|
2022-02-25 13:04:18 +01:00
|
|
|
<!-- <a href="<?php echo $site->url(); ?>" class="site-brand arc-hive-off"> -->
|
|
|
|
<a href="/" class="site-brand arc-hive-off">
|
2021-07-09 13:26:08 +02:00
|
|
|
<?php if ($this->themeSetting('logo')): ?>
|
|
|
|
<img src="<?php echo $this->themeSettingAssetUrl('logo'); ?>"
|
|
|
|
alt="<?php echo $site->title(); ?>"
|
|
|
|
title="<?php echo $site->title(); ?>"
|
|
|
|
class="logo">
|
|
|
|
<?php else: ?>
|
|
|
|
<img src="<?php echo $this->assetUrl('img/ARC-HIVE-logo.svg');?>"
|
|
|
|
class="logo"
|
|
|
|
title="an arc-hive project"
|
|
|
|
alt="arc-hive logo" />
|
|
|
|
<?php endif; ?>
|
2021-07-28 17:19:59 +02:00
|
|
|
<h1 class="site-name">
|
|
|
|
<?php echo $site->title(); ?>
|
|
|
|
</h1>
|
2021-07-28 17:03:57 +02:00
|
|
|
<h2 class="site-description">
|
|
|
|
an integrative digital bio-art platform
|
|
|
|
</h2>
|
2021-07-09 13:26:08 +02:00
|
|
|
</a>
|
|
|
|
</main>
|
|
|
|
<nav>
|
|
|
|
<menu class="">
|
2021-07-28 17:03:57 +02:00
|
|
|
<?php //
|
2022-03-24 22:42:29 +01:00
|
|
|
echo $site->publicNav()
|
|
|
|
->menu()
|
|
|
|
->setPartial('common/wordpress-menu.phtml')
|
|
|
|
->renderPartialWithParams(['layout' => 'dropdown']);
|
2021-07-09 13:26:08 +02:00
|
|
|
?>
|
|
|
|
</menu>
|
|
|
|
</nav>
|