@php
    use App\Models\Faq;

@endphp
@extends('layouts.main')

@section('content')
    <div class="container mt-5">
        <h1 class="mt-4 mb-4">Pricing</h1>
        <div class="row">
            @foreach(config('site.pricing') as $price)
                @if(($price['startDate'] ?? null) === null || $price['startDate'] > now())
                    @include('components.price', $price)
                @endif
            @endforeach
        </div>
        <div class="mt-5 row">
            <div class="col-md-6">
                <div class="card m-3">
                    <div class="card-body text-center">
                        Still have questions?
                    </div>
                    <div class="card-footer text-center display-6">
                        <a href="{{ route('FAQs') }}">
                            <button class="btn btn-primary">FAQs</button>
                        </a>
                    </div>
                </div>
            </div>
                <div class="col-md-6">
                    <div class="card m-3">
                        <div class="card-body text-center">
                            For Couples/Family/Student/Blue light membership or any other questions
                        </div>
                        <div class="card-footer text-center display-6">
                            <a href="{{ route('Contact us') }}">
                                <button class="btn btn-primary">Contact Us</button>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
@endsection
