@extends('website.layout')

@section('content')
    @foreach($sections as $section)
        <section id="section-{{ $section->section_key->value }}">
            @include('website.sections.' . $section->section_key->value, [
                'section' => $section,
                'academy' => $academy,
                'settings' => $settings,
                'data' => $data,
            ])
        </section>
    @endforeach
@endsection
