-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cf79986
commit ee0fadb
Showing
10 changed files
with
148 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
69 changes: 69 additions & 0 deletions
69
packages/docs/src/app/_components/layout/Footer/Footer.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
"use client"; | ||
import type { FC } from "react"; | ||
import React from "react"; | ||
import { LayoutCard } from "@mittwald/flow-react-components/LayoutCard"; | ||
import { ColumnLayout } from "@mittwald/flow-react-components/ColumnLayout"; | ||
import { Section } from "@mittwald/flow-react-components/Section"; | ||
import { Heading } from "@mittwald/flow-react-components/Heading"; | ||
import { Header } from "@mittwald/flow-react-components/Header"; | ||
import { Link } from "@mittwald/flow-react-components/Link"; | ||
import styles from "./footer.module.scss"; | ||
import { Image } from "@mittwald/flow-react-components/Image"; | ||
import feedback from "../../../../../assets/Styleguide-Footer_Feedback.svg"; | ||
import logoMittwald from "../../../../../assets/mittwald-logo-footer.svg"; | ||
import clsx from "clsx"; | ||
|
||
const Footer: FC = () => { | ||
return ( | ||
<LayoutCard elementType="footer" className={styles.footer}> | ||
<ColumnLayout m={[1, 1, 2]} l={[1, 1, 2, 1]}> | ||
<Section> | ||
<Header> | ||
<Heading level={3}>Contributoren-Seiten</Heading> | ||
</Header> | ||
<Link color="dark" href="https://github.com/mittwald/flow"> | ||
GitHub Repo | ||
</Link> | ||
<Link color="dark" href="https://developer.mittwald.de/"> | ||
Developer-Portal | ||
</Link> | ||
</Section> | ||
<Section> | ||
<Header> | ||
<Heading level={3}>Rechtliches</Heading> | ||
</Header> | ||
<Link color="dark" href="https://www.mittwald.de/impressum"> | ||
Impressum | ||
</Link> | ||
<Link color="dark" href="https://www.mittwald.de/datenschutz"> | ||
Datenschutz | ||
</Link> | ||
</Section> | ||
|
||
<Section> | ||
<Heading level={3}>Hilf uns, Flow noch besser zu machen!</Heading> | ||
Fehlt dir eine bestimmte Component oder etwas Anderes? Hast du | ||
Feedback? Dann teile es uns gerne auf GitHub mit. | ||
<Link | ||
color="dark" | ||
href="https://github.com/mittwald/flow/issues/new?template=general-style-guide-feedback.md" | ||
> | ||
Feedback zu Flow geben | ||
</Link> | ||
</Section> | ||
<Image | ||
src={feedback.src} | ||
alt="Styleguide Feedback" | ||
className={clsx(styles.feedbackPicture)} | ||
/> | ||
</ColumnLayout> | ||
<br /> | ||
<small> | ||
<Image src={logoMittwald.src} alt="mittwald Logo" />© 2024 Mittwald CM | ||
Service GmbH & Co. KG | ||
</small> | ||
</LayoutCard> | ||
); | ||
}; | ||
|
||
export default Footer; |
15 changes: 15 additions & 0 deletions
15
packages/docs/src/app/_components/layout/Footer/footer.module.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
.footer { | ||
background-color: var(--color--hosting-blue--200); | ||
margin: 0; | ||
|
||
& > * { | ||
max-width: 1500px; | ||
margin: 0 auto; | ||
} | ||
} | ||
|
||
@container (max-width: 850px) { | ||
.feedbackPicture { | ||
display: none; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import Footer from "@/app/_components/layout/Footer/Footer"; | ||
|
||
export default Footer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,7 @@ | |
-webkit-text-size-adjust: 100%; | ||
} | ||
} | ||
|
||
body { | ||
margin: 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters