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/site-name.tsx
Views: 687
1
import useCustomize from "lib/use-customize";
2
3
export default function SiteName({ full }: { full?: boolean }) {
4
const { siteName, siteDescription } = useCustomize();
5
if (full) {
6
return (
7
<>
8
{siteName}: {siteDescription}
9
</>
10
);
11
}
12
return <>{siteName}</>;
13
}
14
15