_base.html 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <title>{{ 'Alucho Portfolio' | lang }}</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. <input id="toggle" type="checkbox">
  31. <label class="toggle-container" for="toggle">
  32. <span class="button button-toggle"></span>
  33. </label>
  34. <nav class="nav">
  35. <div class="itemize">
  36. <a class="nav-item" href="{{ '/work' | cur_lang }}" {% if work_selected %}class="selected" {% endif %}>
  37. <h1>{{ 'work' | lang }}</h1>
  38. </a>
  39. <div class="itemize">
  40. <a class="nav-subitem" href="{{ '/work/all' | cur_lang }}" {% if all_selected %}class="selected"
  41. {% endif %}>{{ 'all' | lang }}</a>
  42. <a class="nav-subitem" href="{{ '/work/poster' | cur_lang }}"
  43. {% if poster_selected %}class="selected" {% endif %}>{{ 'poster' | lang }}</a>
  44. <a class="nav-subitem" href="{{ '/work/illustration' | cur_lang }}"
  45. {% if illustration_selected %}class="selected" {% endif %}>{{ 'illustration' | lang }}</a>
  46. <a class="nav-subitem" href="{{ '/work/editorial' | cur_lang }}"
  47. {% if editorial_selected %}class="selected" {% endif %}>{{ 'editorial' | lang }}</a>
  48. <a class="nav-subitem" href="{{ '/work/branding' | cur_lang }}"
  49. {% if branding_selected %}class="selected" {% endif %}>{{ 'branding' | lang }}</a>
  50. <a class="nav-subitem" href="{{ '/work/other' | cur_lang }}"
  51. class="last{% if other_selected %} selected{% endif %}">{{ 'other' | lang }}</a>
  52. </div>
  53. <a class="nav-item" href="{{ '/news' | cur_lang }}" {% if news_selected %}class="selected" {% endif %}>
  54. <h1>{{ 'news' | lang }}</h1>
  55. </a>
  56. <a class="nav-item" href="{{ '/about-and-contact' | cur_lang }}"
  57. class="last{% if about_selected %} selected{% endif %}">
  58. <h1>{{ 'about & contact' | lang }}</h1>
  59. </a>
  60. </div>
  61. </nav>
  62. </header>
  63. <header id="wide-header">
  64. <div class="header-box">
  65. <div class="lbox">
  66. <div id="lang-chooser" class="vbox">
  67. <a class="first en {% if lang == 'en' %}selected{% endif %}" hreflang="en"
  68. href="{{ 'en' | lang_url }}">en</a>
  69. <a class="first {% if lang == 'es' %}selected{% endif %}" hreflang="es"
  70. href="{{ 'es' | lang_url }}">es</a>
  71. </div>
  72. <div id="logo">{{ 'alucho-logo' | svg }}</div>
  73. <div class="vbox">
  74. <div id="alucho-title" class="hbox">
  75. <h1 class="header-title"><a>Alejandro Rodríguez</a></h1>
  76. </div>
  77. <div id="designer-subtitle" class="hbox"><a>{{ 'graphic designer' | lang }}</a></div>
  78. </div>
  79. </div>
  80. <nav class="rbox">
  81. <div class="vbox">
  82. <div class="hbox">
  83. <h1 class="header-title">
  84. <div><a href="{{ '/work' | cur_lang }}" {% if work_selected %}class="selected"
  85. {% endif %}>{{ 'work' | lang }}</a></div> /
  86. <div><a href="{{ '/news' | cur_lang }}" {% if news_selected %}class="selected"
  87. {% endif %}>{{ 'news' | lang }}</a></div> /
  88. <div><a href="{{ '/about-and-contact' | cur_lang }}"
  89. class="last{% if about_selected %} selected{% endif %}">{{ 'about & contact' | lang }}</a>
  90. </div>
  91. </h1>
  92. </div>
  93. <div class="hbox">
  94. <div class="header-subtitle">
  95. <div><a href="{{ '/work/all' | cur_lang }}" {% if all_selected %}class="selected"
  96. {% endif %}>{{ 'all' | lang }}</a></div> /
  97. <div><a href="{{ '/work/poster' | cur_lang }}" {% if poster_selected %}class="selected"
  98. {% endif %}>{{ 'poster' | lang }}</a></div> /
  99. <div><a href="{{ '/work/illustration' | cur_lang }}"
  100. {% if illustration_selected %}class="selected"
  101. {% endif %}>{{ 'illustration' | lang }}</a></div> /
  102. <div><a href="{{ '/work/editorial' | cur_lang }}"
  103. {% if editorial_selected %}class="selected" {% endif %}>{{ 'editorial' | lang }}</a>
  104. </div> /
  105. <div><a href="{{ '/work/branding' | cur_lang }}" {% if branding_selected %}class="selected"
  106. {% endif %}>{{ 'branding' | lang }}</a></div> /
  107. <div><a href="{{ '/work/other' | cur_lang }}"
  108. class="last{% if other_selected %} selected{% endif %}">{{ 'other' | lang }}</a>
  109. </div>
  110. </div>
  111. </div>
  112. </div>
  113. </nav>
  114. </div>
  115. </header>
  116. <main class="main-layout">
  117. {% block main %}
  118. {% endblock %}
  119. </main>
  120. <footer>
  121. <div class="footer-content">
  122. <div class="copyright">
  123. <a class="first">© Alejandro Rodríguez Fornés</a> / <a>2020</a>
  124. </div>
  125. <div class="hbox social">
  126. <a href="https://www.facebook.com/aluchocartel/">{{ 'facebook' | svg }}</a>
  127. <a
  128. href="https://www.linkedin.com/in/alejandro-rodr%C3%ADguez-forn%C3%A9s-alucho-541700122/">{{ 'linkedin' | svg }}</a>
  129. </div>
  130. </div>
  131. </footer>
  132. <dialog class="hidden" id="dialog-image-modal" data-work="" data-variant="">
  133. <div id="modal-image-container" class="vbox">
  134. <div class="hbox">
  135. <div id="img-prev">{{ 'prev' | svg }}</div>
  136. <div class="vbox">
  137. <div id="close-modal">{{ 'close' | svg }}</div>
  138. <img id="modal-image" loading="lazy" alt="no image">
  139. </div>
  140. <div id="img-next">{{ 'next' | svg }}</div>
  141. </div>
  142. </div>
  143. <select id="image-select" class="hidden"></select>
  144. </dialog>
  145. <script src="{{ 'js/image-modal.js' | static }}"></script>
  146. <link rel="stylesheet" href="{{ 'css/image-modal.css' | static }}">
  147. </body>
  148. </html>