diff --git a/apps/webapp/src/app/dashboard/layout.tsx b/apps/webapp/src/app/dashboard/layout.tsx index 4a20678..6032027 100644 --- a/apps/webapp/src/app/dashboard/layout.tsx +++ b/apps/webapp/src/app/dashboard/layout.tsx @@ -3,12 +3,5 @@ export default function DashboardLayout({ }: { children: React.ReactNode }) { - return ( -
- -
{children}
-
- ) + return <>{children}; } \ No newline at end of file diff --git a/apps/webapp/src/app/dashboard/page.tsx b/apps/webapp/src/app/dashboard/page.tsx index e8aeb20..e2f6edf 100644 --- a/apps/webapp/src/app/dashboard/page.tsx +++ b/apps/webapp/src/app/dashboard/page.tsx @@ -567,7 +567,12 @@ export default function Dashboard() { }; const handleDeleteVersion = async (versionId: string) => { - if (!confirm('Delete this branch? This cannot be undone.')) return; + const version = selectedDoc?.versions.find(v => v.id === versionId); + const hasChildren = selectedDoc?.versions.some(v => v.parent_version_id === versionId); + const msg = hasChildren + ? 'Delete this branch and all its sub-branches? This cannot be undone.' + : 'Delete this branch? This cannot be undone.'; + if (!confirm(msg)) return; try { await deleteVersion(versionId); const fresh = await refreshDocs(); @@ -610,7 +615,7 @@ export default function Dashboard() { ☰ - Resume Branches + cvfs
diff --git a/apps/webapp/src/app/layout.tsx b/apps/webapp/src/app/layout.tsx index 0a1ffb3..89ca6d5 100644 --- a/apps/webapp/src/app/layout.tsx +++ b/apps/webapp/src/app/layout.tsx @@ -2,8 +2,8 @@ import type { Metadata } from "next"; import "./globals.css"; export const metadata: Metadata = { - title: "Resume Branches", - description: "Manage your CV like code: branch, version, and tailor for different roles while preserving ATS formatting", + title: "cvfs", + description: "CV File System — manage your resume like code: branch, version, and tailor for different roles while preserving ATS formatting", }; export default function RootLayout({ children }: { children: React.ReactNode }) { diff --git a/apps/webapp/src/app/login/page.tsx b/apps/webapp/src/app/login/page.tsx index 0c85526..ae681de 100644 --- a/apps/webapp/src/app/login/page.tsx +++ b/apps/webapp/src/app/login/page.tsx @@ -52,7 +52,7 @@ export default function LoginPage() { {/* brand */}
- Resume Branches + cvfs
Sign in to your account @@ -126,7 +126,7 @@ export default function LoginPage() {

- Resume Branches — private CV control plane + cvfs — CV File System

diff --git a/apps/webapp/src/app/page.tsx b/apps/webapp/src/app/page.tsx index 536ff1b..1bb3ca3 100644 --- a/apps/webapp/src/app/page.tsx +++ b/apps/webapp/src/app/page.tsx @@ -10,10 +10,10 @@ export default function Home() {

- Resume Branches + cvfs

- Git for CVs + CV File System

Upload your ATS-safe DOCX. Branch it by role. Tailor per company without diff --git a/apps/webapp/src/components/Footer.tsx b/apps/webapp/src/components/Footer.tsx index b76e55b..02ea949 100644 --- a/apps/webapp/src/components/Footer.tsx +++ b/apps/webapp/src/components/Footer.tsx @@ -4,9 +4,9 @@ export default function Footer() {

-

Resume Branches

+

cvfs

- Git for CVs. Manage your resume like code with version control, + CV File System. Manage your resume like code with version control, branching, and smart AI-assisted tailoring.

@@ -40,7 +40,7 @@ export default function Footer() {
-

© 2024 Resume Branches. All rights reserved.

+

© 2024 cvfs. All rights reserved.

Twitter diff --git a/apps/webapp/src/components/Header.tsx b/apps/webapp/src/components/Header.tsx index b838f20..4439192 100644 --- a/apps/webapp/src/components/Header.tsx +++ b/apps/webapp/src/components/Header.tsx @@ -4,7 +4,7 @@ export default function Header() { return (
- Resume Branches + cvfs