FEATURE: add basic template for dobrotyzpece.cz
@@ -1,21 +0,0 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014 Materialize
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
Before Width: | Height: | Size: 97 KiB |
|
Before Width: | Height: | Size: 183 KiB |
|
Before Width: | Height: | Size: 172 KiB |
@@ -1,10 +0,0 @@
|
||||
(function ($)
|
||||
{
|
||||
$(function ()
|
||||
{
|
||||
$('.button-collapse').sideNav();
|
||||
$('.parallax').parallax();
|
||||
$('.slider').slider({full_width: true});
|
||||
$('textarea').trigger('autoresize');
|
||||
}); // end of document ready
|
||||
})(jQuery); // end of jQuery namespace
|
||||
@@ -0,0 +1,82 @@
|
||||
<?php
|
||||
namespace Templates\DobrotyZPece;
|
||||
|
||||
use App\Http\Requests\Request;
|
||||
use App\Models\Content;
|
||||
use App\Models\Module;
|
||||
use App\Models\WidgetArea;
|
||||
use Illuminate\Support\Facades\Artisan;
|
||||
use Templates\Base\OnePage\Handlers\OnePage;
|
||||
|
||||
class Handler extends OnePage
|
||||
{
|
||||
/**
|
||||
* Modify input data into format which can be understood by edit template
|
||||
*
|
||||
* @param Content $content
|
||||
*/
|
||||
public static function beforePopulatingEditForm(Content & $content)
|
||||
{
|
||||
// nothing to do
|
||||
}
|
||||
|
||||
/**
|
||||
* Slightly modify Content object before saving into database.
|
||||
*
|
||||
* This way we can do almost whatever we want - even in template
|
||||
*
|
||||
* @param Content $content
|
||||
* @param Request $request
|
||||
*/
|
||||
public static function beforeSave(Content & $content, Request $request)
|
||||
{
|
||||
// nothing to do
|
||||
}
|
||||
|
||||
/**
|
||||
* Install template
|
||||
*/
|
||||
public static function install()
|
||||
{
|
||||
parent::install();
|
||||
|
||||
try {
|
||||
Artisan::call('install-module', ['name' => 'StaticPages']);
|
||||
Artisan::call('install-module', ['name' => 'ContactForm']);
|
||||
} catch (\Exception $e) {
|
||||
// ignore message about these modules being installed
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Get list of registered templates and supported modules.
|
||||
*
|
||||
* Returned array is expected to be array of arrays with following items: module, namespace and templateName.
|
||||
* Example:
|
||||
* return [
|
||||
* ['module' => 'Article', 'templateName' => 'article::template.name']
|
||||
* ];
|
||||
*
|
||||
* When no "namespace" is specified, value strtolower(module) is used instaed.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public static function getPublicTemplatePaths()
|
||||
{
|
||||
return [
|
||||
[
|
||||
'module' => 'StaticPages',
|
||||
'templateName' => 'staticpages::admin.templatePath'
|
||||
],
|
||||
[
|
||||
'module' => 'ContactForm',
|
||||
'templateName' => 'contactform::admin/adminMenu.templatePath'
|
||||
]
|
||||
];
|
||||
}
|
||||
|
||||
public static function uninstall(Module $template)
|
||||
{
|
||||
parent::uninstall($template);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
namespace Templates\DobrotyZPece\Providers;
|
||||
|
||||
use App\Helpers\Template;
|
||||
use Illuminate\Support\Facades\App;
|
||||
use Templates\Base\OnePage\Widgets\OnePageMenu\Presenter;
|
||||
use Templates\DobrotyZPece\Shortcodes\Column;
|
||||
use Webwizo\Shortcodes\Facades\Shortcode;
|
||||
|
||||
class ServiceProvider extends \Illuminate\Support\ServiceProvider {
|
||||
/**
|
||||
* Register the service provider.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function register()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function boot() {
|
||||
if (App::runningInConsole())
|
||||
return;
|
||||
|
||||
Shortcode::register('column', Column::class);
|
||||
|
||||
Presenter::$template = Template::name('snippets.menu');
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 7.6 MiB After Width: | Height: | Size: 7.6 MiB |
|
Before Width: | Height: | Size: 502 KiB After Width: | Height: | Size: 502 KiB |
|
Before Width: | Height: | Size: 6.7 MiB After Width: | Height: | Size: 6.7 MiB |
|
Before Width: | Height: | Size: 8.1 MiB After Width: | Height: | Size: 8.1 MiB |
|
Before Width: | Height: | Size: 6.0 MiB After Width: | Height: | Size: 6.0 MiB |
|
Before Width: | Height: | Size: 6.9 MiB After Width: | Height: | Size: 6.9 MiB |
|
Before Width: | Height: | Size: 8.8 MiB After Width: | Height: | Size: 8.8 MiB |
|
Before Width: | Height: | Size: 5.6 MiB After Width: | Height: | Size: 5.6 MiB |
|
Before Width: | Height: | Size: 501 KiB After Width: | Height: | Size: 501 KiB |
|
Before Width: | Height: | Size: 5.6 MiB After Width: | Height: | Size: 5.6 MiB |
|
Before Width: | Height: | Size: 500 KiB After Width: | Height: | Size: 500 KiB |
|
Before Width: | Height: | Size: 5.7 MiB After Width: | Height: | Size: 5.7 MiB |
|
Before Width: | Height: | Size: 502 KiB After Width: | Height: | Size: 502 KiB |
|
Before Width: | Height: | Size: 5.0 MiB After Width: | Height: | Size: 5.0 MiB |
@@ -1,7 +1,7 @@
|
||||
body * { font-family: 'Lato', Helvetica, Arial, sans-serif; font-weight: 300;}
|
||||
|
||||
nav { position: absolute; z-index: 1000; box-shadow: none; padding-top: 15px;}
|
||||
nav ul:not(#nav-mobile) a { color: #ffffff; font-weight: 700; text-shadow: 1px 1px 1px #000000; font-size: 1.5rem; margin-left: 3px;}
|
||||
nav ul:not(.nav-mobile) a { color: #ffffff; font-weight: 700; text-shadow: 1px 1px 1px #000000; font-size: 1.5rem; margin-left: 3px;}
|
||||
nav ul a:hover, .slider .indicators .indicator-item.active { background-color: #fe9205;}
|
||||
|
||||
#slider-overlay-header {
|
||||
@@ -10,6 +10,9 @@ nav ul a:hover, .slider .indicators .indicator-item.active { background-color: #
|
||||
}
|
||||
#slider-overlay-header span { text-transform: uppercase; display: block; clear: both; color: #fe9205; margin-top: -1.5rem; font-weight: 300; }
|
||||
|
||||
img {
|
||||
max-width:100%;
|
||||
}
|
||||
p {line-height: 2rem; font-size: 1.1rem; color: rgb(19, 15, 14);}
|
||||
h2 {font-size: 4rem; color: rgb(19, 15, 14);}
|
||||
h3 {font-size: 2.7rem; color: rgb(19, 15, 14);}
|
||||
|
Before Width: | Height: | Size: 322 KiB After Width: | Height: | Size: 322 KiB |
|
Before Width: | Height: | Size: 1.6 MiB After Width: | Height: | Size: 1.6 MiB |
|
Before Width: | Height: | Size: 6.0 MiB After Width: | Height: | Size: 6.0 MiB |
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 4.4 MiB After Width: | Height: | Size: 4.4 MiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 4.9 MiB After Width: | Height: | Size: 4.9 MiB |
@@ -0,0 +1,17 @@
|
||||
(function ($) {
|
||||
$ (function () {
|
||||
$ ('.button-collapse').sideNav ();
|
||||
$ ('.parallax').parallax ();
|
||||
$ ('.slider').slider ({full_width: true});
|
||||
$ ('textarea').trigger ('autoresize');
|
||||
});
|
||||
|
||||
$('a.page-scroll').bind('click', function(event) {
|
||||
var $anchor = $(this);
|
||||
$('html, body').stop().animate({
|
||||
scrollTop: $($anchor.attr('href')).offset().top
|
||||
}, 1500, 'easeInOutExpo');
|
||||
event.preventDefault();
|
||||
});
|
||||
|
||||
}) (jQuery);
|
||||
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
|
||||
*
|
||||
* Uses the built in easing capabilities added In jQuery 1.1
|
||||
* to offer multiple easing options
|
||||
*
|
||||
* TERMS OF USE - EASING EQUATIONS
|
||||
*
|
||||
* Open source under the BSD License.
|
||||
*
|
||||
* Copyright © 2001 Robert Penner
|
||||
* All rights reserved.
|
||||
*
|
||||
* TERMS OF USE - jQuery Easing
|
||||
*
|
||||
* Open source under the BSD License.
|
||||
*
|
||||
* Copyright © 2008 George McGinley Smith
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification,
|
||||
* are permitted provided that the following conditions are met:
|
||||
*
|
||||
* Redistributions of source code must retain the above copyright notice, this list of
|
||||
* conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above copyright notice, this list
|
||||
* of conditions and the following disclaimer in the documentation and/or other materials
|
||||
* provided with the distribution.
|
||||
*
|
||||
* Neither the name of the author nor the names of contributors may be used to endorse
|
||||
* or promote products derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
|
||||
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*/
|
||||
jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,f,a,h,g){return jQuery.easing[jQuery.easing.def](e,f,a,h,g)},easeInQuad:function(e,f,a,h,g){return h*(f/=g)*f+a},easeOutQuad:function(e,f,a,h,g){return -h*(f/=g)*(f-2)+a},easeInOutQuad:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f+a}return -h/2*((--f)*(f-2)-1)+a},easeInCubic:function(e,f,a,h,g){return h*(f/=g)*f*f+a},easeOutCubic:function(e,f,a,h,g){return h*((f=f/g-1)*f*f+1)+a},easeInOutCubic:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f+a}return h/2*((f-=2)*f*f+2)+a},easeInQuart:function(e,f,a,h,g){return h*(f/=g)*f*f*f+a},easeOutQuart:function(e,f,a,h,g){return -h*((f=f/g-1)*f*f*f-1)+a},easeInOutQuart:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f*f+a}return -h/2*((f-=2)*f*f*f-2)+a},easeInQuint:function(e,f,a,h,g){return h*(f/=g)*f*f*f*f+a},easeOutQuint:function(e,f,a,h,g){return h*((f=f/g-1)*f*f*f*f+1)+a},easeInOutQuint:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f*f*f+a}return h/2*((f-=2)*f*f*f*f+2)+a},easeInSine:function(e,f,a,h,g){return -h*Math.cos(f/g*(Math.PI/2))+h+a},easeOutSine:function(e,f,a,h,g){return h*Math.sin(f/g*(Math.PI/2))+a},easeInOutSine:function(e,f,a,h,g){return -h/2*(Math.cos(Math.PI*f/g)-1)+a},easeInExpo:function(e,f,a,h,g){return(f==0)?a:h*Math.pow(2,10*(f/g-1))+a},easeOutExpo:function(e,f,a,h,g){return(f==g)?a+h:h*(-Math.pow(2,-10*f/g)+1)+a},easeInOutExpo:function(e,f,a,h,g){if(f==0){return a}if(f==g){return a+h}if((f/=g/2)<1){return h/2*Math.pow(2,10*(f-1))+a}return h/2*(-Math.pow(2,-10*--f)+2)+a},easeInCirc:function(e,f,a,h,g){return -h*(Math.sqrt(1-(f/=g)*f)-1)+a},easeOutCirc:function(e,f,a,h,g){return h*Math.sqrt(1-(f=f/g-1)*f)+a},easeInOutCirc:function(e,f,a,h,g){if((f/=g/2)<1){return -h/2*(Math.sqrt(1-f*f)-1)+a}return h/2*(Math.sqrt(1-(f-=2)*f)+1)+a},easeInElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k)==1){return e+l}if(!j){j=k*0.3}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}return -(g*Math.pow(2,10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j))+e},easeOutElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k)==1){return e+l}if(!j){j=k*0.3}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}return g*Math.pow(2,-10*h)*Math.sin((h*k-i)*(2*Math.PI)/j)+l+e},easeInOutElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k/2)==2){return e+l}if(!j){j=k*(0.3*1.5)}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}if(h<1){return -0.5*(g*Math.pow(2,10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j))+e}return g*Math.pow(2,-10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j)*0.5+l+e},easeInBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}return i*(f/=h)*f*((g+1)*f-g)+a},easeOutBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}return i*((f=f/h-1)*f*((g+1)*f+g)+1)+a},easeInOutBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}if((f/=h/2)<1){return i/2*(f*f*(((g*=(1.525))+1)*f-g))+a}return i/2*((f-=2)*f*(((g*=(1.525))+1)*f+g)+2)+a},easeInBounce:function(e,f,a,h,g){return h-jQuery.easing.easeOutBounce(e,g-f,0,h,g)+a},easeOutBounce:function(e,f,a,h,g){if((f/=g)<(1/2.75)){return h*(7.5625*f*f)+a}else{if(f<(2/2.75)){return h*(7.5625*(f-=(1.5/2.75))*f+0.75)+a}else{if(f<(2.5/2.75)){return h*(7.5625*(f-=(2.25/2.75))*f+0.9375)+a}else{return h*(7.5625*(f-=(2.625/2.75))*f+0.984375)+a}}}},easeInOutBounce:function(e,f,a,h,g){if(f<g/2){return jQuery.easing.easeInBounce(e,f*2,0,h,g)*0.5+a}return jQuery.easing.easeOutBounce(e,f*2-g,0,h,g)*0.5+h*0.5+a}});
|
||||
@@ -0,0 +1,23 @@
|
||||
<div id="{{$page->url}}" class="parallax-container valign-wrapper">
|
||||
<div class="section no-pad-bot">
|
||||
<div class="container">
|
||||
<div class="row center">
|
||||
<h2 class="center bold italic white-text">{{$page->title}}</h2>
|
||||
<h3 class="center italic row m-b-5rem white-text">
|
||||
{{$page->meta_description}}
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="parallax"><img src="@upload($page->title_photo)" alt=""></div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="section">
|
||||
<div class="row">
|
||||
<div class="col s12 center">
|
||||
{!! $page->content !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,31 @@
|
||||
@extendVisitor('layout')
|
||||
|
||||
@section('content')
|
||||
<div id="index-banner" class="parallax-container">
|
||||
<div class="slider fullscreen" style="height: 100%;">
|
||||
<h1 id="slider-overlay-header">Dobroty <span>z pece</span></h1>
|
||||
<ul class="slides">
|
||||
@foreach($page->files as $image)
|
||||
<li><img src="@upload($image->filename)" alt=""></li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container" id="slide-up-items">
|
||||
<div class="section">
|
||||
|
||||
<div class="row">
|
||||
<h2 class="center bold italic">{{$page->title}}</h2>
|
||||
{!! $page->content !!}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@if(isset($extra['pagesHtml']))
|
||||
@foreach($extra['pagesHtml'] as $subpage)
|
||||
{!! $subpage !!}
|
||||
@endforeach
|
||||
@endif
|
||||
@endsection
|
||||
@@ -0,0 +1,95 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no"/>
|
||||
<meta name="description" content="{{setting('metaDescription')}}">
|
||||
<meta name="keywords" content="{{setting('metaKeywords')}}">
|
||||
<meta name="author" content="{{setting('author')}}">
|
||||
|
||||
<title>{{setting('pageName')}}</title>
|
||||
|
||||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
||||
<link href='https://fonts.googleapis.com/css?family=Lato:300,700italic,700,300italic&subset=latin-ext' rel='stylesheet' type='text/css'>
|
||||
<link href="{{asset_path('visitor/css/materialize.css')}}" type="text/css" rel="stylesheet" media="screen,projection"/>
|
||||
<link href="{{asset_path('visitor/css/style.css')}}" type="text/css" rel="stylesheet" media="screen,projection"/>
|
||||
|
||||
@if(!empty(setting('googleAnalyticsCode')))
|
||||
<script>
|
||||
(function (i, s, o, g, r, a, m) {
|
||||
i['GoogleAnalyticsObject'] = r;
|
||||
i[r] = i[r] || function () {
|
||||
(i[r].q = i[r].q || []).push (arguments)
|
||||
}, i[r].l = 1 * new Date ();
|
||||
a = s.createElement (o),
|
||||
m = s.getElementsByTagName (o)[0];
|
||||
a.async = 1;
|
||||
a.src = g;
|
||||
m.parentNode.insertBefore (a, m)
|
||||
}) (window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
|
||||
|
||||
ga ('create', '{{setting('googleAnalyticsCode')}}', 'auto');
|
||||
ga ('send', 'pageview');
|
||||
|
||||
</script>
|
||||
@endif
|
||||
</head>
|
||||
<body>
|
||||
@widgetArea('topMenu')
|
||||
|
||||
@yield('content')
|
||||
|
||||
<footer class="page-footer grey lighten-2">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col l6 s12">
|
||||
<form class="col s12">
|
||||
<h5>Kontaktujte nás</h5>
|
||||
<div class="input-field s12">
|
||||
<input id="email" type="email" class="validate">
|
||||
<label for="email">Váš e-mail</label>
|
||||
</div>
|
||||
<div class="input-field s12">
|
||||
<textarea id="message" class="materialize-textarea validate"></textarea>
|
||||
<label for="message">Textarea</label>
|
||||
</div>
|
||||
<button class="btn orange waves-effect waves-light" type="submit" name="action">Submit
|
||||
<i class="material-icons right">send</i>
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
<div class="col l3 s12">
|
||||
<h5>Menu</h5>
|
||||
<ul class="">
|
||||
<li><a href="#!">O nás</a></li>
|
||||
<li><a href="#">Novinky</a></li>
|
||||
<li><a href="#">Akce</a></li>
|
||||
<li><a href="#">Kontakt</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col l3 s12">
|
||||
<h5>Firma</h5>
|
||||
<span>Dobroty z pece</span>
|
||||
<span>ICO</span>
|
||||
<span>Adresa</span>
|
||||
<span>email@dobrotyzpece.cz</span>
|
||||
<p>www.dobrotyzpece.cz</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer-copyright">
|
||||
<div class="container grey-text">
|
||||
Copyright © <a class="amber-text text-darken-3" href="https://www.binarity.cz/">www.binarity.cz</a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
|
||||
<!-- Scripts-->
|
||||
<script src="{{asset_path('visitor/js/jquery.min.js')}}"></script>
|
||||
<script src="{{asset_path('visitor/js/materialize.js')}}"></script>
|
||||
<script src="{{asset_path('visitor/js/jquery.easing.min.js')}}"></script>
|
||||
<script src="{{asset_path('visitor/js/init.js')}}"></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,18 @@
|
||||
<nav class="transparent" role="navigation">
|
||||
<div class="nav-wrapper container">
|
||||
<a id="logo-container" href="#" class="brand-logo">
|
||||
<img src="{{asset_path('visitor/images/pec_logo.png')}}" style="height: 54px; width: auto; margin-top: 5px;">
|
||||
</a>
|
||||
<ul class="right hide-on-med-and-down">
|
||||
@foreach($pages as $page)
|
||||
<li><a href="#{{$page->url}}" class="page-scroll">{{$page->title}}</a></li>
|
||||
@endforeach
|
||||
</ul>
|
||||
<ul class="side-nav" id="nav-mobile">
|
||||
@foreach($pages as $page)
|
||||
<li><a href="#{{$page->url}}" class="page-scroll">{{$page->title}}</a></li>
|
||||
@endforeach
|
||||
</ul>
|
||||
<a href="#" data-activates="nav-mobile" class="button-collapse amber-text"><i class="material-icons">menu</i></a>
|
||||
</div>
|
||||
</nav>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
namespace Templates\DobrotyZPece\Shortcodes;
|
||||
|
||||
class Column {
|
||||
public function register($shortcode, $content, $compiler, $name) {
|
||||
$content = str_replace('<div>', '', $content);
|
||||
$content = str_replace('</div>', '', $content);
|
||||
$code = '<div class="col s12 m4">
|
||||
' . $content . '
|
||||
</div>';
|
||||
|
||||
return $code;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
$config = include_once __DIR__ . '/../Base/OnePage/config.php';
|
||||
|
||||
// override some values
|
||||
$config['handler'] = \Templates\DobrotyZPece\Handler::class;
|
||||
$config['alias'] = 'dobrotyzpece';
|
||||
$config['name'] = "Dobroty z pece";
|
||||
$config['providers'][] = \Templates\DobrotyZPece\Providers\ServiceProvider::class;
|
||||
|
||||
return $config;
|
||||