_base.html 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <!-- Global site tag (gtag.js) - Google Analytics -->
  5. <script async src="https://www.googletagmanager.com/gtag/js?id=UA-148161067-1"></script>
  6. <script>
  7. window.dataLayer = window.dataLayer || [];
  8. function gtag(){dataLayer.push(arguments);}
  9. gtag('js', new Date());
  10. gtag('config', 'UA-148161067-1');
  11. </script>
  12. <meta charset="UTF-8">
  13. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  14. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  15. <title>Alucho Portfolio</title>
  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 %}" href="{{ 'en' | lang_url }}">en</a>
  51. <a class="first {% if lang == 'es' %}selected{% endif %}" 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. <div id="menu" 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. </div>
  80. </div>
  81. </header>
  82. <main class="main-layout">
  83. {% block main %}
  84. {% endblock %}
  85. </main>
  86. <footer>
  87. <div class="footer-content">
  88. <div class="copyright">
  89. <a class="first">© Alejandro Rodríguez Fornés</a> / <a>2019</a>
  90. </div>
  91. <div class="hbox social">
  92. <a href="https://www.facebook.com/alucho">{{ 'facebook' | svg }}</a>
  93. <a href="https://www.linkedin.com/alucho">{{ 'linkedin' | svg }}</a>
  94. <a href="https://www.instagram.com/alucho">{{ 'instagram' | svg }}</a>
  95. </div>
  96. </div>
  97. </footer>
  98. <form name="setLangEnglish" action="/i18n/setlang/" method="POST">
  99. {# {% csrf_token %} #}
  100. <input name="next" type="hidden" value="{{ path }}"/>
  101. <input type="hidden" name="language" value="en"/>
  102. </form>
  103. <form name="setLangSpanish" action="/i18n/setlang/" method="POST">
  104. {# {% csrf_token %} #}
  105. <input name="next" type="hidden" value="{{ path }}"/>
  106. <input type="hidden" name="language" value="es"/>
  107. </form>
  108. <dialog class="hidden" id="dialog-image-modal" data-work="" data-variant="">
  109. <div id="modal-image-container" class="vbox">
  110. <div class="hbox">
  111. <div id="img-prev">{{ 'prev' | svg}}</div>
  112. <div class="vbox">
  113. <div id="close-modal">{{ 'close' | svg}}</div>
  114. <img id="modal-image" src="{{ list(images('work/poster'))[1].filenames[0] | static }}" alt="Ejemplo">
  115. </div>
  116. <div id="img-next">{{ 'next' | svg}}</div>
  117. </div>
  118. </div>
  119. <select id="image-select" class="hidden"></select>
  120. </dialog>
  121. <script src="{{ 'js/image-modal.js' | static }}"></script>
  122. <link rel="stylesheet" href="{{ 'css/image-modal.css' | static }}">
  123. </body>
  124. </html>