cv.html.heex 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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. }
  26. dt {
  27. grid-column: 1/2;
  28. }
  29. dd {
  30. grid-column: 2/3;
  31. }
  32. <%= Work.css() |> Phoenix.HTML.raw() %>
  33. <%= Basics.css() |> Phoenix.HTML.raw() %>
  34. <%= Skill.css() |> Phoenix.HTML.raw() %>
  35. <%= Education.css() |> Phoenix.HTML.raw() %>
  36. </style>
  37. </head>
  38. <body>
  39. <div id="basics">
  40. <Basics.basics name={@basics.name} title={@basics.label} />
  41. </div>
  42. <div id="about" class="section">
  43. <h1>tl;dr</h1>
  44. <Basics.about summary={@basics.summary} />
  45. </div>
  46. <div id="contact" class="section">
  47. <h1>Contact</h1>
  48. <Basics.contact
  49. email={@basics.email}
  50. phone={@basics.phone}
  51. location={@basics.location}
  52. profiles={@basics.profiles}
  53. />
  54. </div>
  55. <div id="work" class="section">
  56. <h1>Expériences professionnelles</h1>
  57. <ol>
  58. <%= for work <- @work do %>
  59. <li>
  60. <Work.work {work} />
  61. </li>
  62. <% end %>
  63. </ol>
  64. </div>
  65. <div id="skills" class="section">
  66. <h1>Compétences</h1>
  67. <ul>
  68. <%= for skill <- @skills do %>
  69. <li><Skill.skill skill={skill} /></li>
  70. <% end %>
  71. </ul>
  72. </div>
  73. <div id="education" class="section">
  74. <h1>Formation</h1>
  75. <ol>
  76. <%= for educ <- @education do %>
  77. <li><Education.education {educ} /></li>
  78. <% end %>
  79. </ol>
  80. </div>
  81. <div id="languages" class="section">
  82. <h1>Langues</h1>
  83. <ul>
  84. <%= for lang <- @languages do %>
  85. <li><Language.language lang={lang} /></li>
  86. <% end %>
  87. </ul>
  88. </div>
  89. </body>
  90. </html>