Samson Mutunga 2 سال پیش
والد
کامیت
d302edb227

+ 6 - 0
config/app.php

@@ -17,6 +17,12 @@ return [
 
     'recaptchaSiteKey' => env('RECAPTCHA_SITE_KEY', ''),
     'recaptchaSecretKey' => env('RECAPTCHA_SECRET_KEY', ''),
+    'forPatientAddress' => env('FOR_PATIENT_ADDRESS', ''),
+    'forPatientGeneralQuestionEmailAddress' => env('FOR_PATIENT_GENERAL_QUESTION_EMAIL_ADDRESS', ''),
+    'forPatientGeneralQuestionPhoneNumber' => env('FOR_PATIENT_GENERAL_QUESTION_PHONE_NUMBER', ''),
+
+    'forPhysicianGeneralQuestionEmailAddress' => env('FOR_PHYSICIAN_GENERAL_QUESTION_EMAIL_ADDRESS', ''),
+    'forPhysicianGeneralQuestionPhoneNumber' => env('FOR_PHYSICIAN_GENERAL_QUESTION_PHONE_NUMBER', ''),
 
     /*
     |--------------------------------------------------------------------------

+ 5 - 7
resources/views/app/contact.blade.php

@@ -92,9 +92,7 @@
           <h5 class="header m-0">Our Office</h5>
           <hr class="w-100 my-3">
           <div class="">
-            258 Chapman Road, <br>
-            Suite 101-A, <br>
-            Newark, DE 19702
+          <?= config('app.forPatientAddress') ?>
           </div>
         </div>
         <div class="col-sm-6 mb-4">
@@ -102,13 +100,13 @@
           <hr class="w-100 my-3">
           <h5 class="mb-2">General questions</h5>
           <div class="mb-4">
-            <a class="text-dark" href="mailto:info@snyderhemband.com">info@snyderhemband.com</a> <br>
-            <a class="text-dark" href="tel:(800) 290-9092">(800) 290-9092</a>
+            <a class="text-dark" href="mailto:{{ config('app.forPatientGeneralQuestionEmailAddress') }}">{{ config('app.forPatientGeneralQuestionEmailAddress') }}</a> <br>
+            <a class="text-dark" href="tel:{{ config('app.forPatientGeneralQuestionPhoneNumber') }}">{{ config('app.forPatientGeneralQuestionPhoneNumber') }}</a>
           </div>
           <h5 class="mb-2">For physicians</h5>
           <div class="mb-4">
-            <a class="text-dark" href="mailto:phy@snyderhemband.com">phy@snyderhemband.com</a> <br>
-            <a class="text-dark" href="tel:(800) 290-9092">(800) 290-9092</a>
+            <a class="text-dark" href="mailto:{{ config('app.forPhysicianGeneralQuestionEmailAddress') }}">{{ config('app.forPhysicianGeneralQuestionEmailAddress') }}</a> <br>
+            <a class="text-dark" href="tel:{{ config('app.forPhysicianGeneralQuestionPhoneNumber') }}">{{ config('app.forPhysicianGeneralQuestionPhoneNumber') }}</a>
           </div>
         </div>
       </div>

+ 1 - 1
resources/views/app/find-a-clinic.blade.php

@@ -34,7 +34,7 @@
           <hr class="w-100 my-3">
           <h5 class="mb-2">General questions</h5>
           <div class="mb-4">
-            <a class="text-dark" href="mailto:info@snyderhemband.com">info@snyderhemband.com</a> <br>
+            <a class="text-dark" href="mailto:{{ config('app.forPatientGeneralQuestionEmailAddress') }}">{{ config('app.forPatientGeneralQuestionEmailAddress') }}</a> <br>
             <a class="text-dark" href="tel:+1-833-444-8448">+1-833-444-8448</a>
           </div>
           <h5 class="mb-2">For physicians</h5>

+ 1 - 1
resources/views/app/physicians/get-trained.blade.php

@@ -33,7 +33,7 @@
           <hr class="w-100 my-3">
           <h5 class="mb-2">General questions</h5>
           <div class="mb-4">
-            <a class="text-dark" href="mailto:info@snyderhemband.com">info@snyderhemband.com</a> <br>
+            <a class="text-dark" href="mailto:{{ config('app.forPhysicianGeneralQuestionEmailAddress') }}">{{ config('app.forPhysicianGeneralQuestionEmailAddress') }}</a> <br>
             <a class="text-dark" href="tel:+1-833-444-8448">+1-833-444-8448</a>
           </div>
           <h5 class="mb-2">For physicians</h5>

+ 1 - 1
resources/views/app/physicians/order-products/ligators.blade.php

@@ -31,7 +31,7 @@
     </div>
     <div class="col-lg-8">
       <h4 class="header">Order Snyder HemBand Ligators Today</h4>
-      <p class="mt-4">If you are a licensed health practitioner who is trained in the Snyder HemBand system, then you’re eligible to order ligators. Submit your order here [hyperlink to order form], call or fax us at <a href="tel:(800) 290-9092">(800) 290-9092</a> , or send us an order form at <a href="mailto:info@snyderhemband.org">info@snyderhemband.org</a>.</p>
+      <p class="mt-4">If you are a licensed health practitioner who is trained in the Snyder HemBand system, then you’re eligible to order ligators. Submit your order here [hyperlink to order form], call or fax us at <a href="tel:{{ config('app.forPhysicianGeneralQuestionPhoneNumber') }}">{{ config('app.forPhysicianGeneralQuestionPhoneNumber') }}</a> , or send us an order form at <a href="mailto:{{ config('app.forPhysicianGeneralQuestionEmailAddress') }}">{{ config('app.forPhysicianGeneralQuestionEmailAddress') }}</a>.</p>
       <p>However, if you or your practice have not received training on the Snyder HemBand System, you can request training online and we will contact you shortly to schedule.</p>
       <div class="text-center my-4">
         <a href="{{route('physicians.get-trained')}}" class="btn btn-pry px-5 py-3">Schedule Training</a>

+ 1 - 1
resources/views/app/physicians/order-products/obp.blade.php

@@ -33,7 +33,7 @@
       <h4 class="header">Order your OBP ANOSPEC Anoscopes with Snyder HemBand</h4>
       <p class="mt-4">We’re pleased to offer OBP ANOSPEC anoscopes through Snyder HemBand.</p>
       <p>The OBP ANOSPEC is a completely hygienic, single-use anoscope that comes ready to use immediately. It features its own obturator and single-use LED light source that doesn’t require assembly or charging.</p>
-      <p>You can <a href="#">order them here</a>, call us at <a href="tel:(800) 290-9092">(800) 290-9092</a> , or submit an order form via fax or email <a href="mailto:info@snyderhemband.org">info@snyderhemband.org</a>.</p>
+      <p>You can <a href="#">order them here</a>, call us at <a href="tel:{{ config('app.forPhysicianGeneralQuestionPhoneNumber') }}">{{ config('app.forPhysicianGeneralQuestionPhoneNumber') }}</a> , or submit an order form via fax or email <a href="mailto:info@snyderhemband.org">info@snyderhemband.org</a>.</p>
     </div>
   </div>
 </div>

+ 12 - 8
resources/views/layouts/app.blade.php

@@ -97,23 +97,27 @@
                 <img src="{{asset('img/logo_white.svg')}}" width="220" alt="">
               </div>
               <div class="col-lg-3 col-md-4">
-                <p class="mb-4"><a class="text-white" href="{{route('aboutHem')}}">About hemorrhoids</a></p>
-                <p class="mb-4"><a class="text-white" href="{{route('treatment')}}">Treatment guide</a></p>
-                <p class="mb-4"><a class="text-white" href="{{route('postCare')}}">Post-treatment care</a></p>
+                <p class="mb-2"><a class="text-white" href="{{route('aboutHem')}}">About hemorrhoids</a></p>
+                <p class="mb-2"><a class="text-white" href="{{route('snyderhemband')}}">How it works</a></p>
+                <p class="mb-2"><a class="text-white" href="{{route('treatment')}}">Treatment guide</a></p>
+                <p class="mb-2"><a class="text-white" href="{{route('postCare')}}">Post-treatment care</a></p>
               </div>
               <div class="col-lg-3 col-md-3 offset-lg-0 offset-md-1">
-                <p class="mb-4"><a href="{{ route('physicians.index') }}" class="text-white">For physicians</a></p>
-                <p class="mb-4"><a href="{{route('compare')}}" class="text-white">Compare treatment options</a></p>
+                <p class="mb-2"><a href="{{ route('physicians.index') }}" class="text-white">For physicians</a></p>
+                <p class="mb-2"><a href="{{route('compare')}}" class="text-white">Compare treatment options</a></p>
+                <p class="mb-2"><a href="{{route('faqs')}}" class="text-white">FAQs</a></p>
+                <p class="mb-2"><a href="{{route('find-a-clinic')}}" class="text-white">Find a clinic</a></p>
               </div>
               <div class="col-lg-3 col-md-4">
-                <p class="mb-4"><a href="{{route('contact')}}" class="text-white">Contact us</a></p>
-                <p class="mb-4"><a href="mailto:info@snyderhemband.org<" class="text-white">info@snyderhemband.org</a></p>
+                <p class="mb-2"><a href="{{route('contact')}}" class="text-white">Contact us</a></p>
+                <p class="mb-2"><a class="text-white"><?= config('app.forPatientAddress') ?></a></p>
+                <p class="mb-2"><a href="mailto:{{ config('app.forPatientGeneralQuestionEmailAddress') }}" class="text-white">{{ config('app.forPatientGeneralQuestionEmailAddress') }}</a></p>
               </div>
             </div>
             <hr class="bg-white">
             <div class="d-flex flex-lg-row flex-column-reverse text-lg-start text-center align-items-center justify-content-between pb-2">
               <div class="text-white mt-lg-0 mt-2">
-                <span class="opacity-75">&copy; 2022 SNYDER HEMBAND - All rights reserved.</span>
+                <span class="opacity-75">&copy; {{date('Y')}} SNYDER HEMBAND - All rights reserved.</span>
               </div>
               <div class="d-sm-flex">
                 <div class="mt-sm-0 mt-2">

+ 10 - 9
resources/views/layouts/physicians.blade.php

@@ -73,25 +73,26 @@
                 <img src="{{asset('img/logo_white.svg')}}" width="220" alt="">
               </div>
               <div class="col-lg-3 col-md-4">
-                <p class="mb-4"><a href="{{ route('index') }}" class="text-white">Snyder Hemband</a></p>
-                <p class="mb-4"><a href="{{route('physicians.practice-support')}}" class="text-white">Practice Support</a></p>
-                <p class="mb-4"><a href="{{route('physicians.order-products')}}" class="text-white">Order Products</a></p>
+                <p class="mb-2"><a href="{{ route('index') }}" class="text-white">Snyder Hemband</a></p>
+                <p class="mb-2"><a href="{{route('physicians.practice-support')}}" class="text-white">Practice Support</a></p>
+                <p class="mb-2"><a href="{{route('physicians.order-products')}}" class="text-white">Order Products</a></p>
 
               </div>
               <div class="col-lg-3 col-md-3 offset-lg-0 offset-md-1">
-                <p class="mb-4"><a href="{{route('index')}}" class="text-white">For Patients</a></p>
-                <p class="mb-4"><a href="{{route('physicians.get-trained')}}" class="text-white">Schedule For Training</a></p>
-                <!-- <p class="mb-4"><a href="{{route('physicians.fda-registration')}}" class="text-white">FDA Registration</a></p> -->
+                <p class="mb-2"><a href="{{route('index')}}" class="text-white">For Patients</a></p>
+                <p class="mb-2"><a href="{{route('physicians.get-trained')}}" class="text-white">Schedule For Training</a></p>
+                <p class="mb-2"><a href="{{route('physicians.instructions-for-use')}}" class="text-white">Instructions for use</a></p>
+                <!-- <p class="mb-2"><a href="{{route('physicians.fda-registration')}}" class="text-white">FDA Registration</a></p> -->
               </div>
               <div class="col-lg-3 col-md-4">
-              <p class="mb-4"><a href="{{route('physicians.contact-us')}}" class="text-white">Contact Us</a></p>
-                <p class="mb-4"><a href="mailto:phy@snyderhemband.org" class="text-white">phy@snyderhemband.org</a></p>
+              <p class="mb-2"><a href="{{route('physicians.contact-us')}}" class="text-white">Contact Us</a></p>
+                <p class="mb-2"><a href="mailto:{{ config('app.forPhysicianGeneralQuestionEmailAddress') }}" class="text-white">{{ config('app.forPhysicianGeneralQuestionEmailAddress') }}</a></p>
               </div>
             </div>
             <hr class="bg-white">
             <div class="d-flex flex-lg-row flex-column-reverse text-lg-start text-center align-items-center justify-content-between pb-2">
               <div class="text-white mt-lg-0 mt-2">
-                <span class="opacity-75">&copy; 2022 SNYDER HEMBAND - All rights reserved.</span>
+                <span class="opacity-75">&copy; {{date('Y')}} SNYDER HEMBAND - All rights reserved.</span>
               </div>
               <div class="d-sm-flex">
                 <div class="mt-sm-0 mt-2">