Compare commits

..

No commits in common. "6f77deb6eda66092c86415ea40b555185c24bab7" and "c3a7de4cab9ac5181397260c29fd260d768404c1" have entirely different histories.

8 changed files with 53 additions and 141 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 241 KiB

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -3,31 +3,21 @@
<?php if ($this->themeSetting('logo')): ?>
<section class="slide">
<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" />
<img src="<?php echo $this->assetUrl('img/ARC-HIVE-logo.svg');?>" class="logo" title="an arc-hive project" alt="arc-hive logo" />
</figure>
</section>
<?php endif; ?>
</main>
<aside>
<h2>
<a href="<?= $this->site->url() ?>">
<?= $this->site->title() ?>
</a>
</h2>
<h2>collections</h2>
<?php echo $this->partial('common/search-form.phtml'); ?>
</aside>

View File

@ -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>

View File

@ -31,12 +31,11 @@ if ($userBar) {
$this->htmlElement('body')->appendAttribute('class', 'user-bar');
}
/*
$logo = $this->themeSettingAssetUrl('logo');
if ($logo):
$titlelogo = '<img class="site-logo" src="' . $this->escapeHtml($logo) . '"' . 'alt="' . $site->title() . '"' . '>';
endif;
*/
?>
<?php echo $this->doctype(); ?>
<?php echo $this->htmlElement('html'); ?>
@ -53,22 +52,10 @@ endif;
<header>
<?php echo $userBar; ?>
<?php
if ($site->title() == "Collections") {
echo $this->partial('common/header-collections');
} else {
echo $this->partial('common/header-default');
}
?>
<?php echo $this->partial('common/header-archive'); ?>
</header>
<?php
if ($site->title() == "Collections") {
echo $this->partial('common/hero-collections');
} else {
echo $this->partial('common/hero-default');
}
?>
<?php echo $this->partial('common/hero-archive.phtml'); ?>
<main>
<article>

View File

@ -5,24 +5,39 @@ $showPagePagination = $this->siteSetting('show_page_pagination', true);
?>
<!-- arc-hive page header-image insert begins -->
<!-- arc-hive insert begins -->
<?php
$img_src = null;
//$site->pages();
$img_src = $this->getHelperPluginManager()->get('headerImage')->getImage($page);
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>
.arc-page-header-img {
content: url("<?= $img_src ?>");
#archive_header_img {
background: url("<?= $img_src ?>") no-repeat;
width: 100%;
height: <?= $image_height ?>;
}
</style>
<script>
<?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
$nav = $site->publicNav();