_base.html 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  7. <title>Alucho Portfolio</title>
  8. <link rel="stylesheet" href="{{ 'css/main.css' | static }}">
  9. <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
  10. <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
  11. <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
  12. <link rel="manifest" href="/site.webmanifest">
  13. <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
  14. <meta name="msapplication-TileColor" content="#da532c">
  15. <meta name="theme-color" content="#ffffff">
  16. <script src="{{ 'js/eye.js' | static }}"></script>
  17. </head>
  18. <body>
  19. <header>
  20. <div class="header-box">
  21. <div class="lbox">
  22. <div class="vbox">
  23. <a class="first en {% if en %}selected{% endif %}" href="{{ 'en' | lang_url }}">en</a>
  24. <a class="first {% if es %}selected{% endif %}" href="{{ 'es' | lang_url }}">es</a>
  25. </div>
  26. <object id="logo" type="image/svg+xml" data="{{ 'svg/alucho-logo.svg' | static }}"></object>
  27. <div class="vbox">
  28. <div id="alucho-title" class="hbox"><h1 class="header-title"><a>Alucho Rodríguez</a></h1></div>
  29. <div id="designer-subtitle" class="hbox"><a>{{ 'graphic designer' | lang }}</a></div>
  30. </div>
  31. </div>
  32. <div id="menu" class="rbox">
  33. <div class="vbox">
  34. <div class="hbox">
  35. <h1 class="header-title">
  36. <div><a href="{{ '/work' | cur_lang }}" {% if work_selected %}class="selected"{% endif %}>{{ 'work' | lang }}</a></div> /
  37. <div><a href="{{ '/news' | cur_lang }}" {% if news_selected %}class="selected"{% endif %}>{{ 'news' | lang }}</a></div> /
  38. <div><a href="{{ '/about' | cur_lang }}" {% if about_selected %}class="selected"{% endif %}>{{ 'about' | lang }}</a></div> /
  39. <div><a href="{{ '/contact' | cur_lang }}" {% if contact_selected %}class="selected"{% endif %}>{{ 'contact' | lang }}</a></div>
  40. </h1>
  41. </div>
  42. <div class="hbox">
  43. <div class="header-subtitle">
  44. <div><a href="{{ '/work/all' | cur_lang }}" {% if all_selected %}class="selected"{% endif %}>{{ 'all' | lang }}</a></div> /
  45. <div><a href="{{ '/work/poster' | cur_lang }}" {% if poster_selected %}class="selected"{% endif %}>{{ 'poster' | lang }}</a></div> /
  46. <div><a href="{{ '/work/illustration' | cur_lang }}" {% if illustration_selected %}class="selected"{% endif %}>{{ 'illustration' | lang }}</a></div> /
  47. <div><a href="{{ '/work/editorial' | cur_lang }}" {% if editorial_selected %}class="selected"{% endif %}>{{ 'editorial' | lang }}</a></div> /
  48. <div><a href="{{ '/work/branding' | cur_lang }}" {% if branding_selected %}class="selected"{% endif %}>{{ 'branding' | lang }}</a></div> /
  49. <div><a href="{{ '/work/other' | cur_lang }}" {% if other_selected %}class="selected"{% endif %}>{{ 'other' | lang }}</a></div>
  50. </div>
  51. </div>
  52. </div>
  53. </div>
  54. </div>
  55. </header>
  56. <main>
  57. {% block main %}
  58. {% endblock %}
  59. </main>
  60. <footer>
  61. <h3>
  62. copyright / <a href="/">www.alucho.com</a> / 2019 / <a href="/contact">{{ 'contact' | lang }}</a>
  63. </h3>
  64. </footer>
  65. <form name="setLangEnglish" action="/i18n/setlang/" method="POST">
  66. {# {% csrf_token %} #}
  67. <input name="next" type="hidden" value="{{ path }}"/>
  68. <input type="hidden" name="language" value="en"/>
  69. </form>
  70. <form name="setLangSpanish" action="/i18n/setlang/" method="POST">
  71. {# {% csrf_token %} #}
  72. <input name="next" type="hidden" value="{{ path }}"/>
  73. <input type="hidden" name="language" value="es"/>
  74. </form>
  75. <script src="{{ 'js/eye.js' | static }}"></script>
  76. </body>
  77. </html>