|
@@ -1,6 +1,6 @@
|
|
|
defmodule CvGenView.Work do
|
|
defmodule CvGenView.Work do
|
|
|
use Phoenix.Component
|
|
use Phoenix.Component
|
|
|
- alias CvGenView.Date
|
|
|
|
|
|
|
+ alias CvGenView.{Date, Text}
|
|
|
|
|
|
|
|
attr(:name, :string, required: true)
|
|
attr(:name, :string, required: true)
|
|
|
attr(:start_date, :any, required: true)
|
|
attr(:start_date, :any, required: true)
|
|
@@ -21,7 +21,7 @@ defmodule CvGenView.Work do
|
|
|
|
|
|
|
|
<h1><%= @position %></h1>
|
|
<h1><%= @position %></h1>
|
|
|
|
|
|
|
|
- <p class="summary" lang="en"><%= @summary %></p>
|
|
|
|
|
|
|
+ <Text.text text={@summary} class="summary"/>
|
|
|
|
|
|
|
|
<h2>Points clés</h2>
|
|
<h2>Points clés</h2>
|
|
|
<ul class="highlights">
|
|
<ul class="highlights">
|