feat: Introduce new service pages for 'Leistungen', 'Telefonie', 'Fernsehen', and 'Internet', accompanied by new layout components and image assets.

This commit is contained in:
1elle1
2026-02-03 19:35:44 +01:00
parent 93d3a6a25d
commit d182ceeb75
39 changed files with 1904 additions and 82 deletions
+11 -3
View File
@@ -1,20 +1,28 @@
import type { ElementType, ReactNode } from "react";
type ContainerVariant = "default" | "narrow" | "wide";
interface ContainerProps {
children: ReactNode;
className?: string;
as?: ElementType;
variant?: ContainerVariant;
}
const variantClasses: Record<ContainerVariant, string> = {
default: "container",
narrow: "container container--narrow",
wide: "container container--wide",
};
export function Container({
children,
className = "",
as: Tag = "div",
variant = "default",
}: ContainerProps) {
return (
<Tag
className={`mx-auto w-full max-w-[var(--container-max-width)] px-[var(--container-padding-x)] ${className}`.trim()}
>
<Tag className={`${variantClasses[variant]} ${className}`.trim()}>
{children}
</Tag>
);