Skip to content

Commit 9dd8714

Browse files
Add a legal page.
1 parent f44f498 commit 9dd8714

3 files changed

Lines changed: 73 additions & 2 deletions

File tree

src/components/footer/Footer.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export function SocialMediasQuantStack() {
99
return (
1010
<div>
1111
<b>Follow us on</b> <br />
12-
<div style={{marginBottom: "var(--ifm-spacing-lg)"}}>
12+
<div style={{ marginBottom: "var(--ifm-spacing-lg)" }}>
1313
<Link href={"https://github.com/QuantStack"}>{<GHPicture />}</Link>
1414
<Link href={"https://www.linkedin.com/company/quantstack/mycompany"}>
1515
{<LinkedInPicture />}
@@ -27,10 +27,13 @@ export default function Footer() {
2727
<div className={"row"} style={{ paddingBottom: "var(--ifm-spacing-xl)" }}>
2828
<div
2929
className={
30-
"col flex-horizontally-centered" + " " + styles.col_social_media_desktop
30+
"col" + " " + styles.col_social_media_desktop
3131
}
3232
>
3333
<SocialMediasQuantStack />
34+
<div>
35+
<Link href={"/legal"}> <b>Legal</b></Link>
36+
</div>
3437
</div>
3538
<div className={"col flex-horizontally-centered"}>
3639
<div className={"container" + " " + styles.menu_container}>

src/pages/legal.module.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
.legal_container {
2+
margin: var(--ifm-spacing-3xl)
3+
}
4+
5+
.legal_title {
6+
margin-bottom: var(--ifm-spacing-sm);
7+
margin-top: var(--ifm-spacing-md);
8+
font-family: var(--ifm-font-family-roboto);
9+
font-size: var(--ifm-font-size-secondary-title);
10+
font-weight: bolder;
11+
line-height: 150%;
12+
text-align: start;
13+
color: var(--ifm-color-primary-p2);
14+
}

src/pages/legal.tsx

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
import Layout from "@theme/Layout";
2+
import BrowserOnly from "@docusaurus/BrowserOnly";
3+
import Footer from "../components/footer/Footer";
4+
import React from "react";
5+
import styles from "./legal.module.css";
6+
7+
8+
function LegalContent() {
9+
return (
10+
<div className={styles.legal_container}>
11+
<div className={styles.legal_title}>Legal Entity </div>
12+
<p>
13+
This website is published by QuantStack, a Simplified Joint-Stock Company (SAS) with a share capital of €1,080.00.
14+
</p>
15+
<p className="page-tagline">
16+
Registered Information
17+
</p>
18+
<p>
19+
<b>Address </b>: 16 Avenue Curti, 94100 Saint-Maur-des-Fossés, France
20+
</p>
21+
<p>
22+
<b>VAT Number</b>: FR76 820 717 668
23+
</p>
24+
<p>
25+
<b>SIREN (Company ID)</b>: 820 717 668
26+
</p>
27+
<div className={styles.legal_title}>Hosting Provider </div>
28+
<p>
29+
This website is hosted by GitHub, Inc.
30+
</p>
31+
32+
<p className="page-tagline"> Registered information </p>
33+
<p><b>Address </b>: 8 Colin P. Kelly Jr Street
34+
San Francisco, CA 94107
35+
United States </p>
36+
<p>
37+
<b>Email</b> : https://enterprise.github.com/contact
38+
</p>
39+
</div>
40+
)
41+
}
42+
43+
44+
45+
export default function LegalPage(): JSX.Element {
46+
return (
47+
<Layout>
48+
<BrowserOnly>{() => <div>
49+
<LegalContent />
50+
</div>}</BrowserOnly>
51+
<Footer />
52+
</Layout>
53+
);
54+
}

0 commit comments

Comments
 (0)