Skip to content

Commit

Permalink
Added default footer for projects
Browse files Browse the repository at this point in the history
  • Loading branch information
PavlosIsaris committed Oct 15, 2024
1 parent 5d75169 commit 40a75da
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions resources/views/crowdsourcing-project/layout.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,22 @@
@include('partials.staging-indicator')
@include('crowdsourcing-project.partials.navbar')
@include('partials.flash-messages-and-errors')
<div id="app" class="project-layout" style="padding-top: @if (App::environment('staging')) 128.75px @else 93.75px @endif">
<div id="app" class="project-layout"
style="padding-top: @if (App::environment('staging')) 128.75px @else 93.75px @endif">
@yield('content')
</div>
@if(isset($viewModel->project))
@if(isset($viewModel->project) && $viewModel->project->defaultTranslation->footer)
<footer class="py-5">
<div class="container">
{!! $viewModel->project->defaultTranslation->footer !!}
</div>
</footer>
@else
<footer class="pt-5">
<div class="container-fluid">
@include('home.partials.' . config('app.installation_resources_dir') . '.footer')
</div>
</footer>
@endif
<div id="pyro" class="">
<div class="before"></div>
Expand Down

0 comments on commit 40a75da

Please sign in to comment.