;
+}) {
+ const [evidence, stash, params] = await Promise.all([
+ listAchievementEvidence(),
+ listStashEntries(),
+ searchParams,
+ ]);
+ return (
+
+ );
+}
diff --git a/src/app/resume-builder/generate/page.tsx b/src/app/resume-builder/generate/page.tsx
new file mode 100644
index 0000000..3da355d
--- /dev/null
+++ b/src/app/resume-builder/generate/page.tsx
@@ -0,0 +1,20 @@
+import { ResumeBuilder } from '@/components/resume-builder';
+import { listResumes } from '@/lib/actions/resume-actions';
+
+export const dynamic = 'force-dynamic';
+export const metadata = { title: 'Generate a résumé' };
+
+export default async function GeneratePage({
+ searchParams,
+}: {
+ searchParams: Promise<{ resume?: string | string[] }>;
+}) {
+ const [resumes, params] = await Promise.all([listResumes(), searchParams]);
+ return (
+
+ );
+}
diff --git a/src/app/resume-builder/page.tsx b/src/app/resume-builder/page.tsx
index a9be45d..3dbcc18 100644
--- a/src/app/resume-builder/page.tsx
+++ b/src/app/resume-builder/page.tsx
@@ -1,7 +1,5 @@
import { ResumeBuilder } from '@/components/resume-builder';
-import { listAchievementEvidence } from '@/lib/actions/achievement-evidence-actions';
import { listResumes } from '@/lib/actions/resume-actions';
-import { listStashEntries } from '@/lib/actions/stash-actions';
export const dynamic = 'force-dynamic';
export const metadata = { title: 'Resume Builder' };
@@ -9,20 +7,13 @@ export const metadata = { title: 'Resume Builder' };
export default async function ResumeBuilderPage({
searchParams,
}: {
- searchParams: Promise<{ resume?: string }>;
+ searchParams: Promise<{ resume?: string | string[] }>;
}) {
- const [resumes, evidence, stash, params] = await Promise.all([
- listResumes(),
- listAchievementEvidence(),
- listStashEntries(),
- searchParams,
- ]);
+ const [resumes, params] = await Promise.all([listResumes(), searchParams]);
return (
);
}
diff --git a/src/app/resume-builder/profile/page.tsx b/src/app/resume-builder/profile/page.tsx
new file mode 100644
index 0000000..f9b8079
--- /dev/null
+++ b/src/app/resume-builder/profile/page.tsx
@@ -0,0 +1,20 @@
+import { ResumeBuilder } from '@/components/resume-builder';
+import { listResumes } from '@/lib/actions/resume-actions';
+
+export const dynamic = 'force-dynamic';
+export const metadata = { title: 'Career profile' };
+
+export default async function ProfilePage({
+ searchParams,
+}: {
+ searchParams: Promise<{ resume?: string | string[] }>;
+}) {
+ const [resumes, params] = await Promise.all([listResumes(), searchParams]);
+ return (
+
+ );
+}
diff --git a/src/app/stash/page.tsx b/src/app/stash/page.tsx
index a7efe2e..7fd01f4 100644
--- a/src/app/stash/page.tsx
+++ b/src/app/stash/page.tsx
@@ -1,5 +1,5 @@
import { redirect } from 'next/navigation';
export default function LegacyPage() {
- redirect('/resume-builder#extra-experience');
+ redirect('/resume-builder/evidence#extra-experience');
}
diff --git a/src/components/archived-career-profiles.tsx b/src/components/archived-career-profiles.tsx
index 390d93d..ab9ddce 100644
--- a/src/components/archived-career-profiles.tsx
+++ b/src/components/archived-career-profiles.tsx
@@ -1,7 +1,7 @@
'use client';
import { useState } from 'react';
import { useRouter } from 'next/navigation';
-import { Button } from '@/components/ui/button';
+import { Button } from '@saas-maker/ui/components/button';
import { callCareer } from '@/lib/actions/career-records';
export function ArchivedCareerProfiles() {
diff --git a/src/components/career-profile-panel.tsx b/src/components/career-profile-panel.tsx
index a3fe8bb..43ccf82 100644
--- a/src/components/career-profile-panel.tsx
+++ b/src/components/career-profile-panel.tsx
@@ -2,9 +2,9 @@
import { useEffect, useState } from 'react';
import { useRouter } from 'next/navigation';
-import { Button } from '@/components/ui/button';
-import { Input } from '@/components/ui/input';
-import { Textarea } from '@/components/ui/textarea';
+import { Button } from '@saas-maker/ui/components/button';
+import { Input } from '@saas-maker/ui/components/input';
+import { Textarea } from '@saas-maker/ui/components/textarea';
import { CareerRecordEditor, type RecordDraft } from '@/components/career-record-editor';
import { callCareer } from '@/lib/actions/career-records';
import {
@@ -23,7 +23,7 @@ export function CareerProfilePanel({ profileId }: { profileId: string }) {
className="min-w-0 space-y-4 rounded-xl border bg-card p-4 md:p-6"
>
- Career profile
+ Profile details
Keep career facts, approved wording and source links for future applications.
diff --git a/src/components/career-resume-studio.tsx b/src/components/career-resume-studio.tsx
index 1413669..3e2c6a0 100644
--- a/src/components/career-resume-studio.tsx
+++ b/src/components/career-resume-studio.tsx
@@ -1,9 +1,9 @@
'use client';
import { useCallback, useEffect, useRef, useState } from 'react';
-import { Button } from '@/components/ui/button';
-import { Input } from '@/components/ui/input';
-import { Textarea } from '@/components/ui/textarea';
+import { Button } from '@saas-maker/ui/components/button';
+import { Input } from '@saas-maker/ui/components/input';
+import { Textarea } from '@saas-maker/ui/components/textarea';
import { callCareerResume } from '@/lib/actions/career-resume';
type Response = Awaited>;
@@ -140,12 +140,9 @@ function Studio({ profileId }: { profileId: string }) {
className="space-y-5 rounded-xl border bg-card p-4 sm:p-6"
>
-
- Generate a resume
-
-
- Use this profile for a general resume, or add a job description to tailor it.
-
+
+ Résumé options
+