@extends('layouts.app')

@section('content')

  <main id="journal" class="bg-white">
    
    


          @if($page_name == "partnering-events") 
                  
            @include('pages.partnering_events')
          
          
          @elseif($page_name == "price-order-terms-conditions")
            
            @include('pages.price_order_terms_conditions')
            
            
            @elseif($page_name == "exhibit-schedule")
            
            @include('pages.exhibit_schedule')


            @elseif($page_name == "publishing-ethics")

            <section>
              <div class="container">
                <div class="call-services ethics">

                  <h2 class="h4">Publishing Ethics and Rectitude</h2>

                  <hr>
                
                  @php 

                    @include('publishing-ethics/publishing-ethics.html');

                  @endphp

                </div>
              </div>
            </section>

            @elseif($page_name == "publishing-ethics")

            <section>
              <div class="container">
                <div class="call-services ethics">

                  <h2 class="h4">Publishing Ethics and Rectitude</h2>

                  <hr>
                
                  @php 

                    @include('publishing-ethics/publishing-ethics.html');

                  @endphp

                </div>
              </div>
            </section>


            include('editorial-policies/'.strtolower($journal->subtitle).'-editorial-policies.html'); 



            @elseif($page_name == "new-journals-2021")
            
            @include('pages.new_journals_2021')


            @elseif($page_name == "new-journals-2022")
            
            @include('pages.new_journals_2022')


            @elseif($page_name == "general-faqs")
            
            @include('pages.general_faqs')


            @elseif($page_name == "bsp-content")
            
            @include('pages.bsp_content')


            @elseif($page_name == "author-benefits")
            
            @include('pages.author_benefits')


            @elseif($page_name == "editorial-policies-main")
            
            @include('pages.editorial_policies_main')


            @else

            

              <script type="text/javascript">
                window.location = "{{ url('/') }}";//Redirect to home page if url not found or invalid
              </script>

               
            
            
          

          @endif


    
  </main>
  
  <!----Main Section Ends----> 


@endsection
