FEATURE: add basics of template
This commit is contained in:
+27
@@ -0,0 +1,27 @@
|
||||
<section id="{{$page->url}}" style="background-color: #A1A383" class="container content-section text-center">
|
||||
<div class="col-lg-8 col-lg-offset-2">
|
||||
<h2>{{$page->title}}</h2>
|
||||
<p>
|
||||
{!! $page->content !!}
|
||||
</p>
|
||||
|
||||
<form action="#" method="post" class="contact-form text-left">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-5 text-right" style="font-size: 150%">
|
||||
<p><i class="fa fa-fw fa-mobile-phone"></i> +420 123 456 789</p>
|
||||
<p><i class="fa fa-fw fa-envelope-o"></i> ja@blabla.cz</p>
|
||||
</div>
|
||||
<div class="col-lg-7">
|
||||
<input type="text" placeholder="Vaše jméno" id="name" class="form-control">
|
||||
<input type="text" id="email" placeholder="Váš e-mail" class="form-control">
|
||||
|
||||
<textarea name="" placeholder="Obsah zprávy" id="message" class="form-control" cols="30"
|
||||
rows="5"></textarea>
|
||||
|
||||
<input type="submit" class="btn pull-right btn-primary" value="Odeslat e-mail">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
@extendVisitor('layout')
|
||||
|
||||
@section('content')
|
||||
<header class="intro">
|
||||
<div class="intro-body">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<h1 class="brand-heading">{{$page->title}}</h1>
|
||||
<p class="intro-text">{!! $page->content !!}</p>
|
||||
|
||||
@if(isset($extra['pagesRaw']))
|
||||
<a href="#{{reset($extra['pagesRaw'])->url}}" class="btn btn-circle page-scroll">
|
||||
<i class="fa fa-angle-double-down animated"></i>
|
||||
</a>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
@if(isset($extra['pagesHtml']))
|
||||
@foreach($extra['pagesHtml'] as $subpage)
|
||||
{!! $subpage !!}
|
||||
@endforeach
|
||||
@endif
|
||||
@endsection
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
<section id="{{$page->url}}" style="background-color: #C4C0A9" class="container content-section text-center">
|
||||
<div class="col-lg-8 col-lg-offset-2">
|
||||
<h2>{{$page->title}}</h2>
|
||||
<p>{!! $page->content !!}</p>
|
||||
</div>
|
||||
</section>
|
||||
Reference in New Issue
Block a user