templates/base.html.twig line 1

  1. <!DOCTYPE html>
  2. <html>
  3.     <head>
  4.         <meta charset="UTF-8">
  5.         <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6.         <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7.         <meta http-equiv="X-UA-Compatible" content="ie=edge">
  8.         <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text></svg>">
  9.         <title>{% block title %}{{ title }}{% endblock %}</title>
  10.         <meta name="description" content="{% block meta_description %}{{ meta_description }}{% endblock %}">
  11.         <meta property="og:locale" content="fr_FR">
  12.         <meta property="og:type" content="website">
  13.         <meta property="og:url" content="{{ path(app.request.attributes.get('_route'),
  14.             app.request.attributes.get('_route_params')) }}">
  15.         <meta property="og:site_name" content="Antony Martin - Portfolio">
  16.         <meta property="og:title" content="{{ og_title }}">
  17.         <meta property="og:description" content="{{ og_description }}">
  18.         {% if og_image is defined %}
  19.             <meta property="og:image" content="{{ og_image }}">
  20.             <meta property="og:image:secure_url" content="{{ og_image }}">
  21.         {% else %}
  22.             <meta property="og:image" content="{{ asset('build/images/antony_martin.png') }}">
  23.             <meta property="og:image:secure_url" content="{{ asset('build/images/antony_martin.png') }}">
  24.         {% endif %}
  25.         {% block stylesheets %}
  26.             {{ encore_entry_link_tags('app') }}
  27.             <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
  28.             <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
  29.         {% endblock %}
  30.         <script defer src="https://use.fontawesome.com/releases/v5.0.2/js/all.js"></script>
  31.     </head>
  32.     <body>
  33.         {% block body %}
  34.             {% block aside %}
  35.                 <aside class="portfolio-sidebar">
  36.                     <div class="sidebard-bg"></div>
  37.                     <ul id="slide-out" class="side-nav">
  38.                         <li class="backgroundUser">
  39.                             <div class="user-view">
  40.                                 <div class="background">
  41.                                     <img src="{{ asset('build/images/bg-nav.jpg') }}">
  42.                                 </div>
  43.                                 <a class="userClickOnMe" href="{{ path('homepage') }}"><img class="circle" src="{{ asset('build/images/antony_martin.png') }}">
  44.                                     <h1 class="namePortfolio">Antony Martin</h1>
  45.                                     <h2 class="titlePortfolio">Devéloppeur Web Full-Stack</h2></a>
  46.                             </div>
  47.                         </li>
  48.                         {% if app.request.get('_route') == 'homepage' %}
  49.                             <li id="firstLink" class="w70 active"><a href="{{ path('homepage') }}/">Home</a></li>
  50.                         {% else %}
  51.                             <li id="firstLink" class="w70"><a href="{{ path('homepage') }}">Home</a></li>
  52.                         {% endif %}
  53.                         {% if app.request.get('_route') == 'skills' %}
  54.                             <li class="w70 active"><a href="{{ path('skills') }}">Mes Compétences</a></li>
  55.                         {% else %}
  56.                             <li class="w70"><a href="{{ path('skills') }}">Mes Compétences</a></li>
  57.                         {% endif %}
  58.                         {% if app.request.get('_route') == 'parcours' %}
  59.                             <li class="w70 active"><a href="{{ path('parcours') }}">Mon Parcours</a></li>
  60.                         {% else %}
  61.                             <li class="w70"><a href="{{ path('parcours') }}">Mon Parcours</a></li>
  62.                         {% endif %}
  63.                     </ul>
  64.                     <ul class="socialNav">
  65.                         <li><a class="style-fa fbFa" href="https://www.facebook.com/DeMiinuS"><i class="fab fa-facebook-f"></i></a></li>
  66.                         <li><a class="style-fa tFa" href="https://www.twitter.com/DeMiinuS"><i class="fab fa-twitter"></i></a></li>
  67.                         <li><a class="style-fa ghFa" href="https://github.com/PaXyL"><i class="fab fa-github"></i></a></li>
  68.                         <li><a class="style-fa liFa" href="https://www.linkedin.com/in/antony-martin-639139123"><i class="fab fa-linkedin-in"></i></a></li>
  69.                         <li><a class="style-fa mFa" href="mailto:ma.martin.antony@gmail.com"><i class="fas fa-at"></i></a></li>
  70.                     </ul>
  71.                 </aside>
  72.                 <nav id="responsivNav" class="portfolio-nav">
  73.                     <div  class="sidebard-bg"></div>
  74.                     <div class="backgroundUser">
  75.                         <div class="user-view">
  76.                             <div class="background">
  77.                                 <img src="{{ asset('build/images/bg-nav.jpg') }}">
  78.                             </div>
  79.                             <a class="userClickOnMe" href="{{ path('homepage') }}"><img class="circle" src="{{ asset('build/images/antony_martin.jpg') }}">
  80.                                 <h1 class="namePortfolio">Antony Martin</h1>
  81.                                 <h2 class="titlePortfolio">Devéloppeur Web Full-Stack</h2></a>
  82.                         </div>
  83.                     </div>
  84.                     <div class="navMobile">
  85.                         <ul>
  86.                             {% if app.request.get('_route') == 'homepage' %}
  87.                                 <li id="firstLink" class="w70 active"><a href="{{ path('homepage') }}/">Home</a></li>
  88.                             {% else %}
  89.                                 <li id="firstLink" class="w70"><a href="{{ path('homepage') }}">Home</a></li>
  90.                             {% endif %}
  91.                             {% if app.request.get('_route') == 'skills' %}
  92.                                 <li class="w70 active"><a href="{{ path('skills') }}">Mes Compétences</a></li>
  93.                             {% else %}
  94.                                 <li class="w70"><a href="{{ path('skills') }}">Mes Compétences</a></li>
  95.                             {% endif %}
  96.                             {% if app.request.get('_route') == 'parcours' %}
  97.                                 <li class="w70 active"><a href="{{ path('parcours') }}">Mon Parcours</a></li>
  98.                             {% else %}
  99.                                 <li class="w70"><a href="{{ path('parcours') }}">Mon Parcours</a></li>
  100.                             {% endif %}
  101.                         </ul>
  102.                     </div>
  103.                 </nav>
  104.             {% endblock %}
  105.             {% block content %}
  106.             {% endblock %}
  107.         {% endblock %}
  108.         {% block javascripts %}
  109.             {{ encore_entry_script_tags('app') }}
  110.         {% endblock %}
  111.     </body>
  112. </html>