_base.html 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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" {% if work_selected %}class="selected"{% endif %}>{{ 'work' | lang }}</a></div> /
  37. <div><a href="/news" {% if news_selected %}class="selected"{% endif %}>{{ 'news' | lang }}</a></div> /
  38. <div><a href="/about"{% if about_selected %}class="selected"{% endif %}>{{ 'about' | lang }}</a></div> /
  39. <div><a href="/contact" {% 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" {% if all_selected %}class="selected"{% endif %}>{{ 'all' | lang }}</a></div> /
  45. <div><a href="/work/poster" {% if poster_selected %}class="selected"{% endif %}>{{ 'poster' | lang }}</a></div> /
  46. <div><a href="/work/illustration" {% if illustration_selected %}class="selected"{% endif %}>{{ 'illustration' | lang }}</a></div> /
  47. <div><a href="/work/editorial" {% if editorial_selected %}class="selected"{% endif %}>{{ 'editorial' | lang }}</a></div> /
  48. <div><a href="/work/branding" {% if branding_selected %}class="selected"{% endif %}>{{ 'branding' | lang }}</a></div> /
  49. <div><a href="/work/other" {% if other_selected %}class="selected"{% endif %}>{{ 'other' | lang }}</a></div>
  50. </div>
  51. </div>
  52. </div>
  53. </div>
  54. </div>
  55. </header>
  56. <div id="main" class="v">
  57. <div class="main-content">
  58. {% block main %}
  59. {% endblock %}
  60. </div>
  61. </div>
  62. <footer>
  63. <h3>
  64. copyright / <a href="/">www.alucho.com</a> / 2019 / <a href="/contact">{{ 'contact' | lang }}</a>
  65. </h3>
  66. </footer>
  67. <form name="setLangEnglish" action="/i18n/setlang/" method="POST">
  68. {# {% csrf_token %} #}
  69. <input name="next" type="hidden" value="{{ path }}"/>
  70. <input type="hidden" name="language" value="en"/>
  71. </form>
  72. <form name="setLangSpanish" action="/i18n/setlang/" method="POST">
  73. {# {% csrf_token %} #}
  74. <input name="next" type="hidden" value="{{ path }}"/>
  75. <input type="hidden" name="language" value="es"/>
  76. </form>
  77. <script src="{{ 'js/eye.js' | static }}"></script>
  78. </body>
  79. </html>