_base.html 4.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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 }}" class="last{% if contact_selected %} 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 }}" class="last{% if other_selected %} 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. <div class="copyright">
  62. <a class=>copyright</a> / <a href="/">www.alucho.com</a> / <a>2019</a> / <a href="/contact">{{ 'contact' | lang }}</a>
  63. </div>
  64. <div class="hbox">
  65. Fb
  66. Tw
  67. In
  68. </div>
  69. <div class="hbox">
  70. <h2 class="header-title">
  71. <div><a href="{{ '/work' | cur_lang }}">{{ 'work' | lang }}</a></div> /
  72. <div><a href="{{ '/news' | cur_lang }}">{{ 'news' | lang }}</a></div> /
  73. <div><a href="{{ '/about' | cur_lang }}">{{ 'about' | lang }}</a></div> /
  74. <div><a href="{{ '/contact' | cur_lang }}" class="last">{{ 'contact' | lang }}</a></div>
  75. </h2>
  76. </div>
  77. </footer>
  78. <form name="setLangEnglish" action="/i18n/setlang/" method="POST">
  79. {# {% csrf_token %} #}
  80. <input name="next" type="hidden" value="{{ path }}"/>
  81. <input type="hidden" name="language" value="en"/>
  82. </form>
  83. <form name="setLangSpanish" action="/i18n/setlang/" method="POST">
  84. {# {% csrf_token %} #}
  85. <input name="next" type="hidden" value="{{ path }}"/>
  86. <input type="hidden" name="language" value="es"/>
  87. </form>
  88. </body>
  89. </html>