Attendize/resources/views/Public/ViewEvent/Layouts/EventPage.blade.php

95 lines
3.6 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<!--
_ _ _ _
/\ | | | | | (_)
/ \ | |_| |_ ___ _ __ __| |_ _______ ___ ___ _ __ ___
/ /\ \| __| __/ _ \ '_ \ / _` | |_ / _ \ / __/ _ \| '_ ` _ \
/ ____ \ |_| || __/ | | | (_| | |/ / __/| (_| (_) | | | | | |
/_/ \_\__|\__\___|_| |_|\__,_|_/___\___(_)___\___/|_| |_| |_|
-->
<title>{{{$event->title}}} - Attendize.com</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0">
<link rel="canonical" href="{{$event->event_url}}" />
<!-- Open Graph data -->
<meta property="og:title" content="{{{$event->title}}}" />
<meta property="og:type" content="article" />
<meta property="og:url" content="{{$event->event_url}}?utm_source=fb" />
@if($event->images->count())
<meta property="og:image" content="{{config('attendize.cdn_url_user_assets').'/'.$event->images->first()['image_path']}}" />
@endif
<meta property="og:description" content="{{{Str::words(strip_tags($event->description)), 20}}}" />
<meta property="og:site_name" content="Attendize.com" />
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
@yield('head')
{!!HTML::style(config('attendize.cdn_url_static_assets').'/assets/stylesheet/frontend.css')!!}
<!--Bootstrap placeholder fix-->
<style>
::-webkit-input-placeholder { /* WebKit browsers */
color: #ccc !important;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
color: #ccc !important;
opacity: 1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
color: #ccc !important;
opacity: 1;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
color: #ccc !important;
}
input, select {
color: #999 !important;
}
.btn {
color: #fff !important;
}
</style>
</head>
<body class="attendize">
<div id="event_page_wrap">
@yield('content')
</div>
<a href="#intro" style="display:none;" class="totop"><i class="ico-angle-up"></i>
<span style="font-size:11px;">TOP</span></a>
@if ($event->bg_type == 'color' || Input::get('bg_color_preview'))
<style>body {background-color: {{(Input::get('bg_color_preview') ? '#'.Input::get('bg_color_preview') : $event->bg_color)}} !important; }</style>
@endif
{!!HTML::script(config('attendize.cdn_url_static_assets').'/assets/javascript/frontend.js')!!}
@if (($event->bg_type == 'image' || $event->bg_type == 'custom_image' || Input::get('bg_img_preview')) && !Input::get('bg_color_preview'))
<script>
$(function() {
$.backstretch('{{(Input::get('bg_img_preview') ? '/'.Input::get('bg_img_preview') : config('attendize.cdn_url_static_assets').'/'.$event->bg_image_path)}}');
});
</script>
@endif
@if(isset($secondsToExpire))
<script>if($('#countdown')) {setCountdown($('#countdown'), {{$secondsToExpire}});}</script>
@endif
@include('Shared.Partials.GlobalFooterJS')
</html>