templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <meta name="viewport" content="width=device-width, initial-scale=1"/>
  5.     <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
  6.     <meta name="author" content="The Easy API"/>
  7.     <meta name="description"
  8.           content="The Easy API combines a variety of other API's into one common interface.  Making it easier for developers to access data and get results.  Sign up for a free account today.">
  9.     <meta name="distribution" content="Global"/>
  10.     <meta name="revisit-after" content="14 days"/>
  11.     <meta name="copyright" content="2010-{{ "now" | date("Y") }} The Easy API"/>
  12.     <meta name="robots" content="FOLLOW,INDEX"/>
  13.     <link rel="icon" type="image/png" href="{{ asset('images/favicon.png') }}">
  14.     <meta http-equiv="X-UA-Compatible" content="IE=edge">
  15.     <!-- Document title -->
  16.     <title>The Easy API - {% block title %}{% endblock %}</title>
  17.     {% block stylesheets %}
  18.         <!-- Stylesheets & Fonts -->
  19.         <link href="{{ asset('css/plugins.css') }}" rel="stylesheet">
  20.         <link href="{{ asset('css/style.css') }}" rel="stylesheet">
  21.         <link href="{{ asset('css/theme.css') }}" rel="stylesheet">
  22.         <link href="{{ asset('css/custom.css') }}" rel="stylesheet">
  23.     {% endblock %}
  24.     {% if app.environment == 'prod' %}
  25.         <!-- Global site tag (gtag.js) - Google Analytics -->
  26.         <script async src="https://www.googletagmanager.com/gtag/js?id=G-J6SYL9B752"></script>
  27.         <script>
  28.           window.dataLayer = window.dataLayer || [];
  29.           function gtag(){dataLayer.push(arguments);}
  30.           gtag('js', new Date());
  31.           gtag('config', 'G-J6SYL9B752');
  32.         </script>
  33.         <!-- Global site tag (gtag.js) - Google Analytics -->
  34.         <script async src="https://www.googletagmanager.com/gtag/js?id=UA-12372918-1"></script>
  35.         <script>
  36.           window.dataLayer = window.dataLayer || [];
  37.           function gtag(){dataLayer.push(arguments);}
  38.           gtag('js', new Date());
  39.           gtag('config', 'UA-12372918-1');
  40.         </script>
  41.     {% endif %}
  42. </head>
  43. <body>
  44. <!-- Body Inner -->
  45. <div class="body-inner">
  46.     <!-- Header -->
  47.     <header id="header" class="submenu-light header-sticky sticky-active">
  48.         <div class="header-inner">
  49.             <div class="container">
  50.                 <!--Logo-->
  51.                 <div id="logo">
  52.                     <a href="{{ path('default') }}">
  53.                             <img src="{{ asset('images/email_logo.png') }}" style="display:inline; height:60px;"/>
  54.                     </a>
  55.                 </div>
  56.                 <!--End: Logo-->
  57.                 <!--Navigation Resposnive Trigger-->
  58.                 <div id="mainMenu-trigger"><a class="lines-button x"><span class="lines"></span></a></div>
  59.                 <!--end: Navigation Resposnive Trigger-->
  60.                 <!--Navigation-->
  61.                 <div id="mainMenu" class="menu-rounded light">
  62.                     <div class="container">
  63.                         <nav>
  64.                             <ul>
  65.                                 <li class="current"><a href="{{ path('default') }}">Home</a></li>
  66.                                 <li class="dropdown"><a href="#">Docs</a>
  67.                                     <ul class="dropdown-menu">
  68.                                         {% set menuItems = get_docs_menu() %}
  69.                                         {% for menu in menuItems %}
  70.                                             <li class="dropdown-submenu"><a href="#">{{ menu.title }}</a>
  71.                                                 {% if menu.children | length > 0 %}
  72.                                                     <ul class="dropdown-menu">
  73.                                                         {% for child in menu.children %}
  74.                                                             <li>
  75.                                                                 <a href="{{ path('docs_page', {'category': menu.slug, 'section': child.slug}) }}">{{ child.title }}</a>
  76.                                                             </li>
  77.                                                         {% endfor %}
  78.                                                     </ul>
  79.                                                 {% endif %}
  80.                                             </li>
  81.                                         {% endfor %}
  82.                                     </ul>
  83.                                 </li>
  84.                                 <li><a href="{{ path('pricing') }}">Pricing</a></li>
  85.                                 <li><a href="{{ path('about') }}">About</a></li>
  86.                                 <li><a href="{{ path('contact') }}">Contact</a></li>
  87.                                 <li>
  88.                                     {% if app.user %}
  89.                                         <a href="{{ path('account') }}" class="btn-secondary">My Account</a>
  90.                                     {% else %}
  91.                                         <a href="{{ path('app_login') }}" class="btn btn-success text-white mb-0">Log In</a>
  92.                                     {% endif %}
  93.                                 </li>
  94.                             </ul>
  95.                         </nav>
  96.                     </div>
  97.                 </div>
  98.                 <!--end: Navigation-->
  99.             </div>
  100.         </div>
  101.     </header>
  102.     <!-- end: Header -->
  103.     {% for flashSuccess in app.flashes('flash_success') %}
  104.     <div class="alert alert-success" role="alert">{{ flashSuccess }}</div>
  105.     {% endfor %}
  106.     {% for flashError in app.flashes('flash_error') %}
  107.     <div class="alert alert-danger" role="alert">{{ flashError }}</div>
  108.     {% endfor %}
  109.     {% block body %}
  110.     {% endblock %}
  111.     <!-- Footer -->
  112.     <footer id="footer">
  113.         <div class="footer-content">
  114.             <div class="container">
  115.                 <div class="row">
  116.                     <div class="col-lg-4">
  117.                         <div class="card mb-3">
  118.                             <div class="card-body text-white bg-primary">
  119.                                 <h5 class="card-title">Always here to support you!</h5>
  120.                                 <p class="card-text">Please let us know what you think of our API. Let us know what you need for your next project.</p>
  121.                                 <p class="card-text"><strong>E-Mail:</strong> <a href="mailto:support@theeasyapi.com">support@theeasyapi.com</a></p>
  122.                             </div>
  123.                         </div>
  124.                     </div>
  125.                     <div class="col-lg-8">
  126.                         <div class="row">
  127.                             <div class="col-lg-4">
  128.                             </div>
  129.                             <div class="col-lg-4">
  130.                                 <div class="widget">
  131.                                     <div class="widget-title">Documentation</div>
  132.                                     <ul class="list">
  133.                                         {% for menu in menuItems %}
  134.                                             <li><a href="{{ path('docs_page', {'category': menu.slug}) }}">{{ menu.title }}</a></li>
  135.                                         {% endfor %}
  136.                                     </ul>
  137.                                 </div>
  138.                             </div>
  139.                             <div class="col-lg-4">
  140.                                 <div class="widget">
  141.                                     <div class="widget-title">Company</div>
  142.                                     <ul class="list">
  143.                                         <li><a href="{{ path('about') }}">About Us</a></li>
  144.                                         <li><a href="{{ path('contact') }}">Contact Us</a></li>
  145.                                     </ul>
  146.                                 </div>
  147.                             </div>
  148.                         </div>
  149.                     </div>
  150.                 </div>
  151.             </div>
  152.         </div>
  153.         <div class="copyright-content">
  154.             <div class="container">
  155.                 <div class="copyright-text text-center">&copy; The Easy API {{ "now" | date("Y") }}
  156.                 </div>
  157.             </div>
  158.         </div>
  159.     </footer>
  160.     <!-- end: Footer -->
  161. </div>
  162. <!-- end: Body Inner -->
  163. {% block javascripts %}
  164.     <!-- Scroll top -->
  165.     <a id="scrollTop"><i class="icon-chevron-up"></i><i class="icon-chevron-up"></i></a>
  166.     <!--Plugins-->
  167.     <script src="{{ asset('js/jquery.js') }}"></script>
  168.     <script src="{{ asset('js/plugins.js') }}"></script>
  169.     <!--Template functions-->
  170.     <script src="{{ asset('js/functions.js') }}"></script>
  171. {% endblock %}
  172. </body>
  173. </html>