logo detection in header and hero
This commit is contained in:
parent
89bff62c56
commit
6946e8f524
File diff suppressed because one or more lines are too long
|
@ -331,6 +331,7 @@ main {
|
||||||
align-content: center;
|
align-content: center;
|
||||||
align-self: center;
|
align-self: center;
|
||||||
margin: $global-margin auto;
|
margin: $global-margin auto;
|
||||||
|
justify-content: center;
|
||||||
&:first-child {
|
&:first-child {
|
||||||
color: unset;
|
color: unset;
|
||||||
background-color: unset;
|
background-color: unset;
|
||||||
|
|
|
@ -1,17 +1,13 @@
|
||||||
<main class="">
|
<main class="">
|
||||||
<?php if ($this->themeSetting('logo')): ?>
|
|
||||||
<a href="<?php echo $site->url(); ?>" class="site-brand arc-hive-off">
|
<a href="<?php echo $site->url(); ?>" class="site-brand arc-hive-off">
|
||||||
<img src="<?php echo $this->themeSettingAssetUrl('logo'); ?>" alt="<?php echo $site->title(); ?>" title="<?php echo $site->title(); ?>" class="logo">
|
<?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; ?>
|
||||||
<h1 class="site-name"><?php echo $site->title(); ?></h1>
|
<h1 class="site-name"><?php echo $site->title(); ?></h1>
|
||||||
<h2 class="site-description">an integrative digital bio-art platform</h2>
|
<h2 class="site-description">an integrative digital bio-art platform</h2>
|
||||||
</a>
|
</a>
|
||||||
<?php else: ?>
|
|
||||||
<a href="<?php echo $site->url(); ?>" role="banner" class="site-brand">
|
|
||||||
<h1 class="site-name-show"><?php echo $this->pageTitle($site->title()); ?></h1>
|
|
||||||
<h2 class="site-description-show">an integrative digital bio-art platform</h2>
|
|
||||||
</a>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
<nav>
|
<nav>
|
||||||
<menu class="">
|
<menu class="">
|
||||||
|
|
|
@ -1,11 +1,19 @@
|
||||||
<section class="hero omeka">
|
<section class="hero omeka">
|
||||||
<main class="slides">
|
<main class="slides">
|
||||||
<section class="slide">
|
<?php if ($this->themeSetting('logo')): ?>
|
||||||
<p>ARC-HIVE is a curatorial space that gathers artworks that work in the continuum of biomateriality, from DNA, proteins, and cells to full organisms. They can be manipulation, modification or (re)creation of life and living processes.</p>
|
<section class="slide">
|
||||||
<figure>
|
<figure>
|
||||||
<img src="<?php echo $this->themeSettingAssetUrl('logo'); ?>" alt="<?php echo $site->title(); ?>" title="<?php echo $site->title(); ?>" class="logo">
|
<img src="<?php echo $this->themeSettingAssetUrl('logo'); ?>" alt="<?php echo $site->title(); ?>" title="<?php echo $site->title(); ?>" class="logo" />
|
||||||
|
</figure>
|
||||||
|
</section>
|
||||||
|
<?php else: ?>
|
||||||
|
<section class="slide">
|
||||||
|
<!-- <p>ARC-HIVE is a curatorial space that gathers artworks that work in the continuum of biomateriality, from DNA, proteins, and cells to full organisms. They can be manipulation, modification or (re)creation of life and living processes.</p> -->
|
||||||
|
<figure>
|
||||||
|
<img src="<?php echo $this->assetUrl('img/ARC-HIVE-logo.svg');?>" class="logo" title="an arc-hive project" alt="arc-hive logo" />
|
||||||
</figure>
|
</figure>
|
||||||
</section>
|
</section>
|
||||||
|
<?php endif; ?>
|
||||||
</main>
|
</main>
|
||||||
<aside>
|
<aside>
|
||||||
<h2>collections</h2>
|
<h2>collections</h2>
|
||||||
|
|
Loading…
Reference in New Issue