CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
sagemathinc

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: sagemathinc/cocalc
Path: blob/master/src/packages/next/components/share/content.tsx
Views: 687
1
/*
2
* This file is part of CoCalc: Copyright © 2021 Sagemath, Inc.
3
* License: MS-RSL – see LICENSE.md for details
4
*/
5
6
import { Layout } from "antd";
7
8
import { COLORS } from "@cocalc/util/theme";
9
import useCustomize from "lib/use-customize";
10
11
export default function Content() {
12
const { siteName, anonymousSignup } = useCustomize();
13
return (
14
<Layout.Content style={{ backgroundColor: COLORS.LANDING.TOP_BG }}>
15
<h1>SHARE SERVER</h1>
16
{siteName}
17
{anonymousSignup ? "anonymous sign up allowed" : "NO anonymous"}
18
</Layout.Content>
19
);
20
}
21
22