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,19 @@
|
||||
interface CvSectionProps {
|
||||
title: string;
|
||||
html: string;
|
||||
}
|
||||
|
||||
export function CvSection({ title, html }: CvSectionProps) {
|
||||
if (!html.trim()) return null;
|
||||
return (
|
||||
<section className="mb-4">
|
||||
<h3 className="mb-1 text-[0.75rem] font-bold uppercase tracking-wide text-muted">
|
||||
{title}
|
||||
</h3>
|
||||
<div
|
||||
className="cv-md text-[0.8rem] leading-snug text-ink"
|
||||
dangerouslySetInnerHTML={{ __html: html }}
|
||||
/>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user