diff --git a/packages/components/src/components/ColumnLayout/ColumnLayout.tsx b/packages/components/src/components/ColumnLayout/ColumnLayout.tsx index dc39cb9f9..266eaeeee 100644 --- a/packages/components/src/components/ColumnLayout/ColumnLayout.tsx +++ b/packages/components/src/components/ColumnLayout/ColumnLayout.tsx @@ -10,7 +10,7 @@ import type { import type { PropsContext } from "@/lib/propsContext"; import { PropsContextProvider } from "@/lib/propsContext"; -type GapSize = "s" | "m" | "l"; +type GapSize = "s" | "m" | "l" | "xl"; export interface ColumnLayoutProps extends PropsWithChildren, diff --git a/packages/components/src/integrations/nextjs/components/Link/Link.tsx b/packages/components/src/integrations/nextjs/components/Link/Link.tsx index 35f7b1601..089fef6cb 100644 --- a/packages/components/src/integrations/nextjs/components/Link/Link.tsx +++ b/packages/components/src/integrations/nextjs/components/Link/Link.tsx @@ -10,8 +10,6 @@ export const Link = forwardRef( function Link(props, ref) { const { href, isDisabled, ...rest } = props; - console.log(props); - return ( { return ( + // logo außerhalb des columns, column außenrum + // mobile 32px padding - -
-
- Contributoren-Seiten -
- - GitHub Repo - - - Developer-Portal - -
-
-
- Rechtliches -
- - Impressum - - - Datenschutz - -
- -
- Hilf uns, Flow noch besser zu machen! - Fehlt dir eine bestimmte Component oder etwas Anderes? Hast du - Feedback? Dann teile es uns gerne auf GitHub mit. - - Feedback zu Flow geben - -
- Styleguide Feedback -
-
- - mittwald Logo© 2024 Mittwald CM - Service GmbH & Co. KG - +
+ + + + GitHub Repo + + + Developer-Portal + + + + + Impressum + + + Datenschutz + + + + Fehlt dir eine bestimmte Component oder etwas Anderes? Hast du + Feedback? Dann teile es uns gerne auf GitHub mit. + + Feedback zu Flow geben + + +
+ mittwald Logo© 2024 Mittwald + CM Service GmbH & Co. KG +
+
+
+ Styleguide Feedback +
+
); }; diff --git a/packages/docs/src/app/_components/layout/Footer/components/FooterSection.module.scss b/packages/docs/src/app/_components/layout/Footer/components/FooterSection.module.scss new file mode 100644 index 000000000..fbaa3b29b --- /dev/null +++ b/packages/docs/src/app/_components/layout/Footer/components/FooterSection.module.scss @@ -0,0 +1,11 @@ +.footerSection { + display: flex; + flex-direction: column; + gap: var(--size-px--s); + font-size: var(--font-size-text--s); +} + +.footerSectionContent { + display: grid; + gap: var(--size-px--xs); +} diff --git a/packages/docs/src/app/_components/layout/Footer/components/FooterSection.tsx b/packages/docs/src/app/_components/layout/Footer/components/FooterSection.tsx new file mode 100644 index 000000000..7c3683cfd --- /dev/null +++ b/packages/docs/src/app/_components/layout/Footer/components/FooterSection.tsx @@ -0,0 +1,15 @@ +import styles from "./FooterSection.module.scss"; +import type { FC, PropsWithChildren } from "react"; +import React from "react"; +import { Heading } from "@mittwald/flow-react-components/Heading"; + +export interface FooterSectionProps extends PropsWithChildren { + title: string; +} + +export const FooterSection: FC = ({ children, title }) => ( +
+ {title} +
{children}
+
+); diff --git a/packages/docs/src/app/_components/layout/Footer/footer.module.scss b/packages/docs/src/app/_components/layout/Footer/footer.module.scss index 4c405d5f5..ec3636134 100644 --- a/packages/docs/src/app/_components/layout/Footer/footer.module.scss +++ b/packages/docs/src/app/_components/layout/Footer/footer.module.scss @@ -1,15 +1,50 @@ .footer { + container-type: inline-size; background-color: var(--color--hosting-blue--200); margin: 0; + padding: var(--size-px--xxl); +} - & > * { - max-width: 1500px; - margin: 0 auto; - } +.footerColumnLayout { + width: 100%; +} + +.footerWrapper { + display: flex; + gap: var(--size-px--xxl); + max-width: 1500px; + margin: 0 auto; +} + +.mittwaldLogo { + display: grid; + grid-column: span 3 / span 3; + gap: var(--size-px--s); } @container (max-width: 850px) { - .feedbackPicture { - display: none; + .footer { + .feedbackPicture { + display: none; + } + + .mittwaldLogo { + grid-column: span 3 / span 3; + } + } +} + +@container (max-width: 550px) { + .footer { + padding: var(--size-px--xl); + + .footerWrapper { + flex-direction: column; + gap: var(--size-px--xl); + } + + .mittwaldLogo { + grid-column: auto; + } } }