+
+ {/* Organization Name */}
+
+
+ setOrganizationName(e.target.value)}
+ placeholder={t("organization_name")}
+ className="border-default h-7 rounded-[10px] border px-2 py-1.5 text-sm"
+ />
+
- {/* Progress dots - centered */}
-
+ {/* Organization Link */}
+
-
-
-
- {/* Main content */}
-
-
- {/* Card */}
-
-
- {/* Card Header */}
-
-
-
- {t("onboarding_org_details_title")}
-
-
- {t("onboarding_org_details_subtitle")}
-
-
-
-
- {/* Form */}
-
-
-
-
-
- {/* Organization Name */}
-
-
- setOrganizationName(e.target.value)}
- placeholder={t("organization_name")}
- className="border-default h-7 rounded-[10px] border px-2 py-1.5 text-sm"
- />
-
-
- {/* Organization Link */}
-
-
- {/* Organization Bio */}
-
-
-
-
-
+ {/* Organization Bio */}
+
+
+
-
- {/* Footer */}
-
-
-
-
-
+
+
);
};
diff --git a/apps/web/modules/onboarding/organization/teams/organization-teams-view.tsx b/apps/web/modules/onboarding/organization/teams/organization-teams-view.tsx
index b4641060d9..645c618b74 100644
--- a/apps/web/modules/onboarding/organization/teams/organization-teams-view.tsx
+++ b/apps/web/modules/onboarding/organization/teams/organization-teams-view.tsx
@@ -9,8 +9,9 @@ import { useLocale } from "@calcom/lib/hooks/useLocale";
import { Button } from "@calcom/ui/components/button";
import { Form, TextField } from "@calcom/ui/components/form";
import { Icon } from "@calcom/ui/components/icon";
-import { Logo } from "@calcom/ui/components/logo";
+import { OnboardingCard } from "../../personal/_components/OnboardingCard";
+import { OnboardingLayout } from "../../personal/_components/OnboardingLayout";
import { useOnboardingStore } from "../../store/onboarding-store";
type OrganizationTeamsViewProps = {
@@ -63,107 +64,74 @@ export const OrganizationTeamsView = ({ userEmail }: OrganizationTeamsViewProps)
});
return (
-
- {/* Header */}
-
-
-
- {/* Progress dots - centered */}
-
-
-
-
-
- {/* Main content */}
-
-
- {/* Card */}
-
-
- {/* Card Header */}
-
-
-
{t("onboarding_org_teams_title")}
-
- {t("onboarding_org_teams_subtitle")}
-
+
+
+
+
+ >
+ }>
+
+
+
+
);
};
diff --git a/apps/web/modules/onboarding/personal/_components/OnboardingCard.tsx b/apps/web/modules/onboarding/personal/_components/OnboardingCard.tsx
index ea97f9e8b2..03e2805120 100644
--- a/apps/web/modules/onboarding/personal/_components/OnboardingCard.tsx
+++ b/apps/web/modules/onboarding/personal/_components/OnboardingCard.tsx
@@ -23,7 +23,7 @@ export const OnboardingCard = ({ title, subtitle, children, footer, isLoading }:
{/* Content */}
-
+
{isLoading ? (
diff --git a/apps/web/modules/onboarding/personal/profile/personal-profile-view.tsx b/apps/web/modules/onboarding/personal/profile/personal-profile-view.tsx
index 8fbdb6beda..67efa29b4f 100644
--- a/apps/web/modules/onboarding/personal/profile/personal-profile-view.tsx
+++ b/apps/web/modules/onboarding/personal/profile/personal-profile-view.tsx
@@ -13,11 +13,12 @@ import { Button } from "@calcom/ui/components/button";
import { Editor } from "@calcom/ui/components/editor";
import { Label } from "@calcom/ui/components/form";
import { ImageUploader } from "@calcom/ui/components/image-uploader";
-import { Logo } from "@calcom/ui/components/logo";
import { showToast } from "@calcom/ui/components/toast";
import { UsernameAvailabilityField } from "@components/ui/UsernameAvailability";
+import { OnboardingCard } from "../_components/OnboardingCard";
+import { OnboardingLayout } from "../_components/OnboardingLayout";
import { useOnboardingStore } from "../../store/onboarding-store";
type PersonalProfileViewProps = {
@@ -93,128 +94,89 @@ export const PersonalProfileView = ({ userEmail }: PersonalProfileViewProps) =>
}
if (!user) {
- return null; // or a loading spinner
+ return null;
}
return (
-
- {/* Header */}
-
-
+
+
+ {t("continue")}
+
+ }>
+ {/* Form */}
+
+
+
+