mirror of
https://github.com/flextype/flextype.git
synced 2025-08-13 00:24:15 +02:00
Flextype Slim Integration - next round of integration
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
<?php namespace Flextype ?>
|
||||
<?php Themes::view('partials/tail')->display() ?>
|
||||
<div class="powered">
|
||||
Powered by <a href="http://flextype.org">Flextype</a>
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
@@ -1,15 +0,0 @@
|
||||
<?php namespace Flextype ?>
|
||||
<?php use Flextype\Component\{Http\Http, Registry\Registry, Arr\Arr} ?>
|
||||
<nav class="navbar navbar-expand-lg navbar-light bg-white border-bottom box-shadow">
|
||||
<div class="container">
|
||||
<a class="navbar-brand" href="<?= Http::getBaseUrl() ?>"><?= Registry::get('settings.title') ?></a>
|
||||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse justify-content-end" id="navbarNav">
|
||||
<ul class="navbar-nav">
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
@@ -1,12 +0,0 @@
|
||||
<?php namespace Flextype ?>
|
||||
<?php use Flextype\Component\{Event\Event, Http\Http, Registry\Registry, Assets\Assets} ?>
|
||||
<?php Assets::add('js', Http::getBaseUrl() . '/site/themes/' . Registry::get('settings.theme') . '/assets/dist/js/default.min.js', 'site', 1) ?>
|
||||
<?php $assets_site = Assets::get('js', 'site') ?>
|
||||
<?php if (count($assets_site) > 0): ?>
|
||||
<?php foreach ($assets_site as $assets_by_priorities): ?>
|
||||
<?php foreach ($assets_by_priorities as $assets): ?>
|
||||
<script src="<?= $assets['asset'] ?>"></script>
|
||||
<?php endforeach ?>
|
||||
<?php endforeach ?>
|
||||
<?php endif ?>
|
||||
<?php Event::dispatch('onThemeFooter') ?>
|
Reference in New Issue
Block a user