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/landing/snapshots.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 { ReactNode } from "react";
7
8
import A from "components/misc/A";
9
import Info from "./info";
10
import image from "public/features/cocalc-snapshots.png";
11
import { Paragraph } from "components/misc";
12
13
interface Props {
14
children?: ReactNode;
15
}
16
17
export default function Snapshots({ children }: Props) {
18
return (
19
<Info
20
title="Snapshot backups"
21
image={image}
22
icon="life-saver"
23
anchor="a-snapshot-backups"
24
alt="Browsing filesystem snapshots in a CoCalc project"
25
wide
26
>
27
<Paragraph>
28
<strong>Snapshots</strong> are consistent read-only views of all your
29
files in a{" "}
30
<A href="https://doc.cocalc.com/project.html">CoCalc project</A>. You
31
can restore your files by copying back any that you accidentally deleted
32
or corrupted.
33
</Paragraph>
34
{children}
35
</Info>
36
);
37
}
38
39