Skip to content

Commit 94d9777

Browse files
authored
Merge pull request #8215 from sagemathinc/gdpr-trust-8211
next/policies/trust: add GDPR (#8211) entry and SOC2 logo
2 parents 2f4bacf + 7eab919 commit 94d9777

File tree

2 files changed

+85
-30
lines changed

2 files changed

+85
-30
lines changed

src/packages/next/pages/policies/trust.tsx

+85-30
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,45 @@ import { Icon } from "@cocalc/frontend/components/icon";
44
import Footer from "components/landing/footer";
55
import Head from "components/landing/head";
66
import Header from "components/landing/header";
7+
import Image from "components/landing/image";
78
import { POLICIES } from "components/landing/sub-nav";
89
import { Paragraph, Text, Title } from "components/misc";
910
import A from "components/misc/A";
1011
import { MAX_WIDTH } from "lib/config";
1112
import { Customize } from "lib/customize";
1213
import withCustomize from "lib/with-customize";
1314

14-
export default function Privacy({ customize }) {
15+
import SOC2LOGO from "public/soc2-aicpa-logo.png";
16+
17+
const GDPR_BADGE_HTML = `
18+
<html>
19+
<head>
20+
<style>
21+
.verificationBadgeContainer {
22+
display: inline-block;
23+
text-align: left;
24+
}
25+
</style>
26+
</head>
27+
<body>
28+
<div id="gdprVerifier"></div>
29+
<script>
30+
(function(w,d,s,o,f,js,fjs){
31+
w[o]=w[o]||function(){(w[o].q=w[o].q||[]).push(arguments)};
32+
js=d.createElement(s),fjs=d.getElementsByTagName(s)[0];
33+
js.id=o;js.src=f;js.async=1;fjs.parentNode.insertBefore(js,fjs);
34+
}(window,document,'script','gdprBadge','https://cdn.gdprlocal.com/static/widget.js'));
35+
36+
gdprBadge('init', {
37+
element: document.getElementById('gdprVerifier'),
38+
verificationId: 'RNCB5WV'
39+
});
40+
</script>
41+
</body>
42+
</html>
43+
`;
44+
45+
export default function Trust({ customize }) {
1546
return (
1647
<Customize value={customize}>
1748
<Head title={POLICIES.trust.label} />
@@ -34,36 +65,60 @@ export default function Privacy({ customize }) {
3465
<Icon name="lock-outlined" /> CoCalc - Security and Compliance (
3566
{POLICIES.trust.label})
3667
</Title>
37-
<div style={{ fontSize: "12pt" }}>
38-
<Title level={2}>SOC 2</Title>
39-
<Paragraph>
40-
CoCalc by SageMath, Inc. is{" "}
41-
<Text strong>
42-
<A href="https://www.vanta.com/collection/soc-2/what-is-soc-2">
43-
SOC 2 compliant
44-
</A>
45-
</Text>
46-
, meaning we meet rigorous standards for data security and
47-
operational integrity. This compliance is verified through
48-
independent audits, ensuring that we effectively protect
49-
customer information across security, availability, processing
50-
integrity, confidentiality, and privacy. Our commitment to these
51-
high standards enhances trust and reliability for our users.
52-
</Paragraph>
53-
<Paragraph>
54-
Please learn more about the current status in{" "}
55-
<A href="https://trust.cocalc.com/">
56-
Sagemath, Inc.'s Trust Center
68+
<Title level={2}>GDPR</Title>
69+
<Paragraph>
70+
SageMath, Inc. compliance with{" "}
71+
<A href={"https://gdpr-info.eu/"}>GDPR</A> has been verified by
72+
our EU and UK representative{" "}
73+
<A hfre={"https://gdprlocal.com/"}>GDPR Local</A>.
74+
</Paragraph>
75+
<Paragraph>
76+
<iframe
77+
srcDoc={GDPR_BADGE_HTML}
78+
sandbox="allow-scripts"
79+
style={{
80+
width: "100%",
81+
height: "180px",
82+
border: "none",
83+
overflow: "auto",
84+
}}
85+
/>
86+
</Paragraph>
87+
<Title level={2}>SOC 2</Title>
88+
<Paragraph>
89+
CoCalc by SageMath, Inc. is{" "}
90+
<Text strong>
91+
<A href="https://www.vanta.com/collection/soc-2/what-is-soc-2">
92+
SOC 2 compliant
5793
</A>
58-
.
59-
</Paragraph>
60-
<h2>Questions?</h2>
61-
<Paragraph>
62-
Please contact us at{" "}
63-
<A href="mailto:[email protected]">[email protected]</A> if
64-
you have any questions.
65-
</Paragraph>
66-
</div>
94+
</Text>
95+
, meaning we meet rigorous standards for data security and
96+
operational integrity. This compliance is verified through
97+
independent audits, ensuring that we effectively protect customer
98+
information across security, availability, processing integrity,
99+
confidentiality, and privacy. Our commitment to these high
100+
standards enhances trust and reliability for our users.
101+
</Paragraph>
102+
<Paragraph strong>
103+
Please learn more about the current status in{" "}
104+
<A href="https://trust.cocalc.com/">
105+
Sagemath, Inc.'s Trust Center
106+
</A>
107+
.
108+
</Paragraph>
109+
<Paragraph>
110+
<Image
111+
style={{ width: "150px", margin: "auto", height: "150px" }}
112+
src={SOC2LOGO}
113+
alt={"SOC 2 Compliance Logo"}
114+
/>
115+
</Paragraph>
116+
<h2>Questions?</h2>
117+
<Paragraph>
118+
Please contact us at{" "}
119+
<A href="mailto:[email protected]">[email protected]</A> if
120+
you have any questions.
121+
</Paragraph>
67122
</div>
68123
<Footer />
69124
</Layout.Content>{" "}
28.4 KB
Loading

0 commit comments

Comments
 (0)