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

85 lines
3.0 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="{{URL::to($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('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>
<style type="text/css">
body {background:none !important;}
body {background:none transparent !important;}
</style>
</head>
<body class="attendize">
@yield('content')
@include("Shared.Partials.LangScript")
{!!HTML::script('assets/javascript/frontend.js')!!}
@if(isset($secondsToExpire))
<script>
// TODO: hardcoded english phrases
if ($('#countdown')) {setCountdown($('#countdown'), {{$secondsToExpire}}); }
</script>
@endif
@include('Shared.Partials.GlobalFooterJS')
</body>
</html>