Files
g-butandClaude Opus 4.5 1c7abeebac docs(claude): add global standards reference and update date
- Add @~/.claude/CLAUDE.md import for global engineering standards
- Update Last Updated date to 2026-01-23

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 15:22:36 +01:00

29 lines
636 B
TypeScript

import { type FC, type ReactNode } from 'react';
interface BotSectionProps {
id: string;
children: ReactNode;
className?: string;
isLast?: boolean;
}
/**
* Standardized section wrapper for bot pages
* Provides consistent spacing, scroll-margin for navigation, and section IDs
*/
export const BotSection: FC<BotSectionProps> = ({
id,
children,
className = '',
isLast = false,
}) => {
const baseClasses = 'scroll-mt-24';
const spacingClasses = isLast ? 'mb-24' : 'my-16';
return (
<section id={id} className={`${baseClasses} ${spacingClasses} ${className}`.trim()}>
{children}
</section>
);
};