anonpenguin23 93dface005 feat(cli): add fanout push strategy and improve website responsiveness
- Add --fanout flag to push command for server-to-server deployment
- Implement agent forwarding for efficient multi-node distribution
- Update landing page scene heights and section padding for mobile devices
2026-03-28 15:27:54 +02:00

37 lines
677 B
TypeScript

import type { ReactNode } from "react";
import { cn } from "../../lib/utils";
const paddingVariants = {
default: "py-16 sm:py-24",
narrow: "py-8 sm:py-12",
wide: "py-12 sm:py-24 lg:py-32",
none: "py-0",
} as const;
export interface SectionProps {
id?: string;
className?: string;
children: ReactNode;
padding?: keyof typeof paddingVariants;
}
export function Section({
id,
className,
children,
padding = "default",
}: SectionProps) {
return (
<section
id={id}
className={cn(
"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8",
paddingVariants[padding],
className,
)}
>
{children}
</section>
);
}