simplification

This commit is contained in:
tresabhi committed 2026-08-18 13:21:51 -05:00
1 parent cfc0ebb8e5
commit de8b3959b3
14 files changed
+112 -68

No files matched your search

@@ -0,0 +1,14 @@
.section {
display: flex;
justify-content: center;
.content {
flex: 1;
max-width: var(--page-width);
gap: var(--space-4);
display: flex;
flex-direction: column;
}
}
@@ -0,0 +1,13 @@
import type { ComponentProps } from "react";
import { classNames } from "../../ui/classNames";
import styles from "./index.module.css";
export interface SectionProps extends ComponentProps<"div"> {}
export function Section({ className, children, ...props }: SectionProps) {
return (
<div className={classNames(styles.section, className)} {...props}>
<div className={styles.content}>{children}</div>
</div>
);
}