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/account/stars.tsx
Views: 687
1
/*
2
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
3
* License: MS-RSL – see LICENSE.md for details
4
*/
5
6
import { Customize } from "lib/share/customize";
7
import PublicPaths from "components/share/public-paths";
8
import { Layout } from "components/share/layout";
9
import A from "components/misc/A";
10
import { Icon } from "@cocalc/frontend/components/icon";
11
12
interface Props {
13
stars;
14
customize;
15
}
16
17
export default function Stars({ customize, stars }: Props) {
18
return (
19
<Customize value={customize}>
20
<Layout title={"Your Stars"}>
21
<h1>
22
<Icon name="star-filled" /> Your Stars
23
</h1>
24
You can star anything that is <A href="/share">shared publicly</A> and
25
it will appear in the list below.
26
<br />
27
<br />
28
<PublicPaths publicPaths={stars} />
29
</Layout>
30
</Customize>
31
);
32
}
33
34