cv.html.heex 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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 rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Open+Sans" />
  9. <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300" />
  10. <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@700" />
  11. <link
  12. rel="stylesheet"
  13. href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css"
  14. integrity="sha512NhSC1YmyruXifcj/KFRWoC561YpHpc5Jtzgvbuzx5VozKpWvQ+4nXhPdFgmx8xqexRcpAglTj9sIBWINXa8x5w=="
  15. crossorigin="anonymous"
  16. referrerpolicy="no-referrer"
  17. />
  18. <style>
  19. <%= Layout.resets() |> Phoenix.HTML.raw() %>
  20. <%= Layout.page_css() |> Phoenix.HTML.raw() %>
  21. <%= Layout.page_print_css() |> Phoenix.HTML.raw() %>
  22. dl {
  23. display: grid;
  24. grid-template-columns: auto 1fr;
  25. align-items: center;
  26. }
  27. dt {
  28. grid-column: 1/2;
  29. }
  30. dd {
  31. grid-column: 2/3;
  32. }
  33. <%= Work.css() |> Phoenix.HTML.raw() %>
  34. <%= Basics.css() |> Phoenix.HTML.raw() %>
  35. <%= Skill.css() |> Phoenix.HTML.raw() %>
  36. <%= Education.css() |> Phoenix.HTML.raw() %>
  37. <%= Language.css() |> Phoenix.HTML.raw() %>
  38. </style>
  39. </head>
  40. <body>
  41. <div id="basics">
  42. <Basics.basics name={@basics.name} title={@basics.label} />
  43. </div>
  44. <div id="about" class="section">
  45. <h1>tl;dr</h1>
  46. <Basics.about summary={@basics.summary} />
  47. </div>
  48. <div id="contact" class="section">
  49. <h1>Contact</h1>
  50. <Basics.contact
  51. email={@basics.email}
  52. phone={@basics.phone}
  53. location={@basics.location}
  54. profiles={@basics.profiles}
  55. />
  56. </div>
  57. <div id="work" class="section">
  58. <h1>Expériences professionnelles</h1>
  59. <ol>
  60. <%= for work <- @work do %>
  61. <li>
  62. <Work.work {work} />
  63. </li>
  64. <% end %>
  65. </ol>
  66. </div>
  67. <div id="skills" class="section">
  68. <h1>Compétences</h1>
  69. <ul>
  70. <%= for skill <- @skills do %>
  71. <li><Skill.skill skill={skill} /></li>
  72. <% end %>
  73. </ul>
  74. </div>
  75. <div id="education" class="section">
  76. <h1>Formation</h1>
  77. <ol>
  78. <%= for educ <- @education do %>
  79. <li><Education.education {educ} /></li>
  80. <% end %>
  81. </ol>
  82. </div>
  83. <div id="languages" class="section">
  84. <h1>Langues</h1>
  85. <ul>
  86. <%= for lang <- @languages do %>
  87. <li><Language.language lang={lang} /></li>
  88. <% end %>
  89. </ul>
  90. </div>
  91. </body>
  92. </html>