forked from github/plane
a779fa1497
* chore: instance type updated * chore: instance not ready screen added * chore: instance layout added * chore: instance magic sign in endpoint and type added * chore: instance admin password endpoint added * chore: instance setup page added * chore: instance setup form added * chore: instance layout updated * fix: instance admin workflow setup * fix: admin workflow setup --------- Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
36 lines
1.3 KiB
TypeScript
36 lines
1.3 KiB
TypeScript
import Image from "next/image";
|
|
import { useTheme } from "next-themes";
|
|
// icons
|
|
import { Lightbulb } from "lucide-react";
|
|
// images
|
|
import signInIssues from "public/onboarding/onboarding-issues.svg";
|
|
|
|
export const LatestFeatureBlock = () => {
|
|
const { resolvedTheme } = useTheme();
|
|
|
|
return (
|
|
<>
|
|
<div
|
|
className={`flex py-2 bg-onboarding-background-100 border border-onboarding-border-200 mx-auto rounded-[3.5px] sm:w-96 mt-16`}
|
|
>
|
|
<Lightbulb className="h-7 w-7 mr-2 mx-3" />
|
|
<p className={`text-sm text-left text-onboarding-text-100`}>
|
|
Try the latest features, like Tiptap editor, to write compelling responses.{" "}
|
|
<span className="font-medium text-sm underline hover:cursor-pointer" onClick={() => {}}>
|
|
See new features
|
|
</span>
|
|
</p>
|
|
</div>
|
|
<div className="flex justify-center border border-onboarding-border-200 sm:w-96 sm:h-52 object-cover mt-8 mx-auto rounded-md bg-onboarding-background-100 ">
|
|
<Image
|
|
src={signInIssues}
|
|
alt="Plane Issues"
|
|
className={`flex object-cover rounded-md ${
|
|
resolvedTheme === "dark" ? "bg-onboarding-background-100" : "bg-custom-primary-70"
|
|
} `}
|
|
/>
|
|
</div>
|
|
</>
|
|
);
|
|
};
|