Peter Muturi 4 years ago
parent
commit
bc8d5471cf
3 changed files with 7 additions and 4 deletions
  1. 3 1
      .env.example
  2. 1 0
      config/app.php
  3. 3 3
      resources/views/layouts/login.blade.php

+ 3 - 1
.env.example

@@ -56,4 +56,6 @@ BACKEND_URL="http://localhost:8080/api/"
 
 AUTH_URL="http://localhost:3002"
 
-BACK_TO_LEADERSHIP_HEALTH_URL = "http://localhost:8006"
+BACK_TO_LEADERSHIP_HEALTH_URL = "http://localhost:8006"
+
+PHONE_NUMBER="(800) 990-5491"

+ 1 - 0
config/app.php

@@ -15,6 +15,7 @@ return [
 
     'name' => env('APP_NAME', 'Laravel'),
     'backToLeadershipHealthUrl' => env('BACK_TO_LEADERSHIP_HEALTH_URL'),
+    'phone' => env('PHONE_NUMBER'),
 
     /*
     |--------------------------------------------------------------------------

+ 3 - 3
resources/views/layouts/login.blade.php

@@ -83,7 +83,7 @@
             </ul>
             <ul class="navbar-nav ml-auto">
                 <li class="nav-item web">
-                    <a class="d-flex align-items-center nav-link" href="tel:1-800-707-9705"><img class="mr-1" height="20" src="{{asset('img/phone.svg')}}">1-800-707-9705</a>
+                    <a class="d-flex align-items-center nav-link" href="tel:{{config('app.phone')}}"><img class="mr-1" height="20" src="{{asset('img/phone.svg')}}">{{config('app.phone')}}</a>
                 </li>
                 <li class="nav-item">
                     <a class="d-flex align-items-center nav-link" href="{{ config('app.backToLeadershipHealthUrl') }}">
@@ -132,8 +132,8 @@
                 <img src="{{asset('img/logo-white.svg')}}">
             </div>
             <div class="text-center">
-                <a href="tel:1-800-707-9705" class="text-white">
-                    <h5 class="mt-2">1-800-707-9705</h5>
+                <a href="tel:{{config('app.phone')}}" class="text-white">
+                    <h5 class="mt-2">{{config('app.phone')}}</h5>
                 </a>
                 <a style="display: none;" href="https://leadershiphealth.org/covid" class="text-white">
                     COVID Resources