PageRenderTime 59ms CodeModel.GetById 6ms RepoModel.GetById 0ms app.codeStats 1ms

/resources/views/front/sections/footer.blade.php

https://gitlab.com/fayimora/pp
PHP | 187 lines | 178 code | 9 blank | 0 comment | 3 complexity | 313a4eeffd83e65782e82d5bba8bb86b MD5 | raw file
  1. <footer class="bitebug-footer">
  2. <div class="bitebug-footer-content-container container">
  3. <div class="bitebug-row-footer-container row">
  4. <div class="bitebug-col-footer col-sm-4">
  5. <div class="bitebug-col-footer-small-container">
  6. <a href="{{ route('contact-page') }}"><h4 class="bitebug-title-footer">Contact</h4></a>
  7. <p class="para-info-footer hidden-xs">Connect &amp; share with mans best friend on social media</p>
  8. <div class="bitebug-icon-footer-container">
  9. <a href="https://www.facebook.com/poochie.me.london" target="_blank">
  10. <span class="fa-stack fa-md">
  11. <i class="fa fa-circle fa-stack-2x"></i>
  12. <i class="fa fa-facebook bitebug-fa-twitter-footer fa-stack-1x fa-inverse"></i>
  13. </span>
  14. </a>
  15. <a href="https://instagram.com/poochie_me" target="_blank">
  16. <span class="fa-stack fa-md">
  17. <i class="fa fa-circle fa-stack-2x"></i>
  18. <i class="fa fa-instagram bitebug-fa-instagram-footer fa-stack-1x fa-inverse"></i>
  19. </span>
  20. </a>
  21. <a href="http://twitter.com/poochie_me" target="_blank">
  22. <span class="fa-stack fa-md">
  23. <i class="fa fa-circle fa-stack-2x"></i>
  24. <i class="fa fa-twitter bitebug-fa-twitter-footer fa-stack-1x fa-inverse"></i>
  25. </span>
  26. </a>
  27. </div>
  28. <p class="para-info-footer-strong hidden-xs">Got questions?</p>
  29. <p class="para-info-footer"><a href="mailto:support@poochie.me">support@poochie.me</a></p>
  30. </div>
  31. </div>
  32. <div id="poochie-subscribe" class="bitebug-col-footer col-sm-4">
  33. <div class="bitebug-col-footer-small-container">
  34. <form action="#" id="newsletterSubscribe" method="post">
  35. <h4 class="bitebug-title-footer bitebug-title-footer-2-for-mobile">Stay In The Loop</h4>
  36. <p class="para-info-footer para-info-footer-break para-info-footer-for-mobile">Share your email address with us to hear Poochies news, and to be the first to know about expansions to new areas...</p>
  37. <input type="text" name="name" class="bitebug-first-input-field-footer" placeholder=" Tell us your name..."/>
  38. <div class="input-group">
  39. <input type="email" name="email" class="bitebug-input-field-email-footer form-control" placeholder="...and email address">
  40. <span class="input-group-btn">
  41. <button id="newsletterBtn" class="btn btn-default bitebug-button-send-email-footer" type="button" placeholder=""><i class="bitebug-fa-chevron-footer fa fa-chevron-right"></i></button>
  42. </span>
  43. </div>
  44. <div id="bitebug-newsletter-error" class="alert alert-danger bitebug-newsletter-msg" role="alert">
  45. <p>Oops... There was an error...</p>
  46. <ul id="bitebug-newsletter-error-ul">
  47. </ul>
  48. </div>
  49. <div id="bitebug-newsletter-msg-ok" class="alert alert-success bitebug-newsletter-msg" role="alert">
  50. <p>Thanks for signing up!</p>
  51. </div>
  52. </form>
  53. </div>
  54. </div>
  55. <div class="bitebug-col-footer col-sm-4">
  56. <div class="bitebug-col-footer-small-container">
  57. <h4 class="bitebug-title-footer bitebug-title-footer-2-for-mobile">Poochie On Twitter</h4>
  58. @if (!env('TWITTER_ANDREA', false))
  59. <?php
  60. $poochieTwitter = new \App\Classes\twitterFeed;
  61. $twitter_feeds = json_decode($poochieTwitter->getFeeds());
  62. ?>
  63. @if ($twitter_feeds)
  64. @if (count($twitter_feeds) >= 1)
  65. @foreach ($twitter_feeds as $twitter_feed)
  66. <div class="bitebug-footer-tweet-container">
  67. <a href="http://twitter.com/poochie_me" target="_blank"><span class="bitebug-tweet-author">@poochie_me</span></a>
  68. <span class="bitebut-tweet-content">{{ $twitter_feed->text }}</span>
  69. <p class="bitebug-tweet-time">{{ date('d/m/Y H:i', strtotime($twitter_feed->created_at)) }}</p>
  70. </div>
  71. @endforeach
  72. @endif
  73. @endif
  74. @endif
  75. </div>
  76. </div>
  77. </div>
  78. <div class="row bitebug-last-row-footer">
  79. <div class="bitebug-last-links-footer-container col-sm-6 bitebug-no-padding-mobile">
  80. <a href="{{ route('sitemap') }}"><p class="para-last-row-footer para-last-row-footer-first">Sitemap</p></a>
  81. <a href="{{ route('terms-and-conditions') }}"><p class="para-last-row-footer para-last-row-footer-first">The legal jargon</p></a>
  82. <a href="{{ route('privacy-policy') }}"><p class="para-last-row-footer">Privacy policy</p></a>
  83. </div>
  84. <div class="bitebug-last-right-side-footer-container col-sm-6 bitebug-no-padding-mobile">
  85. <p class="para-last-row-footer para-last-row-footer-copyright"><span class="footer-developed-span">Site by <a target="_blank" href="http://www.bitebug.eu/">BiteBug Ltd.</a></span> <a href="{{ url('/') }}">&copy; Poochie 2015</a></p>
  86. <div class="clearfix"></div>
  87. <!-- <div class="bitebug-developed-div">
  88. <p class="para-last-row-footer">Designed by <a href="mailto:pullingerkayleigh@gmail.com">Kayleigh Pullinger</a><br /> Developed by <a target="_blank" href="http://www.bitebug.eu/">BiteBug Ltd.</a></p>
  89. <div class="clearfix"></div>
  90. </div> -->
  91. <div class="clearfix"></div>
  92. </div>
  93. </div>
  94. </div>
  95. </footer>
  96. </div> <!-- poochie wrapper -->
  97. </div> <!-- this div closes the canvas div in the header section -->
  98. </div> <!-- bitebug-big-container -->
  99. @if (!Auth::check())
  100. <!-- Modal -->
  101. <div class="modal fade" id="login_modal" tabindex="-1" role="dialog" aria-labelledby="login_modalLabel" aria-hidden="true">
  102. <div class="modal-dialog">
  103. <div class="modal-content" id="bitebug-modal-content-login-modal">
  104. <div class="bitebug-modal-header-login modal-header">
  105. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  106. <h4 class="modal-title" id="login_modalLabel">Login</h4>
  107. </div>
  108. <div class="modal-body bitebug-modal-body-login-modal">
  109. <form action="{{ route('login-post') }}" method="post" id="login-form">
  110. <input class="bitebug-input-modal-login" type="email" name="email" value="{{ old('email') }}" id="" placeholder="Enter e-mail" required />
  111. <input class="bitebug-input-modal-login" type="password" placeholder="Password" name="password" required />
  112. <div class="bitebug-autentication-row-modal-login">
  113. <div class="modal-login-under-credentials">
  114. <label class="login-modal-label-rememberme">
  115. <input class="bitebug-checkbox-modal-login" type="checkbox" name="rememberme" value="1" checked="checked"> Stay logged in
  116. <!-- <span class="bitebug-text-checkbox-login">Stay logged in</span> -->
  117. </label>
  118. </div>
  119. <div class="modal-login-under-credentials text-right">
  120. <span class="bitebug-forgot-pass-modal"><a href="{{ route('passwordEmail') }}">Forgot password?</a></span>
  121. </div>
  122. <div class="clearfix"></div>
  123. </div>
  124. <div class="" style="clear: both"></div>
  125. <div id="bitebug-error-homepage" class="alert alert-danger" role="alert">
  126. <p>Oops... There was an error...</p>
  127. <ul id="bitebug-login-error-ul">
  128. </ul>
  129. </div>
  130. <button class="bitebug-main-login-button-modal">Login</button>
  131. <p class="bitebug-divider-login-modal"><span class="bitebug-divider-login-modal-span">or</span></p>
  132. <a href="{{ url('auth/facebook') }}">
  133. <div class="bitebug-social-container-modal-login">
  134. <img src="{{ asset('/') }}images/f_icon_60x60_retina.png" alt="" class="bitebug-social-img-modal" />
  135. <p class="bitebug-social-text-modal bitebug-social-text-modal-fb">Connect with Facebook</p>
  136. </div>
  137. </a>
  138. <a href="{{ url('auth/google') }}">
  139. <div class="bitebug-social-container-modal-login">
  140. <img src="{{ asset('/') }}images/g_icon_60x60_retina.png" alt="" class="bitebug-social-img-modal" />
  141. <p class="bitebug-social-text-modal bitebug-social-text-modal-gm">Connect with Gmail</p>
  142. </div>
  143. </a>
  144. <p class="bitebug-create-account-text-modal-login"><a href="{{ route('create-account') }}">Create Account</a></p>
  145. <input type="hidden" name="_token" value="{{ csrf_token() }}" />
  146. </form>
  147. </div>
  148. </div>
  149. </div>
  150. </div>
  151. @endif
  152. @if (\Cookie::get('under18') != "ok" && !Auth::check())
  153. <!-- Modal 2 info -->
  154. <div class="modal" id="age-check-modal" tabindex="-1" role="dialog" aria-labelledby="products_modalLabel" aria-hidden="true" data-keyboard="false" data-backdrop="static">
  155. <div class="modal-dialog bitebug-modal-age-check-dialog">
  156. <div class="modal-content">
  157. <div class="modal-body bitebug-modal-body-age-check">
  158. <img src="{{ asset('/') }}images/poochie_logo_mobile_68x68_retina.png" alt="" id="bitebug-img-age-check-modal" class="" />
  159. <div class="bitebug-block-check-age">
  160. <h2 class="bitebug-title-age-check-modal">Over 18?</h2>
  161. <h2 class="bitebug-subtitle-age-check-modal">Poochie doesn't play<br />well with kids</h2>
  162. <form action="{{ route('under18') }}" method="post">
  163. <button class="bitebug-button-modal-check-age bitebug-button-modal-check-age-1">I confirm I'm 18 or over</button>
  164. <input type="hidden" name="under18" value="1" />
  165. <input type="hidden" name="_token" value="{{ csrf_token() }}" />
  166. </form>
  167. <button class="bitebug-button-modal-check-age bitebug-button-modal-check-age-2">I'm under 18</button>
  168. <p class="bitebug-information-age-check-modal">You have to be at least 18 years old to use Poochie. Poochie operates an "ID all" policy, so please have valid ID ready upon delivery.</p>
  169. </div>
  170. <div class="bitebug-block-under-age">
  171. <h2 class="bitebug-title-age-check-modal">It looks like you're still a pup...</h2>
  172. <p id="still-pup" class="bitebug-information-age-check-modal bitebug-information-age-check-modal-2">We'd love to see you again when you're older!</p>
  173. </div>
  174. </div>
  175. </div>
  176. </div>
  177. </div>
  178. @endif