chore init
This commit is contained in:
1 parent
1b7406b1d3
commit
a0d312a884
60 files changed
+5046
-125
No files matched your search
@@ -0,0 +1,18 @@
|
||||
import type { Experience } from "@/lib/types/cv";
|
||||
|
||||
export interface CvExperienceRendered {
|
||||
experience: Experience;
|
||||
html: string;
|
||||
}
|
||||
|
||||
export function CvExperiencePreview({ experience, html }: CvExperienceRendered) {
|
||||
return (
|
||||
<article className="mb-4">
|
||||
<h4 className="text-[0.9rem] font-bold text-ink">{experience.titre}</h4>
|
||||
<div
|
||||
className="cv-md text-[0.8rem] leading-snug text-ink"
|
||||
dangerouslySetInnerHTML={{ __html: html }}
|
||||
/>
|
||||
</article>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user