From 6c4b30f1f7ec984c9155b0826290ae9270d1d932 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Kv=C3=A1=C4=8Dek?= Date: Sun, 2 Oct 2016 15:14:18 +0200 Subject: [PATCH] FETURE: add default template for static pages --- templates/Binarity/Resources/assets/css/app.css | 1 + .../views/modules/staticpages/visitor/aboutUs.blade.php | 6 ------ .../views/modules/staticpages/visitor/default.blade.php | 7 +++++++ 3 files changed, 8 insertions(+), 6 deletions(-) delete mode 100644 templates/Binarity/Resources/views/modules/staticpages/visitor/aboutUs.blade.php create mode 100644 templates/Binarity/Resources/views/modules/staticpages/visitor/default.blade.php diff --git a/templates/Binarity/Resources/assets/css/app.css b/templates/Binarity/Resources/assets/css/app.css index 1b64d9a3..d4ba193d 100644 --- a/templates/Binarity/Resources/assets/css/app.css +++ b/templates/Binarity/Resources/assets/css/app.css @@ -5631,6 +5631,7 @@ textarea,textarea:focus { width: 650px; height: 76px; position: relative; + margin: 0 auto; } .what-we-know { position: absolute; diff --git a/templates/Binarity/Resources/views/modules/staticpages/visitor/aboutUs.blade.php b/templates/Binarity/Resources/views/modules/staticpages/visitor/aboutUs.blade.php deleted file mode 100644 index c4b03516..00000000 --- a/templates/Binarity/Resources/views/modules/staticpages/visitor/aboutUs.blade.php +++ /dev/null @@ -1,6 +0,0 @@ -@extendVisitor('layout') - -@section('content') - - -@endsection \ No newline at end of file diff --git a/templates/Binarity/Resources/views/modules/staticpages/visitor/default.blade.php b/templates/Binarity/Resources/views/modules/staticpages/visitor/default.blade.php new file mode 100644 index 00000000..b92bc4ee --- /dev/null +++ b/templates/Binarity/Resources/views/modules/staticpages/visitor/default.blade.php @@ -0,0 +1,7 @@ +@extendVisitor('layout') + +@section('content') +

{{$page->title}}

+ + {!! $page->content !!} +@endsection \ No newline at end of file