feat: interactive feature showcase on the signup panel

Replaces the static quote in the onboarding layout's left panel with
an auto-rotating carousel of product highlights (Deploy / Manage /
Scale, 3 slides x 4 items), shown on the cloud signup page only.

- OnboardingLayout gets an optional leftPanel override, default
  quote untouched everywhere else (login, invitation, password reset).
- Auto-advances every 6s, pauses on hover/focus, respects
  prefers-reduced-motion, manual dot + arrow navigation.
- Copy pulled from the website's existing first-features.tsx section
  to stay consistent with approved marketing copy.
This commit is contained in:
Mauricio Siu
2026-08-14 09:24:54 -06:00
parent d542967ae4
commit ac9ad72875
3 changed files with 219 additions and 5 deletions
@@ -8,8 +8,10 @@ import { Button } from "../ui/button";
interface Props {
children: React.ReactNode;
/** Overrides the default quote in the left panel (desktop only). */
leftPanel?: React.ReactNode;
}
export const OnboardingLayout = ({ children }: Props) => {
export const OnboardingLayout = ({ children, leftPanel }: Props) => {
const { config: whitelabeling } = useWhitelabelingPublic();
const appName = whitelabeling?.appName || "Dokploy";
const appDescription =
@@ -30,9 +32,11 @@ export const OnboardingLayout = ({ children }: Props) => {
{appName}
</Link>
<div className="relative z-20 mt-auto">
<blockquote className="space-y-2">
<p className="text-lg text-primary">{appDescription}</p>
</blockquote>
{leftPanel ?? (
<blockquote className="space-y-2">
<p className="text-lg text-primary">{appDescription}</p>
</blockquote>
)}
</div>
</div>
<div className="flex min-h-svh w-full flex-col">