diff --git a/website/.env b/website/.env index dfb2cf0e..9eb67a53 100644 --- a/website/.env +++ b/website/.env @@ -1,7 +1,7 @@ APP_NAME="NH Gooi" -APP_ENV=development +APP_ENV=local APP_KEY=I@#323ddu3dN(@#d(NU@#U2ij2dd4RJE -APP_DEBUG=false +APP_DEBUG=true APP_LOG_LEVEL=error APP_URL=http://localhost IMAGE_BASE_URL=https://nhgooi.nl/ diff --git a/website/app/Http/Controllers/Controller.php b/website/app/Http/Controllers/Controller.php index 29942e39..acca15f1 100644 --- a/website/app/Http/Controllers/Controller.php +++ b/website/app/Http/Controllers/Controller.php @@ -67,7 +67,7 @@ class Controller extends BaseController protected function registerView(Request $request, $type, $id) { - if(config('app.debug')) { + if(config('app.env') == 'local') { return; } diff --git a/website/app/Http/Controllers/RadioController.php b/website/app/Http/Controllers/RadioController.php index dc0902fa..8c5fa4cf 100644 --- a/website/app/Http/Controllers/RadioController.php +++ b/website/app/Http/Controllers/RadioController.php @@ -29,7 +29,8 @@ class RadioController extends Controller public function onair() { - return response()->json($this->API('programma/schema/onair?nonstop=1')); + $data = $this->API('programma/schema/onair'); + return response()->json($data); } public function program($id) diff --git a/website/public/css/nhgooi.css b/website/public/css/nhgooi.css index 9f5c1a8f..ab65b52c 100644 --- a/website/public/css/nhgooi.css +++ b/website/public/css/nhgooi.css @@ -8,53 +8,87 @@ h1 a, h2 a, h3 a, h4 a, h5 a, h6 a color: #1F3977; } - @media screen and (max-width:767px) { +/* + .menu_container.sticky.move, + .boxed .menu_container.sticky.move + { + position: fixed; + top: 0pt; + left: 0px; + box-shadow: none; + -moz-box-shadow: none; + -webkit-box-shadow: none; + } + + .sticky.move .mobile-menu-switch { + margin-left: 0px; + } + + .sticky.move .mobile-menu { + background-color: #F0F0F0; + } +*/ + .row .column { width: 100%; } - .header .placeholder .controls li a { + .header .now-playing-header { + width: 100% !important; + margin-top: 30px !important; + } + + .header .now-playing-header .controls li a { width: 30px; } - .header .placeholder .controls li a label { + .header .now-playing-header .controls li a label { display: none; } } -.header .placeholder { +.header .now-playing-header { + float: right; + font-size: 16pt; + font-family: 'Roboto Condensed'; + font-weight: 300; + background: #F6F6F6; + width: 728px; + color: #787878; + text-align: center; + display: block; position: relative; margin: 0; padding-top: 10px; - padding-bottom: 10px; - height: 90px; + padding-bottom: 30px; } - .header .placeholder .title, - .header .placeholder .artist { - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; + .header .now-playing-header .title, + .header .now-playing-header .artist { + + padding: 3px; } - .header .placeholder .title { + .header .now-playing-header .title { font-weight: bold; + font-size: 120%; } - .header .placeholder .controls { + .header .now-playing-header .controls { font-size: 75%; bottom: 0; position: absolute; + padding: 3px; width: 100%; } - .header .placeholder .controls li { + .header .now-playing-header .controls li { display: inline-block; } - .header .placeholder .controls li a { + .header .now-playing-header .controls li a { line-height: 120%; font-size: 80%; color: #ABABAB; @@ -64,7 +98,7 @@ h1 a, h2 a, h3 a, h4 a, h5 a, h6 a margin-right: 5px; } - .header .placeholder .controls li a:hover { + .header .now-playing-header .controls li a:hover { background-color: #E0E0E0; transition: 500ms; } @@ -81,6 +115,21 @@ h1 a, h2 a, h3 a, h4 a, h5 a, h6 a margin-top: -2em; } +.scroll_top_floater { + position: fixed; + right: 5px; + bottom: 30px; + display: block; + height: 30px; + width: 30px; + background: url("/images/icons/navigation/go_top_arrow.png") no-repeat 50% 50%; + background-color: #ABABAB; +} + +.scroll_top_floater:hover { + background-color: #898989; +} + .tabs_navigation li a:hover, .tabs_navigation li a.selected, .tabs_navigation li.ui-tabs-active a { diff --git a/website/public/images/logo-sm.png b/website/public/images/logo-sm.png deleted file mode 100644 index 57dc5b0a..00000000 Binary files a/website/public/images/logo-sm.png and /dev/null differ diff --git a/website/public/images/logo-xs-navbar.png b/website/public/images/logo-xs-navbar.png deleted file mode 100644 index 95220fc2..00000000 Binary files a/website/public/images/logo-xs-navbar.png and /dev/null differ diff --git a/website/public/images/logo-xs.png b/website/public/images/logo-xs.png deleted file mode 100644 index 95220fc2..00000000 Binary files a/website/public/images/logo-xs.png and /dev/null differ diff --git a/website/public/images/logo.jpg b/website/public/images/logo.jpg deleted file mode 100644 index 2e292757..00000000 Binary files a/website/public/images/logo.jpg and /dev/null differ diff --git a/website/public/images/logo.png b/website/public/images/logo.png index ea83739d..fbe30f70 100644 Binary files a/website/public/images/logo.png and b/website/public/images/logo.png differ diff --git a/website/public/images/noimage.png b/website/public/images/noimage.png index 8d577f20..3126bbec 100644 Binary files a/website/public/images/noimage.png and b/website/public/images/noimage.png differ diff --git a/website/public/js/main.js b/website/public/js/main.js index 2fbebe08..37af7a01 100644 --- a/website/public/js/main.js +++ b/website/public/js/main.js @@ -1327,6 +1327,7 @@ jQuery(document).ready(function($){ $(".post.single.small_image .author_box").css({"position": "absolute", "top": ($(".post.single .post_image_box").outerHeight()+30) + "px", "bottom": "auto"}); if($(".menu_container").hasClass("sticky")) menu_position = $(".menu_container").offset().top; + function animateElements() { $('.animated_element, .tens, .sticky').each(function(){ diff --git a/website/resources/views/layouts/master.blade.php b/website/resources/views/layouts/master.blade.php index b6bdc372..473f287a 100644 --- a/website/resources/views/layouts/master.blade.php +++ b/website/resources/views/layouts/master.blade.php @@ -271,9 +271,10 @@ --> -
-
{{Formatter::fullDate(new \DateTimeImmutable(), 'd m y')}}
-
+ +
+
+
+ +