cv.html.heex 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  7. <title>Document</title>
  8. <link
  9. rel="stylesheet"
  10. href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css"
  11. integrity="sha512NhSC1YmyruXifcj/KFRWoC561YpHpc5Jtzgvbuzx5VozKpWvQ+4nXhPdFgmx8xqexRcpAglTj9sIBWINXa8x5w=="
  12. crossorigin="anonymous"
  13. referrerpolicy="no-referrer"
  14. />
  15. <style>
  16. @import url(https://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800);
  17. <%= Layout.resets() |> Phoenix.HTML.raw() %>
  18. <%= Layout.page_css() |> Phoenix.HTML.raw() %>
  19. dl {
  20. display: grid;
  21. grid-template-columns: auto 1fr;
  22. }
  23. dt {
  24. grid-column: 1/2;
  25. }
  26. dd {
  27. grid-column: 2/3;
  28. }
  29. <%= Work.css() |> Phoenix.HTML.raw() %>
  30. <%= Basics.css() |> Phoenix.HTML.raw() %>
  31. dt.work_location+dd::before {
  32. content: '🏢 ' attr(value);
  33. }
  34. dt.location::after {
  35. content: '🏠 ' attr(value);
  36. }
  37. li h1,
  38. li h2,
  39. li h3 {
  40. font-weight: 500;
  41. }
  42. </style>
  43. </head>
  44. <body>
  45. <div id="basics">
  46. <Basics.basics name={@basics.name} title={@basics.label} />
  47. </div>
  48. <div id="work">
  49. <h1>Expériences professionnelles</h1>
  50. <ol>
  51. <%= for work <- @work do %>
  52. <li>
  53. <Work.work work={work} />
  54. </li>
  55. <% end %>
  56. </ol>
  57. </div>
  58. <div id="skills">
  59. <h1>Compétences</h1>
  60. <ul>
  61. <%= for skill <- @skills do %>
  62. <li><Skill.skill skill={skill} /></li>
  63. <% end %>
  64. </ul>
  65. </div>
  66. <div id="education">
  67. <h1>Formation</h1>
  68. <ol>
  69. <%= for educ <- @education do %>
  70. <li><Education.education educ={educ} /></li>
  71. <% end %>
  72. </ol>
  73. </div>
  74. <div id="languages">
  75. <h1>Langues</h1>
  76. <ul>
  77. <%= for lang <- @languages do %>
  78. <li><Language.language lang={lang} /></li>
  79. <% end %>
  80. </ul>
  81. </div>
  82. </body>
  83. </html>