Compare commits
No commits in common. "6f77deb6eda66092c86415ea40b555185c24bab7" and "c3a7de4cab9ac5181397260c29fd260d768404c1" have entirely different histories.
6f77deb6ed
...
c3a7de4cab
Binary file not shown.
After Width: | Height: | Size: 241 KiB |
|
@ -0,0 +1,16 @@
|
||||||
|
<main class="">
|
||||||
|
<a href="<?php echo $site->url(); ?>" class="site-brand arc-hive-off">
|
||||||
|
<?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>
|
||||||
|
<h2 class="site-description">an integrative digital bio-art platform</h2>
|
||||||
|
</a>
|
||||||
|
</main>
|
||||||
|
<nav>
|
||||||
|
<menu class="">
|
||||||
|
<?php echo $site->publicNav()->menu()->setPartial('common/foundation-navigation.phtml')->renderPartialWithParams(['layout' => 'dropdown']); ?>
|
||||||
|
</menu>
|
||||||
|
</nav>
|
|
@ -1,36 +0,0 @@
|
||||||
<main class="">
|
|
||||||
<a href="<?php echo $site->url(); ?>" class="site-brand arc-hive-off">
|
|
||||||
<?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>
|
|
||||||
<h2 class="site-description">an integrative digital bio-art platform</h2>
|
|
||||||
</a>
|
|
||||||
</main>
|
|
||||||
<nav>
|
|
||||||
<menu class="">
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
Este menu no lo genera Omeka.
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
Creo que emula el menu del wordpress.
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<?php /*
|
|
||||||
echo $site->publicNav()
|
|
||||||
->menu()
|
|
||||||
->setPartial('common/foundation-navigation.phtml')
|
|
||||||
->renderPartialWithParams(['layout' => 'dropdown']);
|
|
||||||
*/
|
|
||||||
?>
|
|
||||||
</menu>
|
|
||||||
</nav>
|
|
|
@ -1,33 +0,0 @@
|
||||||
<main class="">
|
|
||||||
<a href="<?php echo $site->url(); ?>" class="site-brand arc-hive-off">
|
|
||||||
<?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>
|
|
||||||
<h2 class="site-description">an integrative digital bio-art platform</h2>
|
|
||||||
</a>
|
|
||||||
</main>
|
|
||||||
<nav>
|
|
||||||
<menu class="">
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
Segun el diseño, este menu no existe
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<?php /*
|
|
||||||
echo $site->publicNav()
|
|
||||||
->menu()
|
|
||||||
->setPartial('common/foundation-navigation.phtml')
|
|
||||||
->renderPartialWithParams(['layout' => 'dropdown']);
|
|
||||||
*/
|
|
||||||
?>
|
|
||||||
</menu>
|
|
||||||
</nav>
|
|
|
@ -3,31 +3,21 @@
|
||||||
<?php if ($this->themeSetting('logo')): ?>
|
<?php if ($this->themeSetting('logo')): ?>
|
||||||
<section class="slide">
|
<section class="slide">
|
||||||
<figure>
|
<figure>
|
||||||
<img src="<?php echo $this->themeSettingAssetUrl('logo'); ?>"
|
<img src="<?php echo $this->themeSettingAssetUrl('logo'); ?>" alt="<?php echo $site->title(); ?>" title="<?php echo $site->title(); ?>" class="logo" />
|
||||||
alt="<?php echo $site->title(); ?>"
|
|
||||||
title="<?php echo $site->title(); ?>"
|
|
||||||
class="logo" />
|
|
||||||
</figure>
|
</figure>
|
||||||
</section>
|
</section>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<section class="slide">
|
<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> -->
|
<!-- <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>
|
<figure>
|
||||||
<img src="<?php echo $this->assetUrl('img/ARC-HIVE-logo.svg');?>"
|
<img src="<?php echo $this->assetUrl('img/ARC-HIVE-logo.svg');?>" class="logo" title="an arc-hive project" alt="arc-hive logo" />
|
||||||
class="logo"
|
|
||||||
title="an arc-hive project"
|
|
||||||
alt="arc-hive logo" />
|
|
||||||
</figure>
|
</figure>
|
||||||
</section>
|
</section>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
<aside>
|
<aside>
|
||||||
<h2>
|
<h2>collections</h2>
|
||||||
<a href="<?= $this->site->url() ?>">
|
|
||||||
<?= $this->site->title() ?>
|
|
||||||
</a>
|
|
||||||
</h2>
|
|
||||||
<?php echo $this->partial('common/search-form.phtml'); ?>
|
<?php echo $this->partial('common/search-form.phtml'); ?>
|
||||||
|
|
||||||
</aside>
|
</aside>
|
|
@ -1,27 +0,0 @@
|
||||||
<section class="hero omeka">
|
|
||||||
<main class="slides">
|
|
||||||
<section class="slide">
|
|
||||||
<figure>
|
|
||||||
<img class="arc-page-header-img"
|
|
||||||
title="an arc-hive project"
|
|
||||||
alt="collection logo" />
|
|
||||||
</figure>
|
|
||||||
</section>
|
|
||||||
</main>
|
|
||||||
<aside>
|
|
||||||
<h2>
|
|
||||||
<a href="<?= $this->site->url() ?>">
|
|
||||||
<?= $this->site->title() ?>
|
|
||||||
</a>
|
|
||||||
</h2>
|
|
||||||
<?php
|
|
||||||
echo $site->publicNav()
|
|
||||||
->menu()
|
|
||||||
->setPartial('common/foundation-navigation.phtml')
|
|
||||||
->renderPartialWithParams(['layout' => 'dropdown']);
|
|
||||||
|
|
||||||
?>
|
|
||||||
<?php echo $this->partial('common/search-form.phtml'); ?>
|
|
||||||
|
|
||||||
</aside>
|
|
||||||
</section>
|
|
|
@ -31,12 +31,11 @@ if ($userBar) {
|
||||||
$this->htmlElement('body')->appendAttribute('class', 'user-bar');
|
$this->htmlElement('body')->appendAttribute('class', 'user-bar');
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
$logo = $this->themeSettingAssetUrl('logo');
|
$logo = $this->themeSettingAssetUrl('logo');
|
||||||
if ($logo):
|
if ($logo):
|
||||||
$titlelogo = '<img class="site-logo" src="' . $this->escapeHtml($logo) . '"' . 'alt="' . $site->title() . '"' . '>';
|
$titlelogo = '<img class="site-logo" src="' . $this->escapeHtml($logo) . '"' . 'alt="' . $site->title() . '"' . '>';
|
||||||
endif;
|
endif;
|
||||||
*/
|
|
||||||
?>
|
?>
|
||||||
<?php echo $this->doctype(); ?>
|
<?php echo $this->doctype(); ?>
|
||||||
<?php echo $this->htmlElement('html'); ?>
|
<?php echo $this->htmlElement('html'); ?>
|
||||||
|
@ -53,22 +52,10 @@ endif;
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
<?php echo $userBar; ?>
|
<?php echo $userBar; ?>
|
||||||
<?php
|
<?php echo $this->partial('common/header-archive'); ?>
|
||||||
if ($site->title() == "Collections") {
|
|
||||||
echo $this->partial('common/header-collections');
|
|
||||||
} else {
|
|
||||||
echo $this->partial('common/header-default');
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<?php
|
<?php echo $this->partial('common/hero-archive.phtml'); ?>
|
||||||
if ($site->title() == "Collections") {
|
|
||||||
echo $this->partial('common/hero-collections');
|
|
||||||
} else {
|
|
||||||
echo $this->partial('common/hero-default');
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
<article>
|
<article>
|
||||||
|
|
|
@ -5,24 +5,39 @@ $showPagePagination = $this->siteSetting('show_page_pagination', true);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- arc-hive insert begins -->
|
||||||
<!-- arc-hive page header-image insert begins -->
|
|
||||||
<?php
|
<?php
|
||||||
$img_src = null;
|
//$site->pages();
|
||||||
$img_src = $this->getHelperPluginManager()->get('headerImage')->getImage($page);
|
$img_src = $this->getHelperPluginManager()->get('headerImage')->getImage($page);
|
||||||
if (!$img_src) {
|
if (!$img_src) {
|
||||||
$img_src = $this->assetUrl('img/ARC-HIVE-logo.svg');
|
$img_src = '/themes/archive/asset/img/default-header-image.jpg';
|
||||||
|
}
|
||||||
|
if ($this->site->title() == "Collections") {
|
||||||
|
$image_height = "300px";
|
||||||
|
} else {
|
||||||
|
$image_height = "200px";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<style>
|
<style>
|
||||||
.arc-page-header-img {
|
#archive_header_img {
|
||||||
content: url("<?= $img_src ?>");
|
background: url("<?= $img_src ?>") no-repeat;
|
||||||
|
width: 100%;
|
||||||
|
height: <?= $image_height ?>;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<script>
|
||||||
<?php
|
<?php
|
||||||
|
$_html = '<a href="'.$this->site->url().'">'.$this->site->title().'</a>';
|
||||||
?>
|
?>
|
||||||
|
$("#archive_page_title").html('<?php echo $_html ?>');
|
||||||
|
</script>
|
||||||
|
<!-- arc-hive insert ends -->
|
||||||
|
|
||||||
<!-- arc-hive page header-image insert ends -->
|
<?php /*
|
||||||
|
echo $page->id();
|
||||||
|
$this->pageTitle($page->title());
|
||||||
|
*/
|
||||||
|
?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$nav = $site->publicNav();
|
$nav = $site->publicNav();
|
||||||
|
|
Loading…
Reference in New Issue