_base.html 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <title>Alucho Portfolio</title>
  5. <!-- Global site tag (gtag.js) - Google Analytics -->
  6. <script async src="https://www.googletagmanager.com/gtag/js?id=UA-148161067-1"></script>
  7. <script>
  8. window.dataLayer = window.dataLayer || [];
  9. function gtag(){dataLayer.push(arguments);}
  10. gtag('js', new Date());
  11. gtag('config', 'UA-148161067-1');
  12. </script>
  13. <meta charset="UTF-8">
  14. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  15. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  16. <link rel="stylesheet" href="{{ 'css/hamburger.css' | static }}">
  17. <link rel="stylesheet" href="{{ 'css/main.css' | static }}">
  18. <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
  19. <link rel="icon" type="image/x-icon" href="/favicon.ico">
  20. <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
  21. <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
  22. <link rel="manifest" href="/site.webmanifest">
  23. <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
  24. <meta name="msapplication-TileColor" content="#da532c">
  25. <meta name="theme-color" content="#ffffff">
  26. <script src="{{ 'js/eye.js' | static }}"></script>
  27. </head>
  28. <body id="body">
  29. <header id="mobile-header">
  30. <!-- This checkbox will give us the toggle behavior, it will be hidden, but functional -->
  31. <input id="toggle" type="checkbox">
  32. <!-- IMPORTANT: Any element that we want to modify when the checkbox state changes go here, being "sibling" of the checkbox element -->
  33. <!-- This label is tied to the checkbox, and it will contain the toggle "buttons" -->
  34. <label class="toggle-container" for="toggle">
  35. <!-- If menu is open, it will be the "X" icon, otherwise just a clickable area behind the hamburger menu icon -->
  36. <span class="button button-toggle"></span>
  37. </label>
  38. <!-- The nav menu -->
  39. <nav class="nav">
  40. <a class="nav-item" href="https://lmgonzalves.github.io/morphing-hamburger-menu/">Dashboard</a>
  41. <a class="nav-item" href="https://lmgonzalves.github.io/morphing-hamburger-menu/">History</a>
  42. <a class="nav-item" href="https://lmgonzalves.github.io/morphing-hamburger-menu/">Statistics</a>
  43. <a class="nav-item" href="https://lmgonzalves.github.io/morphing-hamburger-menu/">Settings</a>
  44. </nav>
  45. </header>
  46. <header id="wide-header">
  47. <div class="header-box">
  48. <div class="lbox">
  49. <div id="lang-chooser" class="vbox">
  50. <a class="first en {% if lang == 'en' %}selected{% endif %}" hreflang="en" href="{{ 'en' | lang_url }}">en</a>
  51. <a class="first {% if lang == 'es' %}selected{% endif %}" hreflang="es" href="{{ 'es' | lang_url }}">es</a>
  52. </div>
  53. <div id="logo">{{ 'alucho-logo' | svg }}</div>
  54. <div class="vbox">
  55. <div id="alucho-title" class="hbox"><h1 class="header-title"><a>Alejandro Rodríguez</a></h1></div>
  56. <div id="designer-subtitle" class="hbox"><a>{{ 'graphic designer' | lang }}</a></div>
  57. </div>
  58. </div>
  59. <nav class="rbox">
  60. <div class="vbox">
  61. <div class="hbox">
  62. <h1 class="header-title">
  63. <div><a href="{{ '/work' | cur_lang }}" {% if work_selected %}class="selected"{% endif %}>{{ 'work' | lang }}</a></div> /
  64. <div><a href="{{ '/news' | cur_lang }}" {% if news_selected %}class="selected"{% endif %}>{{ 'news' | lang }}</a></div> /
  65. <div><a href="{{ '/about-and-contact' | cur_lang }}" class="last{% if about_selected %} selected{% endif %}">{{ 'about & contact' | lang }}</a></div>
  66. </h1>
  67. </div>
  68. <div class="hbox">
  69. <div class="header-subtitle">
  70. <div><a href="{{ '/work/all' | cur_lang }}" {% if all_selected %}class="selected"{% endif %}>{{ 'all' | lang }}</a></div> /
  71. <div><a href="{{ '/work/poster' | cur_lang }}" {% if poster_selected %}class="selected"{% endif %}>{{ 'poster' | lang }}</a></div> /
  72. <div><a href="{{ '/work/illustration' | cur_lang }}" {% if illustration_selected %}class="selected"{% endif %}>{{ 'illustration' | lang }}</a></div> /
  73. <div><a href="{{ '/work/editorial' | cur_lang }}" {% if editorial_selected %}class="selected"{% endif %}>{{ 'editorial' | lang }}</a></div> /
  74. <div><a href="{{ '/work/branding' | cur_lang }}" {% if branding_selected %}class="selected"{% endif %}>{{ 'branding' | lang }}</a></div> /
  75. <div><a href="{{ '/work/other' | cur_lang }}" class="last{% if other_selected %} selected{% endif %}">{{ 'other' | lang }}</a></div>
  76. </div>
  77. </div>
  78. </div>
  79. </nav>
  80. </div>
  81. </header>
  82. <main class="main-layout">
  83. <style>
  84. {% block style %}
  85. {% endblock %}
  86. </style>
  87. {% block main %}
  88. {% endblock %}
  89. </main>
  90. <footer>
  91. <div class="footer-content">
  92. <div class="copyright">
  93. <a class="first">© Alejandro Rodríguez Fornés</a> / <a>2019</a>
  94. </div>
  95. <div class="hbox social">
  96. <a href="https://www.facebook.com/alucho">{{ 'facebook' | svg }}</a>
  97. <a href="https://www.linkedin.com/alucho">{{ 'linkedin' | svg }}</a>
  98. <a href="https://www.instagram.com/alucho">{{ 'instagram' | svg }}</a>
  99. </div>
  100. </div>
  101. </footer>
  102. <form name="setLangEnglish" action="/i18n/setlang/" method="POST">
  103. {# {% csrf_token %} #}
  104. <input name="next" type="hidden" value="{{ path }}"/>
  105. <input type="hidden" name="language" value="en"/>
  106. </form>
  107. <form name="setLangSpanish" action="/i18n/setlang/" method="POST">
  108. {# {% csrf_token %} #}
  109. <input name="next" type="hidden" value="{{ path }}"/>
  110. <input type="hidden" name="language" value="es"/>
  111. </form>
  112. <dialog class="hidden" id="dialog-image-modal" data-work="" data-variant="">
  113. <div id="modal-image-container" class="vbox">
  114. <div class="hbox">
  115. <div id="img-prev">{{ 'prev' | svg }}</div>
  116. <div class="vbox">
  117. <div id="close-modal">{{ 'close' | svg }}</div>
  118. <img id="modal-image" alt="no image">
  119. </div>
  120. <div id="img-next">{{ 'next' | svg }}</div>
  121. </div>
  122. </div>
  123. <select id="image-select" class="hidden"></select>
  124. </dialog>
  125. <script src="{{ 'js/image-modal.js' | static }}"></script>
  126. <link rel="stylesheet" href="{{ 'css/image-modal.css' | static }}">
  127. </body>
  128. </html>