Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: learning page missing content #615

Merged
merged 2 commits into from
Sep 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion resources/views/pages/landing.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
@endsection

@section('associated_pages')
@if(Request::is('learning'))
@if(Request::is('learn-with-us'))
@include('includes.elements.schools-project')
@endif
<div class="container">
Expand Down
22 changes: 11 additions & 11 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,17 +113,17 @@
/*
learning routes
*/
Route::get('learn-with-us/look-think-do/', 'learn-with-usController@lookThinkDoMain')->name('ltd');
Route::get('learn-with-us/look-think-do/{slug}', 'learn-with-usController@lookThinkDoActivity')->name('ltd-activity');
Route::get('learn-with-us/resources/', 'learn-with-usController@resources')->name('learn-with-us-resources');
Route::get('learn-with-us/resources/{slug}', 'learn-with-usController@resource')->name('learn-with-us-resource');
Route::get('learn-with-us/school-sessions/{slug}', 'learn-with-usController@session')->name('school-sessions');
Route::get('learn-with-us/community-programming/{slug}', 'learn-with-usController@community')->name('community-programming');

Route::get('learn-with-us/young-people/{slug}', 'learn-with-usController@young')->name('young-people');
Route::get('learn-with-us/contact-us/', 'learn-with-usController@profiles')->name('learn-with-us-profiles');
Route::get('learn-with-us/adult-programming/{slug}', 'learn-with-usController@adult')->name('adult-activity');
Route::get('learn-with-us/gallery-activities/{slug}', 'learn-with-usController@galleryActivity')->name('gallery-activity');
Route::get('learn-with-us/look-think-do/', 'learningController@lookThinkDoMain')->name('ltd');
Route::get('learn-with-us/look-think-do/{slug}', 'learningController@lookThinkDoActivity')->name('ltd-activity');
Route::get('learn-with-us/resources/', 'learningController@resources')->name('learn-with-us-resources');
Route::get('learn-with-us/resources/{slug}', 'learningController@resource')->name('learn-with-us-resource');
Route::get('learn-with-us/school-sessions/{slug}', 'learningController@session')->name('school-sessions');
Route::get('learn-with-us/community-programming/{slug}', 'learningController@community')->name('community-programming');

Route::get('learn-with-us/young-people/{slug}', 'learningController@young')->name('young-people');
Route::get('learn-with-us/contact-us/', 'learningController@profiles')->name('learn-with-us-profiles');
Route::get('learn-with-us/adult-programming/{slug}', 'learningController@adult')->name('adult-activity');
Route::get('learn-with-us/gallery-activities/{slug}', 'learningController@galleryActivity')->name('gallery-activity');

/*
* Object and highlight routes
Expand Down