Skip to content

Commit

Permalink
team page db integration
Browse files Browse the repository at this point in the history
  • Loading branch information
papachristoumarios committed Feb 19, 2018
1 parent 19f628e commit 7738f69
Show file tree
Hide file tree
Showing 7 changed files with 24,708 additions and 24,686 deletions.
8 changes: 5 additions & 3 deletions app/Http/Controllers/TeamController.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@ public function index(Request $request) {
$speakers = $person::where('team_type', 'speakers')->get();
$media = $person::where('team_type', 'media')->get();
$graphics = $person::where('team_type', 'graphics')->get();

$isPjax = $request->header('X-PJAX');
if($isPjax) {
return response()->view('team', compact('isPjax', 'it'), 200)
return response()->view('team', compact('isPjax', 'it', 'experience',
'fr', 'media', 'venue', 'speakers', 'graphics'), 200)
->header('X-PJAX-URL', LaravelLocalization::getLocalizedURL());
}
return view('team', compact('it'));
return view('team', compact('it', 'experience',
'fr', 'media', 'venue', 'speakers', 'graphics'));
}
}
18 changes: 18 additions & 0 deletions public/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -14083,6 +14083,24 @@ article.contact .g-recaptcha.error > div {
.lang-dropdown {
display: none !important;
}

[data-tooltip].tooltip-bottom:after {
top: 0%;
}

[data-tooltip].tooltip-bottom:before {
top: 90%;
/* arrow pointing up */
border-bottom: 16px solid #222222;
}

[data-tooltip].tooltip-bottom:hover:after {
top: calc(100% + 8px);
}

[data-tooltip].tooltip-bottom:hover:before {
top: calc(100% - 8px);
}
}

@media (min-width: 576px) {
Expand Down
Loading

0 comments on commit 7738f69

Please sign in to comment.