_base.html 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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 %}><h1>{{ 'work' | lang }}</h1></a>
  37. <div class="itemize">
  38. <a class="nav-subitem" href="{{ '/work/all' | cur_lang }}" {% if all_selected %}class="selected"{% endif %}>{{ 'all' | lang }}</a>
  39. <a class="nav-subitem" href="{{ '/work/poster' | cur_lang }}" {% if poster_selected %}class="selected"{% endif %}>{{ 'poster' | lang }}</a>
  40. <a class="nav-subitem" href="{{ '/work/illustration' | cur_lang }}" {% if illustration_selected %}class="selected"{% endif %}>{{ 'illustration' | lang }}</a>
  41. <a class="nav-subitem" href="{{ '/work/editorial' | cur_lang }}" {% if editorial_selected %}class="selected"{% endif %}>{{ 'editorial' | lang }}</a>
  42. <a class="nav-subitem" href="{{ '/work/branding' | cur_lang }}" {% if branding_selected %}class="selected"{% endif %}>{{ 'branding' | lang }}</a>
  43. <a class="nav-subitem" href="{{ '/work/other' | cur_lang }}" class="last{% if other_selected %} selected{% endif %}">{{ 'other' | lang }}</a>
  44. </div>
  45. <a class="nav-item" href="{{ '/news' | cur_lang }}" {% if news_selected %}class="selected"{% endif %}><h1>{{ 'news' | lang }}</h1></a>
  46. <a class="nav-item" href="{{ '/about-and-contact' | cur_lang }}" class="last{% if about_selected %} selected{% endif %}"><h1>{{ 'about & contact' | lang }}</h1></a>
  47. </div>
  48. </nav>
  49. </header>
  50. <header id="wide-header">
  51. <div class="header-box">
  52. <div class="lbox">
  53. <div id="lang-chooser" class="vbox">
  54. <a class="first en {% if lang == 'en' %}selected{% endif %}" hreflang="en" href="{{ 'en' | lang_url }}">en</a>
  55. <a class="first {% if lang == 'es' %}selected{% endif %}" hreflang="es" href="{{ 'es' | lang_url }}">es</a>
  56. </div>
  57. <div id="logo">{{ 'alucho-logo' | svg }}</div>
  58. <div class="vbox">
  59. <div id="alucho-title" class="hbox"><h1 class="header-title"><a>Alejandro Rodríguez</a></h1></div>
  60. <div id="designer-subtitle" class="hbox"><a>{{ 'graphic designer' | lang }}</a></div>
  61. </div>
  62. </div>
  63. <nav class="rbox">
  64. <div class="vbox">
  65. <div class="hbox">
  66. <h1 class="header-title">
  67. <div><a href="{{ '/work' | cur_lang }}" {% if work_selected %}class="selected"{% endif %}>{{ 'work' | lang }}</a></div> /
  68. <div><a href="{{ '/news' | cur_lang }}" {% if news_selected %}class="selected"{% endif %}>{{ 'news' | lang }}</a></div> /
  69. <div><a href="{{ '/about-and-contact' | cur_lang }}" class="last{% if about_selected %} selected{% endif %}">{{ 'about & contact' | lang }}</a></div>
  70. </h1>
  71. </div>
  72. <div class="hbox">
  73. <div class="header-subtitle">
  74. <div><a href="{{ '/work/all' | cur_lang }}" {% if all_selected %}class="selected"{% endif %}>{{ 'all' | lang }}</a></div> /
  75. <div><a href="{{ '/work/poster' | cur_lang }}" {% if poster_selected %}class="selected"{% endif %}>{{ 'poster' | lang }}</a></div> /
  76. <div><a href="{{ '/work/illustration' | cur_lang }}" {% if illustration_selected %}class="selected"{% endif %}>{{ 'illustration' | lang }}</a></div> /
  77. <div><a href="{{ '/work/editorial' | cur_lang }}" {% if editorial_selected %}class="selected"{% endif %}>{{ 'editorial' | lang }}</a></div> /
  78. <div><a href="{{ '/work/branding' | cur_lang }}" {% if branding_selected %}class="selected"{% endif %}>{{ 'branding' | lang }}</a></div> /
  79. <div><a href="{{ '/work/other' | cur_lang }}" class="last{% if other_selected %} selected{% endif %}">{{ 'other' | lang }}</a></div>
  80. </div>
  81. </div>
  82. </div>
  83. </nav>
  84. </div>
  85. </header>
  86. <main class="main-layout">
  87. <style>
  88. {% block style %}
  89. {% endblock %}
  90. </style>
  91. {% block main %}
  92. {% endblock %}
  93. </main>
  94. <footer>
  95. <div class="footer-content">
  96. <div class="copyright">
  97. <a class="first">© Alejandro Rodríguez Fornés</a> / <a>2019</a>
  98. </div>
  99. <div class="hbox social">
  100. <a href="https://www.facebook.com/alucho">{{ 'facebook' | svg }}</a>
  101. <a href="https://www.linkedin.com/alucho">{{ 'linkedin' | svg }}</a>
  102. <a href="https://www.instagram.com/alucho">{{ 'instagram' | svg }}</a>
  103. </div>
  104. </div>
  105. </footer>
  106. <dialog class="hidden" id="dialog-image-modal" data-work="" data-variant="">
  107. <div id="modal-image-container" class="vbox">
  108. <div class="hbox">
  109. <div id="img-prev">{{ 'prev' | svg }}</div>
  110. <div class="vbox">
  111. <div id="close-modal">{{ 'close' | svg }}</div>
  112. <img id="modal-image" alt="no image">
  113. </div>
  114. <div id="img-next">{{ 'next' | svg }}</div>
  115. </div>
  116. </div>
  117. <select id="image-select" class="hidden"></select>
  118. </dialog>
  119. <script src="{{ 'js/image-modal.js' | static }}"></script>
  120. <link rel="stylesheet" href="{{ 'css/image-modal.css' | static }}">
  121. </body>
  122. </html>