Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

fix: remove redundant resume- prefix from download filename, page spacing (#2709)

Jacobf73a5117a158
diff --git a/src/routes/$username/$slug.tsx b/src/routes/$username/$slug.tsx
index c981c6fd5..c7e8e7af7 100644
--- a/src/routes/$username/$slug.tsx
+++ b/src/routes/$username/$slug.tsx
@@ -65,7 +65,7 @@ function RouteComponent() {
const handleDownload = useCallback(async () => {
if (!resume) return;
const { url } = await printResumeAsPDF({ id: resume.id });
- downloadFromUrl(url, `resume-${resume.name}.pdf`);
+ downloadFromUrl(url, `${resume.name}.pdf`);
}, [resume, printResumeAsPDF]);
if (!isReady) return <LoadingScreen />;
@@ -75,7 +75,7 @@ function RouteComponent() {
<div
className={cn("mx-auto max-w-[210mm]", "print:m-0 print:block print:max-w-full print:px-0", "md:my-4 md:px-4")}
>
- <ResumePreview pageClassName="print:w-full! w-full max-w-full" />
+ <ResumePreview className="space-y-4" pageClassName="print:w-full! w-full max-w-full" />
</div>
<Button