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,34 @@
|
||||
"use client";
|
||||
|
||||
import { useCVData } from "@/lib/hooks/useCVData";
|
||||
import { CvToolbar } from "@/components/cv/CvToolbar";
|
||||
import { CvInputPanel } from "@/components/cv/CvInputPanel";
|
||||
import { CvPreview } from "@/components/cv/CvPreview";
|
||||
|
||||
export function CvWorkspace() {
|
||||
const {
|
||||
data,
|
||||
setText,
|
||||
addExperience,
|
||||
updateExperience,
|
||||
removeExperience,
|
||||
resetCV,
|
||||
importCV,
|
||||
} = useCVData();
|
||||
|
||||
return (
|
||||
<div className="min-h-screen bg-paper text-ink print:min-h-0">
|
||||
<CvToolbar onReset={resetCV} data={data} onImport={importCV} />
|
||||
<div className="grid grid-cols-1 lg:grid-cols-[1fr_2fr] print:block">
|
||||
<CvInputPanel
|
||||
data={data}
|
||||
onSetText={setText}
|
||||
onAddExperience={addExperience}
|
||||
onUpdateExperience={updateExperience}
|
||||
onRemoveExperience={removeExperience}
|
||||
/>
|
||||
<CvPreview data={data} />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user