Compare commits
14
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9d96efc022 | ||
|
|
539dd88d42 | ||
|
|
d9c933b79a | ||
|
|
84355b1121 | ||
|
|
e551e55158 | ||
|
|
2799b1843f | ||
|
|
52f38b4c00 | ||
|
|
e2f114a7a8 | ||
|
|
cc58f5931c | ||
|
|
23d88ac143 | ||
|
|
56adc60788 | ||
|
|
2db970e8c6 | ||
|
|
80256669b1 | ||
|
|
738107515c |
No files matched your search
@@ -6,12 +6,6 @@ use \Illuminate\Http\Request;
|
||||
|
||||
class CalendarController extends Controller
|
||||
{
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
public function show(Request $request, $id)
|
||||
{
|
||||
parent::registerView($request, 'agenda', $id);
|
||||
@@ -25,7 +19,7 @@ class CalendarController extends Controller
|
||||
{
|
||||
$apiResult = $this->API('agenda/overzicht');
|
||||
$calendar = [];
|
||||
foreach($apiResult as $calendarItem)
|
||||
foreach($apiResult->events as $calendarItem)
|
||||
{
|
||||
$calendar[] = new \Model\CalendarEvent($calendarItem);
|
||||
}
|
||||
|
||||
@@ -22,14 +22,14 @@ class Controller extends BaseController
|
||||
$data = json_decode(Storage::disk('local')->get($file));
|
||||
foreach ($path as $subobject) {
|
||||
$data = $data->$subobject;
|
||||
}
|
||||
}
|
||||
$items = [];
|
||||
foreach ($data as $item_data) {
|
||||
$items[] = new $class($item_data);
|
||||
if ($maxItems && count($items) == $maxItems) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $items;
|
||||
}
|
||||
@@ -49,17 +49,15 @@ class Controller extends BaseController
|
||||
$view->with('data', $this->getDataFromFileAndConvert('laatste_nieuws.json', ['news'], '\Model\NewsItem'));
|
||||
});
|
||||
View::composer('widgets.populairnieuws', function ($view) {
|
||||
$view->with('data', $this->getDataFromFileAndConvert('populair_nieuws.json', [], '\Model\NewsItem'));
|
||||
$view->with('data', $this->getDataFromFileAndConvert('populair_nieuws.json', ['news'], '\Model\NewsItem'));
|
||||
});
|
||||
View::composer('widgets.nustraks', function ($view) {
|
||||
$data = json_decode(Storage::disk('local')->get('nu_straks.json'))->schedule;
|
||||
$programs = [];
|
||||
foreach ($data as $item_data) {
|
||||
$programs[] = $program = new \Model\Program($item_data->program);
|
||||
$program->start = new \DateTimeImmutable($item_data->start->date,
|
||||
new \DateTimeZone($item_data->start->timezone));
|
||||
$program->end = new \DateTimeImmutable($item_data->end->date,
|
||||
new \DateTimeZone($item_data->end->timezone));
|
||||
$program->start = self::JsonToDateTime($item_data->start);
|
||||
$program->end = self::JsonToDateTime($item_data->end);
|
||||
}
|
||||
|
||||
// Need a bit of slack here, otherwise the current program may show up
|
||||
@@ -68,10 +66,8 @@ class Controller extends BaseController
|
||||
$i = 0;
|
||||
foreach (array_reverse($data) as $item_data) {
|
||||
$recent = $program = new \Model\Program($item_data->program);
|
||||
$recent->start = new \DateTimeImmutable($item_data->start->date,
|
||||
new \DateTimeZone($item_data->start->timezone));
|
||||
$recent->end = new \DateTimeImmutable($item_data->end->date,
|
||||
new \DateTimeZone($item_data->end->timezone));
|
||||
$recent->start = self::JsonToDateTime($item_data->start);
|
||||
$recent->end = self::JsonToDateTime($item_data->end);
|
||||
if (($recent->end < $now) && (!$recent->nonstop) && (!$recent->rerun)) {
|
||||
$view->with('recent', $recent);
|
||||
break;
|
||||
@@ -92,7 +88,7 @@ class Controller extends BaseController
|
||||
});
|
||||
View::composer('widgets.menu', function ($view) {
|
||||
$view->with('news', $this->getDataFromFileAndConvert('laatste_nieuws.json', ['news'], '\Model\NewsItem'))
|
||||
->with('popular', $this->getDataFromFileAndConvert('populair_nieuws.json', [], '\Model\NewsItem', 3))
|
||||
->with('popular', $this->getDataFromFileAndConvert('populair_nieuws.json', ['news'], '\Model\NewsItem', 3))
|
||||
->with('podcasts',
|
||||
$this->getDataFromFileAndConvert('laatste_podcasts.json', ['podcasts'], '\Model\Podcast'));
|
||||
});
|
||||
@@ -118,16 +114,16 @@ class Controller extends BaseController
|
||||
|
||||
protected function API($url)
|
||||
{
|
||||
// if (strpos($url, 'nieuws/overzicht') !== false) {
|
||||
// return json_decode(file_get_contents(__DIR__ . '/../../../storage/app/laatste_nieuws.json'));
|
||||
// }
|
||||
// return [];
|
||||
|
||||
$arrContextOptions = [
|
||||
'ssl' => [
|
||||
"verify_peer" => false,
|
||||
"verify_peer_name" => false,
|
||||
],
|
||||
],
|
||||
'http' => [
|
||||
'method' => 'GET',
|
||||
'header' => 'X-Api-Key: ' . sha1(request()->server('REMOTE_ADDR')) . "\r\n"
|
||||
. 'X-User-Agent: ' . request()->server('HTTP_USER_AGENT') . "\r\n"
|
||||
]
|
||||
];
|
||||
|
||||
return json_decode(file_get_contents($this->API_URL . $url, false, stream_context_create($arrContextOptions)));
|
||||
@@ -148,7 +144,7 @@ class Controller extends BaseController
|
||||
|
||||
protected static function JsonToDateTime($obj)
|
||||
{
|
||||
return new \DateTime($obj->date, new \DateTimeZone($obj->timezone));
|
||||
return is_object($obj) ? new \DateTime($obj->date, new \DateTimeZone($obj->timezone)) : new \DateTime($obj);
|
||||
}
|
||||
|
||||
public function __call($method, $arguments)
|
||||
@@ -166,8 +162,8 @@ class Controller extends BaseController
|
||||
public function getSidebareData()
|
||||
{
|
||||
$populair = [];
|
||||
$apiResult = $this->API('nieuws/populair?aantal=5');
|
||||
foreach ($apiResult as $_newsItem) {
|
||||
$apiResult = $this->API('nieuws/populair?aantal=5');
|
||||
foreach ($apiResult->news as $_newsItem) {
|
||||
$populair[] = new \Model\NewsItem($_newsItem);
|
||||
}
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ class HomeController extends Controller
|
||||
|
||||
$populair = [];
|
||||
$apiResult = $this->API('nieuws/populair?pagina=' . (int)max(1, $page) . '&aantal=5');
|
||||
foreach ($apiResult as $newsItem) {
|
||||
foreach ($apiResult->news as $newsItem) {
|
||||
$populair[] = new \Model\NewsItem($newsItem);
|
||||
}
|
||||
|
||||
|
||||
@@ -29,12 +29,12 @@ class JobsController extends Controller
|
||||
private function listJobs(Request $request, $url, $title = null)
|
||||
{
|
||||
$page = (int)$request->get('pagina', 1);
|
||||
$apiResult = $this->API('vacatures/' . $url . '?pagina=' . (int)max(1, $page));
|
||||
#$apiResult = $this->API('vacatures/' . $url . '?pagina=' . (int)max(1, $page));
|
||||
$jobs = [];
|
||||
foreach($apiResult->jobs as $jobsItem)
|
||||
{
|
||||
$jobs[] = new \Model\JobOpening($jobsItem);
|
||||
}
|
||||
#foreach($apiResult->jobs as $jobsItem)
|
||||
#{
|
||||
# $jobs[] = new \Model\JobOpening($jobsItem);
|
||||
#}
|
||||
|
||||
return view('jobslist', array_merge($this->getSidebareData(), ['title' => $title, 'jobs' => $jobs]));
|
||||
//return view($request->ajax() ? 'partial/jobslist_small' : ($title == null ? 'home' : 'jobslist'), ['title' => $title, 'jobs' => $jobs, 'searchURL' => 'vacatures/zoeken']);
|
||||
|
||||
@@ -27,7 +27,7 @@ class NewsController extends Controller
|
||||
break;
|
||||
|
||||
case 2:
|
||||
$source = $apiResult->source;
|
||||
$source = $apiResult->source->article;
|
||||
$newsItem->published = self::TimestampToDateTime($source->created);
|
||||
$newsItem->edited = self::TimestampToDateTime($source->updated);
|
||||
$newsItem->author = $source->author;
|
||||
@@ -65,21 +65,26 @@ class NewsController extends Controller
|
||||
$id = $request->get('id', '');
|
||||
$populair = [];
|
||||
$apiResult = $this->API('nieuws/populair?pagina=' . (int)max(1, $page) . '&aantal=5');
|
||||
foreach ($apiResult as $_newsItem) {
|
||||
foreach ($apiResult->news as $_newsItem) {
|
||||
$populair[] = new \Model\NewsItem($_newsItem);
|
||||
}
|
||||
|
||||
return view('partial/newslist_small', ['id' => $id, 'news' => $populair]);
|
||||
}
|
||||
|
||||
public function taglist(Request $request, $tag)
|
||||
{
|
||||
return $this->listNews($request, 'tag/' . $tag, ucfirst($tag));
|
||||
}
|
||||
|
||||
public function regionlist(Request $request, $region)
|
||||
{
|
||||
return $this->listNews($request, 'regio/' . $region, ucfirst($region));
|
||||
return $this->listNews($request, 'tag/' . $region, ucfirst($region));
|
||||
}
|
||||
|
||||
public function themelist(Request $request, $theme)
|
||||
{
|
||||
return $this->listNews($request, 'thema/' . $theme, ucfirst($theme));
|
||||
return $this->listNews($request, 'tag/' . $theme, ucfirst($theme));
|
||||
}
|
||||
|
||||
public function search(Request $request, $query)
|
||||
@@ -145,7 +150,7 @@ class NewsController extends Controller
|
||||
}
|
||||
$apiResult = $this->API('nieuws/populair?pagina=' . (int)max(1,
|
||||
$page) . ($total ? '&aantal=' . $total : ''));
|
||||
foreach ($apiResult as $newsItem) {
|
||||
foreach ($apiResult->news as $newsItem) {
|
||||
$populair[] = new \Model\NewsItem($newsItem);
|
||||
}
|
||||
|
||||
@@ -172,7 +177,7 @@ class NewsController extends Controller
|
||||
{
|
||||
$apiResult = $this->API('nieuws/populair');
|
||||
$news = [];
|
||||
foreach ($apiResult as $newsItem) {
|
||||
foreach ($apiResult->news as $newsItem) {
|
||||
$news[] = new \Model\NewsItem($newsItem);
|
||||
}
|
||||
|
||||
|
||||
@@ -30,6 +30,17 @@ class StreamController extends Controller
|
||||
return view('watch', ['title' => 'Kijk NH Gooi Tv Studio', 'stream' => 'https://studiocam.nhgooi.nl/studiocam/live/index.m3u8']);
|
||||
}
|
||||
|
||||
public function inline(Request $request, $id)
|
||||
{
|
||||
$apiResult = $this->API('podcast/details/' . (int)$id);
|
||||
$podcast = new \Model\Podcast($apiResult);
|
||||
if(sha1($id . ':' . date('Y-m-d')) != $request->get('auth')) {
|
||||
// return view('widgets/podcastplayer', ['podcast' => null]);
|
||||
}
|
||||
|
||||
return view('widgets/podcastplayer', ['podcast' => $podcast]);
|
||||
}
|
||||
|
||||
public function podcast(Request $request, $id)
|
||||
{
|
||||
$apiResult = $this->API('podcast/details/' . (int)$id);
|
||||
|
||||
Vendored
+9
-1
@@ -319,7 +319,7 @@ div.pp_default .pp_close:hover {
|
||||
padding: 3px 9px 3px 6px;
|
||||
margin: 8px auto;
|
||||
}
|
||||
.top_menu_container ul.right_menu li:last-child, .menu_mobile_container ul.right_menu li:last-child {
|
||||
.top_menu_container ul.right_menu li.search, .menu_mobile_container ul.right_menu li.search {
|
||||
border: none;
|
||||
line-height: 1;
|
||||
}
|
||||
@@ -725,6 +725,8 @@ div.pp_default .pp_close:hover {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
display: flex;
|
||||
gap: 3px;
|
||||
}
|
||||
.blog_grid .post .slider_content_box .post_details .category a {
|
||||
padding: 6px 11px 7px;
|
||||
@@ -1647,4 +1649,10 @@ a, a:hover, a:active {
|
||||
}
|
||||
}
|
||||
|
||||
.podcast-player .content {
|
||||
border: solid 1px #333;
|
||||
border-radius: 5px;
|
||||
padding: 0.4rem;
|
||||
}
|
||||
|
||||
/*# sourceMappingURL=style.css.map */
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
@import"https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap";@import"https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap";@import"https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap";.clearfix::after{display:block;clear:both;content:""}body{margin:0;padding:0}.body_container{max-width:1170px;margin:0 auto;padding:67px 0;background-color:#f9f9f9}@media(max-width: 768px){.body_container{padding:50px 0}}.header_container{max-width:1170px;margin:0 auto}@media(min-width: 768px){.grey_background:not(.site_container){background-color:#f9f9f9}}.page{padding-top:20px}.content_container{padding-right:50px}.sidebar{width:calc(300px + var(--bs-gutter-x))}@media(max-width: 768px){.content_container{padding-right:calc(var(--bs-gutter-x)*.5)}.site_container{overflow:hidden}}.btn{display:block;width:calc(100% - 78px);padding:10px 39px 10px 39px;border-radius:3px;background-image:linear-gradient(to right, #0f259d, #5ba8f4);font-family:Nunito,serif;font-size:14px;font-weight:bold;line-height:.93;text-align:center;color:#fff;margin-bottom:10px;text-decoration:none;text-transform:uppercase}.btn:hover,.btn:active{color:#fff}.btn.auto_width{width:fit-content;margin:0 auto}.btn.fit_content{width:fit-content}.btn.btn_facebook_share{background-image:none;background-color:#0f259d}.btn.btn_twitter_x_share{background-image:none;background-color:#5ba8f4}div.pp_default .pp_content_container .pp_left,div.pp_default .pp_content_container .pp_right,div.pp_default .pp_top .pp_left,div.pp_default .pp_top .pp_middle,div.pp_default .pp_top .pp_right,div.pp_default .pp_bottom .pp_left,div.pp_default .pp_bottom .pp_middle,div.pp_default .pp_bottom .pp_right{background:none;padding:0}div.pp_default .pp_content,div.light_rounded .pp_content{padding:10px}div.pp_default .pp_description{font-family:Nunito,serif;font-size:12px;font-style:italic;line-height:3.17;color:#585858}div.pp_default .pp_close{margin-top:8px;background:url("/images/icons/other/close.png") 0 0 no-repeat}div.pp_default .pp_close:hover{opacity:1;background-position:0 -30px}.light.cc_dialog button.cc_b_ok,.light.cc_dialog button.cc_b_cp{padding:10px 39px;border-radius:3px;font-family:Nunito,serif;font-size:14px;font-weight:bold;line-height:.93;text-align:center;margin-bottom:10px;text-decoration:none;text-transform:uppercase}.light.cc_dialog button.cc_b_ok{background-image:linear-gradient(to right, #0f259d, #5ba8f4);color:#fff}.light.cc_dialog .cc_dialog_headline{font-family:Montserrat,serif;font-weight:600;line-height:1.15;color:#282828}.light.cc_dialog .cc_dialog_text{font-family:Nunito,serif;font-size:15px;line-height:1.6;color:#282828}.list{margin:0;padding:0;list-style:none}.header{height:111px}.header .logo{float:left;margin-top:10px}.header .logo img{height:95px}.header .advertisement{float:right;width:728px;height:90px}@media(max-width: 1170px){.header{padding:0 20px}}@media(max-width: 980px){.header{height:212px}.header .logo{float:none}.header .advertisement{float:none}}@media(max-width: 768px){.header_container{display:none}}@media(min-width: 767px){.menu_container{height:75px;background-image:linear-gradient(to right, #0102b0, #4090e3)}}.menu_container nav{display:flex}.menu_container nav>div{height:30px;background:#fff;flex-grow:1;border:1px solid #fff}.menu_container .menu{margin:0;padding:0;list-style:none;overflow:hidden;position:relative;z-index:0;margin:0px -1px;width:1170px;margin:0 auto}.menu_container .menu>li{float:left;margin:0px -1px}.menu_container .menu>li.has_submenu{position:relative}.menu_container .menu>li ul{display:none}.menu_container .menu>li a{display:block;font-family:Nunito,serif;color:#1a1a1a;font-weight:bold;font-size:14px;text-align:center;padding:5px 20px 5px 40px;text-decoration:none;background:#fff;text-transform:uppercase}.menu_container .menu>li.selected a,.menu_container .menu>li:hover a,.menu_container .menu>li.hover a{color:#fff;background:rgba(0,0,0,0);position:relative}.menu_container .menu>li.selected a:before,.menu_container .menu>li:hover a:before,.menu_container .menu>li.hover a:before{content:"";display:block;width:33px;height:25px;-webkit-mask-image:URL("/images/menu-corner-1.svg");mask-image:URL("/images/menu-corner-1.svg");background-color:#fff;position:absolute;top:0;left:0;z-index:1}.menu_container .menu>li.selected a:after,.menu_container .menu>li:hover a:after,.menu_container .menu>li.hover a:after{content:"";display:block;width:12px;height:15px;-webkit-mask-image:URL("/images/menu-corner-2.svg");mask-image:URL("/images/menu-corner-2.svg");background-color:#fff;position:absolute;bottom:0;right:-1px;z-index:1}.menu_container .menu>li:last-child{margin-left:10px}.menu_container .menu>li:last-child:after{content:" ";z-index:-1;background:#fff;position:absolute;top:0;width:100%;height:100%;margin-left:-10px}.topLine truncated
|
||||
@import"https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap";@import"https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap";@import"https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap";.clearfix::after{display:block;clear:both;content:""}body{margin:0;padding:0}.body_container{max-width:1170px;margin:0 auto;padding:67px 0;background-color:#f9f9f9}@media(max-width: 768px){.body_container{padding:50px 0}}.header_container{max-width:1170px;margin:0 auto}.grey_background{background-color:#f9f9f9}.content_container{padding-right:50px}.sidebar{width:calc(300px + var(--bs-gutter-x))}@media(max-width: 768px){.content_container{padding-right:calc(var(--bs-gutter-x)*.5)}.site_container{overflow:hidden}}.btn{display:block;width:calc(100% - 78px);padding:10px 39px 10px 39px;border-radius:3px;background-image:linear-gradient(to right, #0f259d, #5ba8f4);font-family:Nunito,serif;font-size:14px;font-weight:bold;line-height:.93;text-align:center;color:#fff;margin-bottom:10px;text-decoration:none;text-transform:uppercase}.btn.auto_width{width:fit-content;margin:0 auto}.btn.btn_facebook_share{background-image:none;background-color:#0f259d}.btn.btn_twitter_x_share{background-image:none;background-color:#5ba8f4}div.pp_default .pp_content_container .pp_left,div.pp_default .pp_content_container .pp_right,div.pp_default .pp_top .pp_left,div.pp_default .pp_top .pp_middle,div.pp_default .pp_top .pp_right,div.pp_default .pp_bottom .pp_left,div.pp_default .pp_bottom .pp_middle,div.pp_default .pp_bottom .pp_right{background:none;padding:0}div.pp_default .pp_content,div.light_rounded .pp_content{padding:10px}div.pp_default .pp_description{font-family:Nunito,serif;font-size:12px;font-style:italic;line-height:3.17;color:#585858}div.pp_default .pp_close{margin-top:8px;background:url("/images/icons/other/close.png") 0 0 no-repeat}div.pp_default .pp_close:hover{opacity:1;background-position:0 -30px}.light.cc_dialog button.cc_b_ok,.light.cc_dialog button.cc_b_cp{padding:10px 39px;border-radius:3px;font-family:Nunito,serif;font-size:14px;font-weight:bold;line-height:.93;text-align:center;margin-bottom:10px;text-decoration:none;text-transform:uppercase}.light.cc_dialog button.cc_b_ok{background-image:linear-gradient(to right, #0f259d, #5ba8f4);color:#fff}.light.cc_dialog .cc_dialog_headline{font-family:Montserrat,serif;font-weight:600;line-height:1.15;color:#282828}.light.cc_dialog .cc_dialog_text{font-family:Nunito,serif;font-size:15px;line-height:1.6;color:#282828}.list{margin:0;padding:0;list-style:none}.header{height:110px}.header .logo{float:left;margin-top:18px}.header .logo img{height:75px}.header .advertisement{float:right;width:728px;height:90px}@media(max-width: 1170px){.header{padding:0 20px}}@media(max-width: 980px){.header{height:212px}.header .logo{float:none}.header .advertisement{float:none}}@media(max-width: 768px){.header_container{display:none}}@media(min-width: 767px){.menu_container{height:75px;margin-bottom:20px;background-image:linear-gradient(to right, #0102b0, #4090e3)}}.menu_container nav{display:flex}.menu_container nav>div{height:30px;background:#fff;flex-grow:1;border:1px solid #fff}.menu_container .menu{margin:0;padding:0;list-style:none;overflow:hidden;position:relative;z-index:0;margin:0px -1px;width:1170px;margin:0 auto}.menu_container .menu>li{float:left;margin:0px -1px}.menu_container .menu>li.has_submenu{position:relative}.menu_container .menu>li ul{display:none}.menu_container .menu>li a{display:block;font-family:Nunito,serif;color:#1a1a1a;font-weight:bold;font-size:14px;text-align:center;padding:5px 20px 5px 40px;text-decoration:none;background:#fff;text-transform:uppercase}.menu_container .menu>li.selected a,.menu_container .menu>li:hover a,.menu_container .menu>li.hover a{color:#fff;background:rgba(0,0,0,0);position:relative}.menu_container .menu>li.selected a:before,.menu_container .menu>li:hover a:before,.menu_container .menu>li.hover a:before{content:"";display:block;width:33px;height:25px;background-image:URL("/images/menu-corner-1.svg");position:absolute;top:0;left:0;z-index:1}.menu_container .menu>li.selected a:after,.menu_container .menu>li:hover a:after,.menu_container .menu>li.hover a:after{content:"";display:block;width:12px;height:15px;background-image:URL("/images/menu-corner-2.svg");position:absolute;bottom:0;right:-1px;z-index:1}.menu_container .menu>li:last-child{margin-left:10px}.menu_container .menu>li:last-child:after{content:" ";z-index:-1;background:#fff;position:absolute;top:0;width:100%;height:100%;margin-left:-10px}.top_menu_container,.menu_mobile_container{height:50px;max-width:1170px;margin:0 auto}.top_menu_container ul.right_menu,.menu_mobile_container ul.right_menu{float:right;margin:0;padding:0;list-style:none}.top_menu_container ul.right_menu li,.menu_mobile_contaiLine truncated
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"sourceRoot":"","sources":["../../resources/assets/sass/abstracts/_fonts.scss","../../resources/assets/sass/base/_clearfix.scss","../../resources/assets/sass/base/_container.scss","../../resources/assets/sass/abstracts/_mixin.scss","../../resources/assets/sass/abstracts/_variables.scss","../../resources/assets/sass/components/_button.scss","../../resources/assets/sass/components/_pretty_photo.scss","../../resources/assets/sass/components/_cookie.scss","../../resources/assets/sass/components/_list.scss","../../resources/assets/sass/components/_header.scss","../../resources/assets/sass/components/_menu.scss","../../resources/assets/sass/components/_now-playing.scss","../../resources/assets/sass/components/_main_news.scss","../../resources/assets/sass/components/_box.scss","../../resources/assets/sass/components/_blog.scss","../../resources/assets/sass/components/_sidebar.scss","../../resources/assets/sass/components/_radio_box.scss","../../resources/assets/sass/components/_contact_box.scss","../../resources/assets/sass/components/_featured.scss","../../resources/assets/sass/components/_podcast_items.scss","../../resources/assets/sass/layout/_news.scss","../../resources/assets/sass/components/_bread_crumb.scss","../../resources/assets/sass/components/_page_title.scss","../../resources/assets/sass/components/_post.scss","../../resources/assets/sass/components/_schedule.scss","../../resources/assets/sass/components/_page.scss","../../resources/assets/sass/components/_input.scss","../../resources/assets/sass/components/_podcast_item.scss","../../resources/assets/sass/components/_footer.scss","../../resources/assets/sass/base/_base.scss"],"names":[],"mappings":"CAAQ,wGACA,0GACA,0LCFR,iBACE,cACA,WACA,gBCCA,SACA,UAKF,gBCPE,iBACA,cDQA,eAIA,iBEfa,QFYb,yBAHF,gBAII,gBAIJ,kBCfE,iBACA,cDiBF,yBACE,sCACE,iBEtBW,SFyBf,MACE,iBAEF,mBACE,mBAEF,SACE,uCAEF,yBACE,mBACE,0CAEF,gBACE,iBGtCJ,KACE,cACA,wBACA,4BACA,kBACA,6DACA,yBACA,eACA,iBACA,gBACA,kBACA,MDJoB,KCKpB,mBACA,qBACA,yBAEA,uBACE,MDVkB,KCapB,gBACE,kBACA,cAGF,iBACE,kBAGF,wBACE,sBACA,yBAEF,yBACE,sBACA,yBCnCJ,4SASE,gBACA,UAEF,yDAEE,aAEF,+BAEE,yBACA,eACA,kBACA,iBACA,MFXuB,QEazB,yBAEE,eACA,8DAEF,+BAEE,UACA,4BChCF,gEACE,kBACA,kBACA,yBACA,eACA,iBACA,gBACA,kBACA,mBACA,qBACA,yBAEF,gCACE,6DACA,MHPoB,KGStB,qCACE,6BACA,gBACA,iBACA,MHXgB,QGalB,iCACE,yBACA,eACA,gBACA,MHjBgB,QIVlB,MLME,SACA,UACA,gBMTF,QACE,aACA,cACE,WACA,gBACA,kBACE,YAGJ,uBACE,YACA,YACA,YAIJ,0BACE,QACE,gBAGJ,yBACE,QACE,aACA,cACE,WAEF,uBACE,YAIN,yBACE,kBACE,cC9BF,yBADF,gBAEI,YACA,8DAGF,oBACE,aACA,wBACE,YACA,gBACA,YACA,sBAIJ,sBPZA,SACA,UACA,gBOYE,gBACA,kBACA,UACA,gBACA,aACA,cAEA,yBACE,WACA,gBAEA,qCACE,kBAGF,4BACE,aAGF,2BACE,cACA,yBACA,MNnCK,QMoCL,YNxCU,KMyCV,UNxCQ,KMyCR,kBACA,0BACA,qBACA,gBACA,yBAGF,sGACE,WACA,yBACA,kBAEA,2HACE,WACA,cACA,WACA,YACA,oDACA,4CACA,sBACA,kBACA,MACA,OACA,UAGF,wHACE,WACA,cACA,WACA,YACA,oDACA,4CACA,sBACA,kBACA,SACA,WACA,UAIJ,oCACE,iBAEA,0CACE,YACA,WACA,gBACA,kBACA,MACA,WACA,YACA,kBAMV,2CACE,YPtGA,iBACA,cOuGA,gBAEA,uEACE,YPvGF,SACA,UACA,gBOwGE,6EACE,WACA,iBACA,WACA,4CACA,cACA,YAEA,iGACE,wBACA,gBAGF,mGACE,YACA,cAOF,iFACE,WACA,yBACA,eACA,iBACA,iBACA,MNpIc,KMqId,qBACA,yBACA,aAEA,2FACE,gBACA,cACA,YAGF,6GACE,kBACA,kBAGF,yFACE,KNrJY,KMsJZ,YACA,WACA,kBACA,YACA,QAGF,qFACE,eACA,kBACA,QACA,gBAIJ,uGACE,WACA,gBACA,YACA,kBAEA,mIACE,yBACA,kBACA,iBN3KG,KM4KH,YACA,6BACA,eACA,iBACA,MNpLG,QMsLL,qIACE,YACA,WAGJ,2GACE,eAKR,uBACE,YACA,eACA,yBACA,6CACE,cACA,WACA,YACA,0BACA,kBACA,+CACE,WACA,eAGJ,oCACE,YACA,wCACE,YAGJ,6CACE,yBACA,iBACA,2BACA,8BACA,YAEE,8DACE,eACA,SAEA,8EACE,kBAGA,oEACE,gBAIJ,2EACE,YACA,yFACE,YACA,WAEF,0FACE,aAIJ,6EACE,SAOV,qCACE,kBAEA,yCACE,cACA,YAGF,2CPtQA,SACA,UACA,gBOsQE,+CACE,cACA,yBACA,eACA,iBACA,MN5QO,QM6QP,qBACA,eACA,gCACA,yBAEF,2EACE,mBAIJ,2CACE,aACA,kBACA,wCACA,iBNvRS,KMwRT,iBACA,kBACA,aAGE,uDACE,aACA,6DACE,kBAIN,yEACE,kBACA,qFACE,mCACA,wCACA,kBACA,oBACA,cACA,oBACA,kCACA,gBACA,YACA,kBACA,QACA,SACA,iCACA,yBACA,oBAEF,mGACE,+BACA,uBAMR,uBACE,aACA,eACA,WACA,MACA,OACA,YACA,aACA,gCACA,2BACE,gBACA,kBACA,aACA,aACA,eACA,gBACA,kBACA,gBAEA,4FACE,WAEF,uCACE,kBACA,wBAGF,oCACE,aAGF,0CACE,kBACA,gDACE,mCACA,wCACA,kBACA,oBACA,cACA,oBACA,kCACA,gBACA,YACA,kBACA,QACA,SACA,iCACA,yBAEF,uDACE,+BACA,uBAKR,mBACE,aACA,YACA,mBACA,yBACE,YACA,YACA,2BACE,YACA,UACA,mBACA,+BACE,YAIN,6CACE,YACA,aACA,YACA,+CACE,eACA,cACA,UACA,mBAKJ,gDACE,YACA,4BACA,oBACA,oBAGF,uDACE,gCACA,wBAIJ,QACE,YACA,aAKE,yBACE,WNpbS,QMqbT,aNrbS,QM2bT,4BACE,WN5bO,QMgcP,yPACE,iBNjcK,QMscP,2CACE,WNvcK,QODf,4BACE,YAEF,oBACE,eACA,qCACA,gBACA,gCACA,YACA,cACA,kBACA,cACA,gBACA,kBACA,YACA,iBACA,oBAEA,2BACE,iBACA,eAGF,uDACE,YAGF,8BACE,cACA,SACA,kBACA,YACA,WAEA,iCACE,SAEA,oCACE,qBAEA,sCACE,iBACA,cACA,cACA,cACA,YACA,gBACA,iBAEA,4CACE,eC9CV,yBADF,WAEI,gBACA,kBACA,8BACE,WAIF,oCACE,oBACA,gBAIF,oCACE,kBACA,uDAEF,sBACE,YAGJ,kCACE,UACA,SAEF,gBACE,YAEF,iBACE,kBACA,yBACA,YACA,yBAJF,iBAKI,yBAGF,qBACE,WACA,YACA,iBACA,uBACA,kBAGF,uBACE,WAGF,qCACE,kBACA,SACA,OACA,QAEA,aAEA,mDTtDJ,SACA,UACA,gBSuDM,+DACE,qBACA,kBACA,6DACA,yBACA,eACA,iBACA,kBACA,MR/DY,KQgEZ,qBACA,yBAIJ,gFACELine truncated
|
||||
{"version":3,"sourceRoot":"","sources":["../../resources/assets/sass/abstracts/_fonts.scss","../../resources/assets/sass/base/_clearfix.scss","../../resources/assets/sass/base/_container.scss","../../resources/assets/sass/abstracts/_mixin.scss","../../resources/assets/sass/abstracts/_variables.scss","../../resources/assets/sass/components/_button.scss","../../resources/assets/sass/components/_pretty_photo.scss","../../resources/assets/sass/components/_cookie.scss","../../resources/assets/sass/components/_list.scss","../../resources/assets/sass/components/_header.scss","../../resources/assets/sass/components/_menu.scss","../../resources/assets/sass/components/_now-playing.scss","../../resources/assets/sass/components/_main_news.scss","../../resources/assets/sass/components/_box.scss","../../resources/assets/sass/components/_blog.scss","../../resources/assets/sass/components/_sidebar.scss","../../resources/assets/sass/components/_radio_box.scss","../../resources/assets/sass/components/_contact_box.scss","../../resources/assets/sass/components/_featured.scss","../../resources/assets/sass/components/_podcast_items.scss","../../resources/assets/sass/components/_bread_crumb.scss","../../resources/assets/sass/components/_page_title.scss","../../resources/assets/sass/components/_post.scss","../../resources/assets/sass/components/_schedule.scss","../../resources/assets/sass/components/_page.scss","../../resources/assets/sass/components/_input.scss","../../resources/assets/sass/components/_podcast_item.scss","../../resources/assets/sass/components/_footer.scss","../../resources/assets/sass/base/_base.scss"],"names":[],"mappings":"CAAQ,wGACA,0GACA,0LCFR,iBACE,cACA,WACA,gBCCA,SACA,UAKF,gBCPE,iBACA,cDQA,eAIA,iBEfa,QFYb,yBAHF,gBAII,gBAIJ,kBCfE,iBACA,cDiBF,iBACE,yBAEF,mBACE,mBAEF,SACE,uCAEF,yBACE,mBACE,0CAEF,gBACE,iBGjCJ,KACE,cACA,wBACA,4BACA,kBACA,6DACA,yBACA,eACA,iBACA,gBACA,kBACA,MDJoB,KCKpB,mBACA,qBACA,yBAEA,gBACE,kBACA,cAGF,wBACE,sBACA,yBAEF,yBACE,sBACA,yBC3BJ,4SASE,gBACA,UAEF,yDAEE,aAEF,+BAEE,yBACA,eACA,kBACA,iBACA,MFXuB,QEazB,yBAEE,eACA,8DAEF,+BAEE,UACA,4BChCF,gEACE,kBACA,kBACA,yBACA,eACA,iBACA,gBACA,kBACA,mBACA,qBACA,yBAEF,gCACE,6DACA,MHPoB,KGStB,qCACE,6BACA,gBACA,iBACA,MHXgB,QGalB,iCACE,yBACA,eACA,gBACA,MHjBgB,QIVlB,MLME,SACA,UACA,gBMTF,QACE,aACA,cACE,WACA,gBACA,kBACE,YAGJ,uBACE,YACA,YACA,YAIJ,0BACE,QACE,gBAGJ,yBACE,QACE,aACA,cACE,WAEF,uBACE,YAIN,yBACE,kBACE,cC9BF,yBADF,gBAEI,YACA,mBACA,8DAGF,oBACE,aACA,wBACE,YACA,gBACA,YACA,sBAIJ,sBPbA,SACA,UACA,gBOaE,gBACA,kBACA,UACA,gBACA,aACA,cAEA,yBACE,WACA,gBAEA,qCACE,kBAGF,4BACE,aAGF,2BACE,cACA,yBACA,MNpCK,QMqCL,YNzCU,KM0CV,UNzCQ,KM0CR,kBACA,0BACA,qBACA,gBACA,yBAGF,sGACE,WACA,yBACA,kBAEA,2HACE,WACA,cACA,WACA,YACA,kDACA,kBACA,MACA,OACA,UAGF,wHACE,WACA,cACA,WACA,YACA,kDACA,kBACA,SACA,WACA,UAIJ,oCACE,iBAEA,0CACE,YACA,WACA,gBACA,kBACA,MACA,WACA,YACA,kBAMV,2CACE,YPnGA,iBACA,cOqGA,uEACE,YPnGF,SACA,UACA,gBOoGE,6EACE,WACA,iBACA,WACA,4BAEA,mGACE,YAGF,uGACE,eAGF,iFACE,WACA,yBACA,eACA,iBACA,iBACA,MNxHc,KMyHd,qBACA,yBAEA,qFACE,eACA,kBACA,QACA,gBAIJ,uGACE,WACA,gBACA,YACA,kBAEA,mIACE,yBACA,kBACA,iBN1IG,KM2IH,YACA,6BACA,eACA,iBACA,MNnJG,QMqJL,qIACE,YACA,WAGJ,2GACE,eAKR,uBACE,YACA,eACA,6CACE,cACA,WACA,YACA,0BACA,4BACA,+BACA,yBACA,kBACA,+CACE,WACA,eAGJ,oCACE,YACA,wCACE,YAGJ,6CACE,yBACA,iBACA,2BACA,8BACA,YAEE,8DACE,iBACA,SAEA,2EACE,YACA,yFACE,YACA,WAEF,0FACE,aAIJ,6EACE,SAOV,qCACE,kBAEA,yCACE,cACA,YAGF,2CP9NA,SACA,UACA,gBO8NE,+CACE,cACA,yBACA,eACA,iBACA,MNpOO,QMqOP,qBACA,eACA,gCACA,yBAEF,2EACE,mBAIJ,2CACE,aACA,kBACA,wCACA,iBN/OS,KMgPT,iBACA,kBACA,aAGE,uDACE,aACA,6DACE,kBAIN,yEACE,kBACA,qFACE,mCACA,wCACA,kBACA,oBACA,cACA,oBACA,kCACA,gBACA,YACA,kBACA,QACA,SACA,iCACA,yBACA,oBAEF,mGACE,+BACA,uBAMR,uBACE,aACA,eACA,WACA,MACA,OACA,YACA,aACA,gCACA,2BACE,gBACA,kBACA,aACA,aACA,eACA,gBACA,gBAEA,4FACE,WAEF,uCACE,kBACA,wBAGF,oCACE,aAGF,0CACE,kBACA,gDACE,mCACA,wCACA,kBACA,oBACA,cACA,oBACA,kCACA,gBACA,YACA,kBACA,QACA,SACA,iCACA,yBAEF,uDACE,+BACA,uBAKR,mBACE,aACA,YACA,mBACA,yBACE,YACA,YACA,2BACE,YACA,UACA,mBACA,+BACE,YAIN,6CACE,YACA,aACA,YACA,+CACE,eACA,cACA,UACA,mBAKJ,gDACE,YACA,4BACA,oBACA,oBAGF,uDACE,gCACA,wBChYJ,4BACE,YAEF,oBACE,eACA,qCACA,gBACA,gCACA,YACA,cACA,kBACA,cACA,gBACA,kBACA,YACA,iBACA,oBAEA,2BACE,iBACA,eAGF,uDACE,YAGF,8BACE,cACA,SACA,kBACA,YACA,WAEA,iCACE,SAEA,oCACE,qBAEA,sCACE,iBACA,cACA,cACA,cACA,YACA,gBACA,iBAEA,4CACE,eC9CV,yBADF,WAEI,gBACA,kBACA,8BACE,WAIF,oCACE,oBACA,gBAIF,oCACE,kBACA,uDAEF,sBACE,YAGJ,kCACE,UACA,SAEF,gBACE,YAEF,iBACE,kBACA,YACA,yBAHF,iBAII,YAGF,qBACE,WACA,YACA,iBACA,uBAGF,uBACE,WAGF,qCACE,kBACA,SACA,OACA,QAEA,aAEA,mDTpDJ,SACA,UACA,gBSqDM,+DACE,qBACA,kBACA,6DACA,yBACA,eACA,iBACA,kBACA,MR7DY,KQ8DZ,qBACA,yBAIJ,gFACE,kBAEF,oFACE,6BACA,eACA,gBACA,cACA,MR3Ec,KQ4Ed,qBAEF,0CACE,eACA,iBAEF,yBACE,oFACE,cACA,eACA,kBAGJ,gDTtFJ,yBACA,gBACA,iBACA,sBACA,gBAQA,eAIA,MClBqB,KDmBrB,cACA,YACA,uBACA,gBACA,mBSmEM,MR3Fc,KSPtB,YAsBE,gCACA,mBAtBA,iBACE,yBACA,eACA,iBACA,cACA,gCACA,qBACA,yBACA,YAEF,6BACE,eAGF,uBACE,eAGF,wBACE,eAKJ,KACE,qBACA,WACA,4BACA,kBACA,wCACA,iBTrBW,KSsBX,mBAEA,gBACE,wBAEF,gBLine truncated
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
/*! 2024-07-02 */
|
||||
/*! 2024-05-06 */
|
||||
function calculateSize(e,t){null==t&&(t=0),setTimeout(function(){(0==$("#"+e).children(":first").height()||0==$("#"+e).children(":first").width())&&t<4?calculateSize(e,t+1):($("#"+e).height($("#"+e).children(":first").height()),$("#"+e).width($("#"+e).children(":first").width()))},500),$("#"+e).css({backgroundColor:"transparent"})}$(document).ready(function(){$("#changePreferences, .cc_b_cp").click(function(){$("#title_targeting").parent("li").hide(),$("#content_targeting").hide()})}),function(a){a.fn.loadMoreNews=function(e){var t=!1,o={loadingElementId:"#loading",container:"",url:document.location.pathname,nextPage:2},s=(a.extend(o,e),a(o.loadingElementId,this));s.hide(),this.click(function(e){var n,i;e.preventDefault(),t||(t=1,s.show(),n=a(this).attr("disabled","disabled"),i=a(o.container),a.ajax({url:o.url+(0<=o.url.indexOf("?")?"&":"?")+"pagina="+o.nextPage}).always(function(){t=0,s.hide(),n.removeAttr("disabled")}).done(function(t){t?(i.each(function(){var e=this.toString();a(e).append(a("<div>"+t+"</div>").find(e).length?a("<div>"+t+"</div>").find(e).children():a(t))}),++o.nextPage):n.attr("disabled","disabled").text("Geen nieuws meer.")}))})}}(jQuery),$(function(){$("[data-loadmorenews]").each(function(){$(this).loadMoreNews($(this).data("loadmorenews"))})}),function(o){o.fn.menu=function(e){var t={menuSubmenuClass:"has_submenu"},e=(o.extend(t,e),o(this).children("."+t.menuSubmenuClass)),i=o(this);e.on("mouseenter",function(){var e=o(this),t=(o(".menu-submenu > ul.submenu").slideUp(400,function(){o(this).closest(".menu-submenu").remove()}),o(".hover",i).removeClass("hover"),e.addClass("hover"),o('<div style="width: '+e.outerWidth()+'px"><a href="'+e.find("a").attr("href")+'" style="width: '+e.outerWidth()+'px"></a></div>').append(e.children("ul.submenu").clone())),n=e.offset();t.addClass("menu-submenu").css({top:n.top,left:n.left}),t.on("mouseleave",function(){o(".menu-submenu > ul.submenu").slideUp(400,function(){o(this).closest(".menu-submenu").remove()}),e.removeClass("hover")}),o("body").append(t),t.children("ul.submenu").slideDown(),t.find("ul.submenu").subMenu({}),openPlayerInNewScreen()})},o.fn.subMenu=function(e){var t={menuSubmenuClass:"has_submenu"};o.extend(t,e),o(this).find("li."+t.menuSubmenuClass+" > a").click(function(e){e.preventDefault();e=o(this).closest("li");e.children("ul.submenu").slideToggle(),e.toggleClass("opened")})}}(jQuery),$(function(){$(".menu").menu({}),$(".mobile-menu").subMenu({}),$(".mobile_menu_button a").click(function(){$(".mobile_menu_container").show()}),$(".mobile_close_menu_button a").click(function(){$(".mobile_menu_container").hide()}),$(".mobile_menu_container").click(function(e){!$(e.target).closest("#mobile_menu_nav").length&&$(".mobile_menu_container").is(":visible")&&$(".mobile_menu_container").hide()})}),$(function(){$(".prettyPhoto[rel^='prettyPhoto']").prettyPhoto({show_title:!1,slideshow:3e3,overlay_gallery:!0,social_tools:""})}),$(function(){$(".scroll_top").click(function(e){e.preventDefault(),$("html, body").stop().animate({scrollTop:0},500,"swing")})}),function(o){o.fn.share=function(e){var i={type:"",types:{facebook:{url:"https://www.facebook.com/sharer/sharer.php?u=",textOption:!1},twitter_x:{url:"https://twitter.com/share?url=",textOption:"text="}},excerptClass:"excerpt"};o.extend(i,e),this.click(function(e){e.preventDefault();var t,n,e=i.types[i.type];"native"==i.type&&null!=navigator.share?(278<(n=o("."+i.excerptClass).text().trim()).length+location.href.length&&(n=n.substring(0,278-(location.href.length+3))+"..."),t={url:encodeURI(location.href),text:n,title:o(".page_title").text().trim()},navigator.share(t)):void 0!==e?(t="",e.textOption&&(278<(n=o("."+i.excerptClass).text().trim()).length+location.href.length&&(n=n.substring(0,278-(location.href.length+3))+"..."),t="&"+e.textOption+encodeURI(n)),window.open(e.url+encodeURI(location.href)+t,"pop","width=600, height=400, scrollbars=no")):console.error(i.type+" is unknown")})}}(jQuery),$(function(){$("[data-share]").each(function(){$(this).share({type:$(this).data("share")})})}),function(u){u.fn.snapTo=function(e){var t={elementClass:"post"},n=(u.extend(t,e),u(this)),i=n.find("."+t.elementClass+":visible"),o=!1,s=null,a=function(){var t;o||(o=!0,t=n.scrollLeft(),i.each(function(){var e=u(this).offset();if(e.left>-window.screen.width/2&&e.left<window.screen.width/2)return n.animate({scrollLeft:Math.round(t+e.left)+"px"},300),!1}),s&&clearTimeout(s),s=setTimeout(function(){o=!1},500))},l=null;n.on("scroll",function(){l&&clearTimeout(l),l=setTimeout(a,300)})}}(jQuery),$(function(){$("[data-snapto]").each(function(){$(this).snapTo($(this).data("snapto"))})}),function(o){o.fn.tabs=function(e){var t={tabClass:"box_header",activeClass:"active",contentClass:"tab_content"},n=(o.extend(t,e),o(this).find("."+t.tabClass)),i=o(this);n.click(function(e){e.preventDefault(),n.removeClass(t.activeClass),i.find("."+t.contentClass).removeClass(t.activeClass),i.find("#"+o(this).data("tab-content-id")).addClaLine truncated
|
||||
Vendored
-1
@@ -1 +0,0 @@
|
||||
|
||||
@@ -37,40 +37,9 @@
|
||||
@section('content')
|
||||
@parent
|
||||
<div data-tabs class="page_body">
|
||||
<div class="tabs">
|
||||
<h4 data-tab-content-id="tab_previous" class="box_header small flex-grow-1"><span>Eerder</span></h4>
|
||||
<h4 data-tab-content-id="tab_current_week" class="box_header small flex-grow-1 active"><span>Komende week</span></h4>
|
||||
<h4 data-tab-content-id="tab_everything" class="box_header small flex-grow-1"><span>Toon alles</span></h4>
|
||||
<h4 data-tab-content-id="tab_next" class="box_header small"><span>Later</span></h4>
|
||||
</div>
|
||||
|
||||
@php($tabs = [
|
||||
[
|
||||
'id' => 'tab_previous',
|
||||
'start' => new DateTime('1-1-1990'),
|
||||
'end' => new DateTime('sunday previous week'),
|
||||
],
|
||||
[
|
||||
'id' => 'tab_current_week',
|
||||
'start' => new DateTime('monday this week'),
|
||||
'end' => new DateTime('sunday this week'),
|
||||
],
|
||||
[
|
||||
'id' => 'tab_everything',
|
||||
'start' => new DateTime('1-1-1990'),
|
||||
'end' => new DateTime('31-12-3000'),
|
||||
],
|
||||
[
|
||||
'id' => 'tab_next',
|
||||
'start' => new DateTime('monday next week'),
|
||||
'end' => new DateTime('31-12-3000'),
|
||||
]
|
||||
])
|
||||
@foreach($tabs as $tab)
|
||||
<div style="padding: 0" class="tab_content{{$tab['id'] == 'tab_current_week' ? ' active' : ''}}" id="{{$tab['id']}}">
|
||||
<div style="padding: 0" class="tab_content active" id="agenda">
|
||||
@php($count = 0)
|
||||
@foreach($events as $event)
|
||||
@if($event->starts >= $tab['start'] && $event->ends <= $tab['end'])
|
||||
@php($count++)
|
||||
<?php $url = route('agenda.details', ['id' => $event->id, 'title' => $event->title]); ?>
|
||||
<div class="box featured">
|
||||
@@ -83,8 +52,10 @@
|
||||
<div class="col-12 col-md-6">
|
||||
<h2 class="post_title"><a href="{{$url}}" title="{{$event->title}}">{!!$event->title!!}</a></h2>
|
||||
<div class="sub_title" style="flex-wrap: wrap">
|
||||
<ul class="post_tags" style="width: 100%; margin: 0 0 8px 0;height: 25px;">
|
||||
<li><a style="padding: 3px 8px 3px" title="{{$event->region}}">{{$event->region}}</a></li>
|
||||
<ul class="post_tags" style="width: 100%; margin: 0 0 8px 0;height: 25px;">
|
||||
@foreach($event->tags as $tag)
|
||||
<li><a style="padding: 3px 8px 3px" title="{{$tag->title}}">{{$tag->title}}</a></li>
|
||||
@endforeach
|
||||
</ul>
|
||||
<span class="post_date" style="line-height: 1.17; height: 14px;" title="{{Formatter::relativeDate($event->starts, 'W d m y?')}}">
|
||||
<i class="fa-regular fa-clock"></i> {{Formatter::relativeDate($event->starts, 'W d m y?')}}
|
||||
@@ -99,14 +70,12 @@
|
||||
<a class="btn fit_content" href="{{$url}}">Lees verder</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@endforeach
|
||||
@if($count == 0)
|
||||
<p>Er zijn geen items gevonden. Iets te melden? Mail het naar <a href="mailto:info@nhgooi.nl">info@nhgooi.nl</a>.</p>
|
||||
@endif
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
@endif
|
||||
@@ -18,7 +18,18 @@
|
||||
|
||||
<div class="page_body">
|
||||
<div class="row ">
|
||||
<div class="col-12 col-md">
|
||||
<div class="col-12 col-md">
|
||||
<p>NH Gooi is de publieke streekomroep van Gooi en Vechtstreek. We houden je 24 uur per dag
|
||||
op de hoogte van al het nieuws, betrouwbaar en snel. Dat doen we via een eigen nieuws-
|
||||
app, onze website en social media, maar ook op radio en televisie. Daarnaast brengen we
|
||||
een gevarieerd aanbod van podcasts, radio- en televisieprogramma's.</p>
|
||||
|
||||
<p>Ons team van journalisten en programmamakers bestaat uit betaalde krachten, vrijwilligers
|
||||
en stagiaires. We vinden het belangrijk mensen op te leiden en een goede plek te bieden
|
||||
voor talent.</p>
|
||||
|
||||
<p>De redactie van NH Gooi is journalistiek onafhankelijk en wordt geleid door de chef redactie.</p>
|
||||
|
||||
<h3>Contactinformatie</h3>
|
||||
|
||||
<p>Neem contact op met NH Gooi, de streekomroep voor Gooi & Vechtstreek.</p>
|
||||
|
||||
@@ -24,13 +24,13 @@
|
||||
</a>
|
||||
<div class="slider_content_box">
|
||||
<ul class="post_details simple">
|
||||
@if($item->region)
|
||||
@foreach($item->tags as $tag)
|
||||
<li class="category">
|
||||
<a title="Regio: {{$item->region->title}}"
|
||||
href="{{route('nieuws.regio', ['region' => $item->region->slug])}}"
|
||||
class="over_image">{{$item->region->title}}</a>
|
||||
<a title="{{$tag->titel}}"
|
||||
href="{{route('nieuws.tag', ['tag' => $tag->slug])}}"
|
||||
class="over_image">{{$tag->titel}}</a>
|
||||
</li>
|
||||
@endif
|
||||
@endforeach
|
||||
</ul>
|
||||
<h2><a href="{{url($item->url)}}"
|
||||
title="{{$item->title}}">{!!$item->title!!}</a></h2>
|
||||
@@ -61,13 +61,13 @@
|
||||
</a>
|
||||
<div class="slider_content_box">
|
||||
<ul class="post_details simple">
|
||||
@if($item->region)
|
||||
<li class="category">
|
||||
<a title="Regio: {{$item->region->title}}"
|
||||
href="{{route('nieuws.regio', ['region' => $item->region->slug])}}"
|
||||
class="over_image">{{$item->region->title}}</a>
|
||||
</li>
|
||||
@endif
|
||||
@foreach($item->tags as $tag)
|
||||
<li class="category">
|
||||
<a title="{{$tag->titel}}"
|
||||
href="{{route('nieuws.tag', ['tag' => $tag->slug])}}"
|
||||
class="over_image">{{$tag->titel}}</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
<h2><a href="{{url($item->url)}}"
|
||||
title="{{$item->title}}">{!!$item->title!!}</a></h2>
|
||||
@@ -102,13 +102,13 @@
|
||||
</a>
|
||||
<div class="slider_content_box">
|
||||
<ul class="post_details simple">
|
||||
@if($item->region)
|
||||
<li class="category">
|
||||
<a title="Regio: {{$item->region->title}}"
|
||||
href="{{route('nieuws.regio', ['region' => $item->region->slug])}}"
|
||||
class="over_image">{{$item->region->title}}</a>
|
||||
</li>
|
||||
@endif
|
||||
@foreach($item->tags as $tag)
|
||||
<li class="category">
|
||||
<a title="{{$tag->titel}}"
|
||||
href="{{route('nieuws.tag', ['tag' => $tag->slug])}}"
|
||||
class="over_image">{{$tag->titel}}</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
<h5 class="post_title"><a href="{{url($item->url)}}"
|
||||
title="{{$item->title}}">{!!$item->title!!}</a></h5>
|
||||
|
||||
@@ -12,15 +12,15 @@
|
||||
</ul>
|
||||
@endsection
|
||||
|
||||
@section('page_class')
|
||||
news_post post_container breadcrumb_no_border
|
||||
@endsection
|
||||
@section('page_container_class')
|
||||
grey_background
|
||||
@endsection
|
||||
@section('site_container_class')
|
||||
grey_background
|
||||
@endsection
|
||||
@section('container_class')
|
||||
news_post post_container
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
@parent
|
||||
@@ -31,13 +31,13 @@
|
||||
<p>NH Gooi is dé streekomroep voor het Gooi. We maken radio- en televisieprogramma’s, podcasts en bieden een website vol nieuws en verhalen uit jouw streek. Onze uitzendingen draaien om muziek, informatie, cultuur en ontspanning, allemaal met een duidelijke link naar het Gooi. Met meer dan 60 (vrijwillige) medewerkers zijn we volop in ontwikkeling en willen we onze activiteiten verder uitbouwen.</p>
|
||||
<p>Wil jij meebouwen aan de streekomroep van en voor het Gooi? Heb je een stevige motivatie en misschien al wat ervaring? Dan ben je bij ons aan het juiste adres. NH Gooi biedt kansen voor iedereen die wil bijdragen aan onze organisatie. En dat allemaal in het mediahart van Nederland.</p>
|
||||
<blockquote>
|
||||
Ik kwam hier als programmeur en nu maak ik met een collega, inmiddels vriend, elke week een kleinkunstprogramma
|
||||
Ik kwam hier als programmeur en nu maak ik met een collega, inmiddels vriend, elke week een kleinkunstprogramma
|
||||
<span class="author">— Mischa, programmamaker en technicus</span>
|
||||
</blockquote>
|
||||
<p>Als vrijwilliger van NH Gooi kan je gebruik maken van de opleidingsmogelijkheden die via de NLPO worden aangeboden. Kijk bijvoorbeeld eens op de <a href="https://www.nlpo.nl/opleidingen/">website van de NLPO</a> over het huidige aanbod. Ook organiseren we samen met onze mediapartner NH trainingen en cursussen.</p>
|
||||
|
||||
|
||||
<h2>Huidige (vrijwillige) vacatures</h2>
|
||||
|
||||
|
||||
<h3>Programma’s en content</h3>
|
||||
<ul>
|
||||
<li><strong>Contentmakers audio en video, voor en achter de schermen:</strong> Wil je programma's maken voor radio en/of televisie, verslaggever worden of podcasts maken? Wij zoeken mensen die het leuk vinden om te filmen, te monteren, te regisseren, redactie te voeren, programma’s te maken nieuws te lezen etc. Wil je een mooi vak leren, je kennis uitbreiden, vlieguren maken of misschien anderen jouw vak leren? Kom bij onze fijne club.</li>
|
||||
@@ -45,8 +45,8 @@
|
||||
</ul>
|
||||
|
||||
<blockquote>
|
||||
Je krijgt bij NHGooi de kans om jezelf te ontwikkelen. Ik mocht al heel snel mijn eigen programma maken
|
||||
<span class="author">— Yannick, programmamaker</span>
|
||||
Je krijgt bij NHGooi de kans om jezelf te ontwikkelen. Ik mocht al heel snel mijn eigen programma maken
|
||||
<span class="author">— Yannick, programmamaker</span>
|
||||
</blockquote>
|
||||
|
||||
<h3>Bestuur, staf en organisatie</h3>
|
||||
@@ -55,14 +55,14 @@
|
||||
<li><strong>Buurt- & clubambassadeurs:</strong> NH Gooi is de stem van het Gooi. We laten graag zien en horen wat er speelt in het Gooi, door en voor inwoners van de Gooi en Vechtstreek. We brengen zo veel mogelijk nieuws en informatie uit alle kernen van het Gooi. Ook willen graag de informatie van clubs, verenigingen en andere, maatschappelijke, organisatie voor het voetlicht brengen. We zoeken ambassadeurs per kern/wijk en club/vereniging/organisatie die verslag willen doen van gebeurtenissen in hun omgeving of club. Of je nu tips doorgeeft aan de redactie of zelf verslag doet via een artikel, foto’s, audio of video – alles is mogelijk. Afhankelijk van jouw kennis, kunde en talent bepalen we samen wat mogelijk is. Sollicitaties met korte motivatie kunnen naar onze chef-redactie Petra de Beij: <a href="mailto:petra.deBeij@NHGooi.nl">petra.deBeij@NHGooi.nl</a>.</li>
|
||||
<li><strong>Lid van het PBO:</strong> Het PBO is het programmabeleidbepalend orgaan van onze omroep. Het PBO komt minimaal drie keer per jaar bij elkaar om het media-aanbodbeleid vast te stellen en te controleren of onze programma’s voldoen aan de wettelijke normen. De leden vertegenwoordigen diverse stromingen binnen onze gemeenten, zodat we een directe binding hebben met ons publiek. Als je betrokken bent bij een van de stromingen in de Gooise samenleving (zoals sport, maatschappelijke zorg, kunst en cultuur, kerkgenootschappen, onderwijs, etnische minderheden, jongeren, ouderen, etc.) en wilt deelnemen aan het PBO, neem dan contact op via <a href="mailto:bestuur@nhgooi.nl">bestuur@nhgooi.nl</a>.</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h2>Vrijwillig maar niet vrijblijvend</h2>
|
||||
<p>Werken aan radio-, televisie-, podcast- en onlineproducties en het draaiende houden van onze organisatie is enorm leuk en inspirerend. Dit vraagt echter expertise, inzet en vasthoudendheid. NH Gooi is een vrijwilligersorganisatie, maar dat betekent niet dat we onderdoen voor een beroepsorganisatie. We vinden het belangrijk dat we op je kunnen rekenen. Vrijwillig is immers niet vrijblijvend. </p>
|
||||
<p>We vragen dat je nieuwsgierig bent, goed kunt samenwerken en gemotiveerd bent om je in te zetten voor NH Gooi. En met wat ervaring heb je een streepje voor! En wil je nieuwe dingen leren? Dan kun je gebruik maken van de opleidingsmogelijkheden.</p>
|
||||
<p>Neem contact met ons op via <a href="mailto:meebouwen@nhgooi.nl">meebouwen@nhgooi.nl</a> en geef aan waar je interesse ligt, welke ervaring je hebt en wat je motivatie is om mee te bouwen aan NH Gooi.</p>
|
||||
|
||||
|
||||
<blockquote>
|
||||
Produceren, presenteren, reportages maken, monteren; ik kon het allemaal leren bij NH Gooi. Wil je iets met radio, ben je van 'wel vrijwillig, maar niet vrijblijvend?' Dan wil ik graag mijn ervaringen met je delen
|
||||
Produceren, presenteren, reportages maken, monteren; ik kon het allemaal leren bij NH Gooi. Wil je iets met radio, ben je van 'wel vrijwillig, maar niet vrijblijvend?' Dan wil ik graag mijn ervaringen met je delen
|
||||
<span class="author">— Michel Stoeltie</span>
|
||||
</blockquote>
|
||||
</div>
|
||||
|
||||
@@ -10,10 +10,20 @@
|
||||
<!--style-->
|
||||
<link href='//fonts.googleapis.com/css?family=Roboto:300,400,700' rel='stylesheet' type='text/css'>
|
||||
<link href='//fonts.googleapis.com/css?family=Roboto+Condensed:300,400,700' rel='stylesheet' type='text/css'>
|
||||
<!--<link rel="stylesheet" type="text/css" href="/css/reset.css">
|
||||
<link rel="stylesheet" type="text/css" href="/css/superfish.css">
|
||||
<link rel="stylesheet" type="text/css" href="/css/jquery.qtip.css">
|
||||
<link rel="stylesheet" type="text/css" href="/css/style.css">
|
||||
<link rel="stylesheet" type="text/css" href="/css/menu_styles.css">
|
||||
<link rel="stylesheet" type="text/css" href="/css/animations.css">
|
||||
<link rel="stylesheet" type="text/css" href="/css/responsive.css">
|
||||
<link rel="stylesheet" type="text/css" href="/css/odometer-theme-default.css">
|
||||
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="/css/nhgooi.css">-->
|
||||
<link rel="stylesheet" type="text/css" href="/css/prettyPhoto.css">
|
||||
<link rel="stylesheet" type="text/css" href="/css/bootstrap-grid.min.css">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
|
||||
<link rel="stylesheet" type="text/css" href="/css/style.min.css?<?= filemtime("../public/css/style.min.css"); ?>" />
|
||||
<link rel="stylesheet" type="text/css" href="/css/style.css?<?= filemtime("../public/css/style.css"); ?>" />
|
||||
<meta property="fb:app_id" content="133349980094758" />
|
||||
<meta property="og:site_name" content="NH Gooi" />
|
||||
<?php if(isset($metadata)) {
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
<a href="https://wa.me/31888505651" target="_blank">Tip <i class="fa-solid fa-circle-plus"></i></a>
|
||||
</li>
|
||||
@if(isset($searchURL))
|
||||
<li>
|
||||
<li class="search">
|
||||
<form class="search_form" action="{{url($searchURL)}}">
|
||||
<input type="text" name="query" placeholder="Zoeken..."
|
||||
value="{{isset($query) ? $query : null}}" class="search_input">
|
||||
@@ -67,13 +67,13 @@
|
||||
<a class="player with_svg_icon" href="{{url('luister/live')}}"><span>Luister live radio </span>{!!file_get_contents(__DIR__ . '/../../../public/images/icons/radio.svg')!!}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="with_svg_icon" href="{{url('kijk/studio')}}"><span>Kijk live tv </span>{!!file_get_contents(__DIR__ . '/../../../public/images/icons/television-2.svg')!!}</a>
|
||||
<a class="with_svg_icon" href="{{url('kijk/live')}}"><span>Kijk live tv </span>{!!file_get_contents(__DIR__ . '/../../../public/images/icons/television-2.svg')!!}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://wa.me/31888505651" style="{{!isset($searchURL) ? 'margin-top: 3px' : ''}}" target="_blank"><span>Tip de streekredactie </span><i style="margin-top: 2px" class="fa-solid fa-circle-plus"></i></a>
|
||||
</li>
|
||||
@if(isset($searchURL))
|
||||
<li>
|
||||
<li class="search">
|
||||
<form class="search_form" action="{{url($searchURL)}}">
|
||||
<input type="text" name="query" placeholder="Zoeken..."
|
||||
value="{{isset($query) ? $query : null}}" class="search_input">
|
||||
@@ -109,18 +109,19 @@
|
||||
<div class="row">
|
||||
<div class="col-12 col-md-3">
|
||||
<h4 class="box_header"><span>NH Gooi</span></h4>
|
||||
<p class="about">
|
||||
NH Gooi is de streekomroep voor Gooi & Vechtstreek. Wij bieden een gevarieerd programma op
|
||||
radio, podcasts, tv en online met muziek, achtergronden en actueel regionieuws.
|
||||
<p class="about">
|
||||
NH Gooi is de streekomroep voor Gooi & Vechtstreek. Wij brengen nieuws en achtergronden
|
||||
op onze website, radio en televisie. Daarnaast brengen we boeiende en belangrijke podcasts
|
||||
en een gevariëerd programma-aanbod op al onze media-kanalen.
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-12 col-md-3">
|
||||
<h4 class="box_header"><span style="height: 30px;display: block;width: 0;"></span></h4>
|
||||
<p class="about">
|
||||
Altijd op de hoogte blijven van nieuws en achtergronden uit de regio? <a href="{{url('app')}}">Download onze app</a>.
|
||||
Altijd op de hoogte blijven van nieuws en achtergronden uit de regio? <span class="fas fa-mobile"></span> <a href="{{url('app')}}">Download onze app</a>.
|
||||
</p>
|
||||
<p class="about">
|
||||
<a href="{{url('frequenties')}}">Klik hier</a> waar je ons kunt zien en horen.
|
||||
<span class="fa fa-list"></span> <a href="{{url('frequenties')}}">Bekijk hier</a> waar je ons kunt zien en horen.
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-12 col-md-3">
|
||||
@@ -172,10 +173,26 @@
|
||||
</div>
|
||||
<div class="background_overlay"></div>
|
||||
<!--js-->
|
||||
<!--<script type="text/javascript" src="/js/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="/js/jquery-migrate-1.4.1.min.js"></script>
|
||||
<script type="text/javascript" src="/js/jquery.ba-bbq.min.js"></script>
|
||||
<script type="text/javascript" src="/js/jquery-ui-1.11.1.custom.min.js"></script>
|
||||
<script type="text/javascript" src="/js/jquery.easing.1.3.js"></script>
|
||||
<script type="text/javascript" src="/js/jquery.carouFredSel-6.2.1-packed.js"></script>
|
||||
<script type="text/javascript" src="/js/jquery.touchSwipe.min.js"></script>
|
||||
<script type="text/javascript" src="/js/jquery.mousewheel.min.js"></script>
|
||||
<script type="text/javascript" src="/js/jquery.transit.min.js"></script>
|
||||
<script type="text/javascript" src="/js/jquery.sliderControl.js"></script>
|
||||
<script type="text/javascript" src="/js/jquery.timeago.js"></script>
|
||||
<script type="text/javascript" src="/js/jquery.hint.js"></script>
|
||||
<script type="text/javascript" src="/js/jquery.qtip.min.js"></script>
|
||||
<script type="text/javascript" src="/js/jquery.blockUI.js"></script>
|
||||
<script type="text/javascript" src="/js/odometer.min.js"></script>-->
|
||||
<script type="text/javascript" src="/js/main.js"></script>
|
||||
<script type="text/javascript" src="/js/jquery-3.7.1.min.js"></script>
|
||||
<script type="text/javascript" src="/js/jquery.prettyPhoto.js"></script>
|
||||
<script type="text/javascript" src="/js/jquery.carouFredSel-6.2.1.min.js"></script>
|
||||
<script type="text/javascript" src="/js/functions.min.js"></script>
|
||||
<script type="text/javascript" src="/js/functions.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(window).resize(function () {
|
||||
// Fix sticky for mobile menu indicator
|
||||
|
||||
@@ -11,16 +11,18 @@
|
||||
<li><a title="Home" href="/">Home</a></li>
|
||||
<li class="separator"><i class="fa-solid fa-chevron-right"></i></li>
|
||||
<li><a title="Nieuws" href="{{route('nieuws')}}">Nieuws</a></li>
|
||||
<li class="separator"><i class="fa-solid fa-chevron-right"></i></li>
|
||||
{{-- <li class="separator"><i class="fa-solid fa-chevron-right"></i></li>
|
||||
<li><a title="{{$news->region->title}}" href="{{route('nieuws.regio', $news->region->slug)}}">{{$news->region->title}}</a></li>
|
||||
<li class="separator"><i class="fa-solid fa-chevron-right"></i></li>
|
||||
--}} <li class="separator"><i class="fa-solid fa-chevron-right"></i></li>
|
||||
<li>{!!$news->title!!}</li>
|
||||
</ul>
|
||||
@endsection
|
||||
|
||||
@section('tags')
|
||||
<ul class="post_tags">
|
||||
<li><a href="{{route('nieuws.regio', $news->region->slug)}}" title="{{$news->region->title}}">{{$news->region->title}}</a></li>
|
||||
@foreach($news->tags as $tag)
|
||||
<li><a href="{{route('nieuws.tag', $tag->slug)}}" title="{{$tag->titel}}">{{$tag->titel}}</a></li>
|
||||
@endforeach
|
||||
</ul>
|
||||
@endsection
|
||||
|
||||
@@ -28,12 +30,6 @@
|
||||
|
||||
<div class="post_body">
|
||||
<ul class="post_details clearfix">
|
||||
@if($news->region && $news->region->title != "Regio")
|
||||
<li class="detail category"><i class="fa-solid fa-location-dot"></i> Regio <a href="{{route('nieuws.regio', $news->region->slug)}}" title="{{$news->region->title}}">{{$news->region->title}}</a></li>
|
||||
@endif
|
||||
@if($news->theme && $news->theme->title != "Overig")
|
||||
<li class="detail category"><i class="fa-solid fa-tag fa-rotate-90"></i> Thema <a href="{{route('nieuws.thema', $news->theme->slug)}}" title="{{$news->theme->title}}">{{$news->theme->title}}</a></li>
|
||||
@endif
|
||||
<li class="detail date">
|
||||
<i class="fa-regular fa-clock"></i>
|
||||
{{Formatter::relativeDate($news->published)}} om {{$news->published->format('H:i')}}
|
||||
@@ -51,30 +47,6 @@
|
||||
</ul>
|
||||
|
||||
|
||||
@if($news->podcast)
|
||||
@include('widgets/mediaplayer')
|
||||
<div class="announcement">
|
||||
<div>
|
||||
<audio controls>
|
||||
<source src="{{ $url = url( $apiUrl . 'podcast/download' . $news->podcast->url . "?auth=" . $news->podcast->auth )}}" type="audio/mpeg" />
|
||||
</audio>
|
||||
</div>
|
||||
<ul class="post_details clearfix">
|
||||
<li class="detail date">
|
||||
<i class="fa-regular fa-clock"></i>
|
||||
{{ Formatter::relativeDate($news->podcast->created) }} uitgezonden
|
||||
@if($news->podcast->program) in <a href="{{ route('programma') . $news->podcast->program->url }}">{{ $news->podcast->program->name }}</a> @endif
|
||||
</li>
|
||||
<li class="detail category">
|
||||
<a href="{{ route('gemist.fragment') . $news->podcast->url }}">
|
||||
<span class="fa "></span>
|
||||
<span>Meer over dit fragment</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="post_content clearfix">
|
||||
<div class="content_box">
|
||||
@if($news->images)
|
||||
@@ -123,6 +95,10 @@
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@if($news->podcast)
|
||||
@include('widgets/podcastplayer', ['podcast' => $news->podcast])
|
||||
@endif
|
||||
|
||||
@if($news->source && $news->source->show)
|
||||
<div class="post-source">
|
||||
<p>Bron: {{$news->source->title}}</p>
|
||||
@@ -133,26 +109,6 @@
|
||||
@include('widgets/share')
|
||||
--}}
|
||||
|
||||
{{--
|
||||
<ul class="taxonomies tags left clearfix">
|
||||
@if($news->keywords)
|
||||
@foreach($news->keywords as $keyword)
|
||||
<li>
|
||||
<a href="{{route('nieuws/onderwerp/' . $keyword)}}" title="Zoek meer nieuws met het onderwerp {{$keyword}}">{{$keyword}}</a>
|
||||
</li>
|
||||
@endforeach
|
||||
@endif
|
||||
</ul>
|
||||
--}}
|
||||
<ul class="post_tags clearfix">
|
||||
<li>Tags:</li>
|
||||
<li>
|
||||
<a href="{{route('nieuws.thema', $news->theme->slug)}}" title="Zoek meer nieuws met het thema {{$news->theme->title}}">{{$news->theme->title}}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{route('nieuws.regio', $news->region->slug)}}" title="Zoek meer nieuws uit de regio {{$news->region->title}}">{{$news->region->title}}</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="share_buttons row">
|
||||
<div class="col-12 col-md-auto">
|
||||
<a data-share="native" href="javascript:void(0)" class="btn">
|
||||
|
||||
@@ -51,16 +51,11 @@
|
||||
title="{{strip_tags($item->title)}}">{!!$item->title!!}</a>
|
||||
</h2>
|
||||
<ul class="post_details clearfix">
|
||||
@if($item->region)
|
||||
<li class="detail category"><i class="fa-solid fa-location-dot"></i> Regio <a
|
||||
href="{{route('nieuws.regio', $item->region->slug)}}"
|
||||
title="{{$item->region->title}}">{{$item->region->title}}</a></li>
|
||||
@endif
|
||||
@if($item->theme)
|
||||
<li class="detail category"><i class="fa-solid fa-tag fa-rotate-90"></i> Thema
|
||||
<a href="{{route('nieuws.thema', $item->theme->slug)}}"
|
||||
title="{{$item->theme->title}}">{{$item->theme->title}}</a></li>
|
||||
@endif
|
||||
@foreach($item->tags as $tag)
|
||||
<li class="detail category"><i class="fa-solid fa-location-dot"></i> <a
|
||||
href="{{route('nieuws.tag', $tag->slug)}}"
|
||||
title="{{$tag->titel}}">{{$tag->titel}}</a></li>
|
||||
@endforeach
|
||||
@if($item->edited && ($item->edited != $item->published))
|
||||
<li class="date edited">
|
||||
<i class="fa-regular fa-clock"></i>
|
||||
|
||||
@@ -1,48 +1,51 @@
|
||||
@foreach($content as $block)
|
||||
@if($block->type == "headerRichA")
|
||||
@php($block->image->url = isset($block->image->crops)
|
||||
? $block->image->crops->{'16:9'}->{'1600'}
|
||||
: $block->image->crop)
|
||||
<a href="{{$block->image->url}}" class="post_image page_margin_top prettyPhoto" rel="prettyPhoto" title="{{$block->image->title}}">
|
||||
<img src="{{$block->image->url}}" alt="{{$block->image->title}}">
|
||||
</a>
|
||||
<div class="sentence margin_top_10">
|
||||
<span class="text">{{$block->image->title}}</span>
|
||||
@if($block->image->author)
|
||||
<span class="author">{{$block->image->author}}</span>
|
||||
@endif
|
||||
</div>
|
||||
@elseif($block->type == "text")
|
||||
<div class="text">{!!$block->text!!}</div>
|
||||
@elseif($block->type == "intro")
|
||||
<h3 class="excerpt">{!!strip_tags($block->text)!!}</h3>
|
||||
@elseif($block->type == "info")
|
||||
@if(strpos($block->text, "Meer nieuws uit 't Gooi?") === false)
|
||||
<div class="info" style="background-color: {{$block->color}};">{!!($block->text)!!}</div>
|
||||
@endif
|
||||
@elseif($block->type == "quote")
|
||||
<blockquote>
|
||||
{!!$block->text!!}
|
||||
<div class="author">{{$block->name}}</div>
|
||||
</blockquote>
|
||||
@elseif($block->type == "image")
|
||||
<?php
|
||||
@if($block->type == "headerRichA")
|
||||
@php($block->image->url = isset($block->image->crops)
|
||||
? $block->image->crops->{'16:9'}->{'1600'}
|
||||
: $block->image->crop)
|
||||
<a href="{{$block->image->url}}" class="post_image page_margin_top prettyPhoto" rel="prettyPhoto"
|
||||
title="{{$block->image->title}}">
|
||||
<img src="{{$block->image->url}}" alt="{{$block->image->title}}">
|
||||
</a>
|
||||
<div class="sentence margin_top_10">
|
||||
<span class="text">{{$block->image->title}}</span>
|
||||
@if($block->image->author)
|
||||
<span class="author">{{$block->image->author}}</span>
|
||||
@endif
|
||||
</div>
|
||||
@elseif($block->type == "text")
|
||||
<div class="text">{!!$block->text!!}</div>
|
||||
@elseif($block->type == "intro")
|
||||
<h3 class="excerpt">{!!strip_tags($block->text)!!}</h3>
|
||||
@elseif($block->type == "info")
|
||||
@if(strpos($block->text, "Meer nieuws uit 't Gooi?") === false)
|
||||
<div class="info" style="background-color: {{$block->color}};">{!!($block->text)!!}</div>
|
||||
@endif
|
||||
@elseif($block->type == "quote")
|
||||
<blockquote>
|
||||
{!!$block->text!!}
|
||||
<div class="author">{{$block->name}}</div>
|
||||
</blockquote>
|
||||
@elseif($block->type == "image")
|
||||
<?php
|
||||
if(isset($block->image->imageWide))
|
||||
$image = $block->image->imageWide;
|
||||
$image = $block->image->imageWide;
|
||||
else if(isset($block->image->crop))
|
||||
$image = $block->image->crop;
|
||||
$image = $block->image->crop;
|
||||
else if(isset($block->image->crops) && isset($block->image->crops->{'16:9'}))
|
||||
foreach($block->image->crops->{'16:9'} as $image) break;
|
||||
else if(isset($block->image->imageHigh))
|
||||
$image = $block->image->imageHigh;
|
||||
else $image = null;
|
||||
?>
|
||||
@if($image)
|
||||
<a class="post_image page_margin_top prettyPhoto" rel="prettyPhoto" href="{{$image}}" title="{{$block->image->title}} © {{$block->image->author}}">
|
||||
<img src="{{$image}}" class="attachment-small-slider-thumb size-small-slider-thumb wp-post-image" alt="{{$block->image->title}}" title="" style="display: block;">
|
||||
</a>
|
||||
<div class="sentence">
|
||||
<?php
|
||||
@if($image)
|
||||
<a class="post_image page_margin_top prettyPhoto" rel="prettyPhoto" href="{{$image}}"
|
||||
title="{{$block->image->title}} © {{$block->image->author}}">
|
||||
<img src="{{$image}}" class="attachment-small-slider-thumb size-small-slider-thumb wp-post-image"
|
||||
alt="{{$block->image->title}}" title="" style="display: block;">
|
||||
</a>
|
||||
<div class="sentence">
|
||||
<?php
|
||||
$sentence = [];
|
||||
if (isset($block->image->caption) && $block->image->caption) {
|
||||
$sentence[] = '<span class="text">' . $block->image->caption . '</span>';
|
||||
@@ -54,52 +57,88 @@
|
||||
}
|
||||
$sentence = join('<span class="separator">|</span>', $sentence);
|
||||
?>
|
||||
{!!$sentence!!}
|
||||
</div>
|
||||
@endif
|
||||
@elseif($block->type == "video" || $block->type == "headerVideo")
|
||||
@include('widgets/mediaplayer')
|
||||
<?php
|
||||
{!!$sentence!!}
|
||||
</div>
|
||||
@endif
|
||||
@elseif($block->type == "video" || $block->type == "headerVideo")
|
||||
@include('widgets/mediaplayer')
|
||||
<?php
|
||||
$attr = '';
|
||||
if (isset($block->video->images[0]->imageMedia) && $block->video->images[0]->imageMedia) {
|
||||
$attr = ' poster="' . $block->video->images[0]->imageMedia . '"';
|
||||
}
|
||||
?>
|
||||
<video controls{!!$attr!!}>
|
||||
@foreach($block->video->streams as $stream)
|
||||
<source src="{!!$stream->stream_url!!}" type="application/x-mpegurl" />
|
||||
@endforeach
|
||||
</video>
|
||||
<div class="sentence">
|
||||
<span class="author">{{$block->video->author}}</span>
|
||||
</div>
|
||||
@elseif($block->type == "carousel")
|
||||
<div class="horizontal_carousel_container gallery">
|
||||
<ul class="horizontal_carousel visible-5 autoplay-1 scroll-1 navigation-1 easing-easeInOutQuint duration-750">
|
||||
@foreach($block->items as $image)
|
||||
<video controls{!!$attr!!}>
|
||||
@foreach($block->video->streams as $stream)
|
||||
<source src="{!!$stream->stream_url!!}" type="application/x-mpegurl" />
|
||||
@endforeach
|
||||
</video>
|
||||
<div class="sentence">
|
||||
<span class="author">{{$block->video->author}}</span>
|
||||
</div>
|
||||
@elseif($block->type == "carousel")
|
||||
<div class="horizontal_carousel_container gallery">
|
||||
<ul class="horizontal_carousel visible-5 autoplay-1 scroll-1 navigation-1 easing-easeInOutQuint duration-750">
|
||||
@foreach($block->items as $image)
|
||||
<?php
|
||||
if(isset($image->image->imageWide))
|
||||
$img = $image->image->imageWide;
|
||||
else if(isset($block->image->crop))
|
||||
$image = $block->image->crop;
|
||||
$image = $block->image->crop;
|
||||
else if(isset($image->image->crops) && isset($image->image->crops->{'16:9'}))
|
||||
foreach($image->image->crops->{'16:9'} as $img) break;
|
||||
else if(isset($image->image->imageHigh))
|
||||
$img = $image->image->imageHigh;
|
||||
else $img = null;
|
||||
$img = $image->image->imageHigh;
|
||||
else $img = null;
|
||||
?>
|
||||
@if($img)
|
||||
<li>
|
||||
<a href="{{$img}}" class="post_image prettyPhoto" rel="prettyPhoto[gallery]" title="{{$image->image->title}} © {{$image->image->author}}">
|
||||
<img src="{{$img}}" alt="{{$image->image->title}}" title="{{$image->image->title}}">
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{$img}}" class="post_image prettyPhoto" rel="prettyPhoto[gallery]"
|
||||
title="{{$image->image->title}} © {{$image->image->author}}">
|
||||
<img src="{{$img}}" alt="{{$image->image->title}}" title="{{$image->image->title}}">
|
||||
</a>
|
||||
</li>
|
||||
@endif
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
@elseif($block->type == "oembed")
|
||||
<div class="oembed" data-url="{{$block->url}}">{!!$block->html!!}</div>
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
@elseif($block->type == "oembed")
|
||||
<div class="oembed" data-url="{{$block->url}}">{!!$block->html!!}</div>
|
||||
@elseif($block->type == "podcast" && $block->id == $news->podcast?->id)
|
||||
@include('widgets/podcastplayer', ['podcast' => $news->podcast])
|
||||
<? $news->podcast = null; // Avoid adding the player again ?>
|
||||
@elseif($block->type == 'article' && count($block->articles) && $block->articles[0]->published)
|
||||
<div class="block">
|
||||
<h4 class="box_header"><span>{{ $block->title }}</span></h4>
|
||||
<div class="box full-width">
|
||||
<ul id="items-more-news" class="blog">
|
||||
@foreach($block->articles as $article)
|
||||
<? if(!isset($article->published)) continue;
|
||||
$article->published = new \DateTime($article->published); ?>
|
||||
<li class="post">
|
||||
<div class="row">
|
||||
@if($article->image)
|
||||
<div class="col-4">
|
||||
<a href="{{ route('nieuws.detail', ['id' => $article->id, 'title' => $article->slug]) }}"
|
||||
title="{{ $article->title }}">
|
||||
<img src="{{ $article->image }}" alt="{{ $article->image_title }}">
|
||||
</a>
|
||||
</div>
|
||||
@endif
|
||||
<div class="col-8">
|
||||
<h2 class="post_title"><a class="clipText clipText-3"
|
||||
href="{{ route('nieuws.detail', ['id' => $article->id, 'title' => $article->slug]) }}"
|
||||
title="{!! $article->title !!}">{!! $article->title !!}</a></h2>
|
||||
<span class="post_date" title="Vandaag om 09:30">
|
||||
<i class="fa-regular fa-clock"></i>
|
||||
{{Formatter::relativeDate($article->published)}} om {{$article->published->format('H:i')}}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@endforeach
|
||||
@@ -120,7 +120,7 @@ function buildMenu($menu, $ismobile)
|
||||
<div></div>
|
||||
<ul class="menu d-none d-lg-block">
|
||||
<li class="{{isActive('/', false) ? "selected" : ""}}">
|
||||
<a href="/" title="Home">Home</a>
|
||||
<a href="/" title="Nieuws">Nieuws</a>
|
||||
</li>
|
||||
<?php /*@php($newsUrl = '/nieuws')
|
||||
<li class="{{isActive($newsUrl, false) ? "selected" : ""}}">
|
||||
@@ -143,7 +143,7 @@ function buildMenu($menu, $ismobile)
|
||||
</div>
|
||||
</li>
|
||||
<li class="{{isActive('/', false) ? "selected" : ""}}">
|
||||
<a href="/" title="Home">Home</a>
|
||||
<a href="/" title="Nieuws">Nieuws</a>
|
||||
</li>
|
||||
@php($newsUrl = '/nieuws')
|
||||
<li class="{{isActive($newsUrl, false) ? "selected" : ""}}">
|
||||
|
||||
@@ -0,0 +1,56 @@
|
||||
<div class="content pt-2">
|
||||
@if($podcast == null)
|
||||
<span>De podcast kan helaas (op dit moment) niet weergegeven worden.</span>
|
||||
@else
|
||||
@include('widgets/mediaplayer')
|
||||
|
||||
@if ($podcast)
|
||||
<?php
|
||||
$audioUrl = url($apiUrl . 'podcast/download' . $podcast->url . "?auth=" . $podcast->auth);
|
||||
$popoutUrl = route('luister.podcast') . $podcast->url . '?auth=' . $podcast->auth;
|
||||
?>
|
||||
<div class="announcement p-3">
|
||||
<h3 class="page_title">{{$podcast->title}}</h3>
|
||||
<div class="post_body">
|
||||
<ul class="post_details clearfix">
|
||||
<li class="detail date">
|
||||
<i class="fa-regular fa-clock"></i>
|
||||
{{ Formatter::relativeDate($podcast->created) }}
|
||||
</li>
|
||||
@if($podcast->program)
|
||||
<li class="detail author">
|
||||
<a href="{{ route('programma') . $podcast->program->url }}">{{ $podcast->program->name }}</a>
|
||||
</li>
|
||||
@endif
|
||||
</ul>
|
||||
|
||||
<audio controls>
|
||||
<source src="{{$audioUrl}}" type="audio/mpeg" />
|
||||
</audio>
|
||||
<div class="clearfix">
|
||||
<a class="action_button btn" href="{{$audioUrl}}" title="Download dit fragment als MP3">
|
||||
<span>Download fragment</span>
|
||||
</a>
|
||||
<a class="action_button btn player" href="{{$popoutUrl}}">
|
||||
<span>Luister in nieuw venster</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="row content_box clearfix mt-2">
|
||||
@if($podcast->image)
|
||||
<div class="col-3">
|
||||
<img src="{{$imgBase . $podcast->image->url}}" title="{{$podcast->image->title}}"
|
||||
style="display: block; width: 100%;" />
|
||||
<div class="sentence">
|
||||
<span class="text">{{$podcast->image->title}}</span>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
<div class="col excerpt">{!!$podcast->content!!}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@endif
|
||||
@endif
|
||||
</div>
|
||||
@@ -17,6 +17,7 @@ Route::get('/nieuws', 'NewsController@overview')->name('nieuws');
|
||||
Route::get('/nieuws/more', 'NewsController@more')->name('nieuws.more');
|
||||
Route::get('/nieuws/populair', 'NewsController@populair')->name('nieuws.populair');
|
||||
Route::get('/nieuws/regio/{region}', 'NewsController@regionlist' )->where(['region' => '[a-z0-9]+'])->name('nieuws.regio');
|
||||
Route::get('/nieuws/tag/{tag}', 'NewsController@taglist' )->where(['tag' => '[a-z0-9-]+'])->name('nieuws.tag');
|
||||
Route::get('/nieuws/thema/{theme}', 'NewsController@themelist' )->where(['themelist' => '[a-z0-9]+'])->name('nieuws.thema');
|
||||
Route::get('/nieuws/{id}/{title}', 'NewsController@show')->where(['id' => '\d+'])->name('nieuws.detail');
|
||||
Route::get('/nieuws/zoeken/{query}', 'NewsController@search')->name('nieuws.zoeken');
|
||||
@@ -52,6 +53,7 @@ Route::get('/luister/fragment')->name('luister.podcast');
|
||||
Route::get('/luister/programma/{year}/{month}/{day}/{hour}/{duration}/{offset?}', 'StreamController@program')
|
||||
->where(['id' => '\d+', 'year' => '20\d\d', 'month' => '\d\d?', 'day' => '\d\d?', 'hour' => '\d\d?', 'duration' => '\d\d?', 'offset' => '\d\d?']);
|
||||
Route::get('/luister/programma')->name('luister.programma');
|
||||
Route::get('/luister/fragment/inline/{id}', 'StreamController@inline')->where(['id' => '\d+']);
|
||||
|
||||
Route::get('/gemist', 'RadioController@podcasts')->name('gemist');
|
||||
Route::get('/gemist/zoeken/{query}', 'RadioController@searchpodcast')->name('gemist.zoeken');
|
||||
|
||||
Reference in new issue
Block a user