mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
f1de05e4de
* style: onboarding light version * style: dark mode * fix: onboarding gradient * refactor: imports * chore: add use case field in users api * feat: delete account * fix: delete modal points alignment * feat: usecase in profile * fix: build error * fix: typos & hardcoded strings --------- Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
22 lines
828 B
TypeScript
22 lines
828 B
TypeScript
import React from "react";
|
|
|
|
const OnboardingStepIndicator = ({ step }: { step: number }) => (
|
|
<div className="flex items-center justify-center">
|
|
<div className="h-4 w-4 rounded-full bg-custom-primary-100 z-10" />
|
|
<div className={`h-1 w-14 -ml-1 ${step >= 2 ? "bg-custom-primary-100" : "bg-onboarding-background-100"}`} />
|
|
<div
|
|
className={` z-10 -ml-1 rounded-full ${
|
|
step >= 2 ? "bg-custom-primary-100 h-4 w-4" : " h-3 w-3 bg-onboarding-background-100"
|
|
}`}
|
|
/>
|
|
<div className={`h-1 w-14 -ml-1 ${step >= 3 ? "bg-custom-primary-100" : "bg-onboarding-background-100"}`} />
|
|
<div
|
|
className={`rounded-full -ml-1 z-10 ${
|
|
step >= 3 ? "bg-custom-primary-100 h-4 w-4" : "h-3 w-3 bg-onboarding-background-100"
|
|
}`}
|
|
/>
|
|
</div>
|
|
);
|
|
|
|
export default OnboardingStepIndicator;
|