@@ -10,38 +10,49 @@ import Info from "./info";
1010
1111interface Props {
1212 image : StaticImageData ;
13+ alt ?: string ;
14+ children ?: React . ReactNode ;
1315}
1416
1517export default function Collaboration ( props : Props ) {
16- const { image } = props ;
18+ const {
19+ image,
20+ alt = "Editing a document in two browser windows" ,
21+ children,
22+ } = props ;
1723 return (
1824 < Info
1925 anchor = "a-realtimesync"
2026 icon = "users"
2127 title = "Collaborative editing without limits"
2228 image = { image }
23- alt = "Editing a document in two browser windows"
29+ alt = { alt }
2430 >
25- < Paragraph >
26- Privately share your project with{ " " }
27- < A href = "https://doc.cocalc.com/project-settings.html#about-collaborators" >
28- < strong > an unlimited number of collaborators</ strong >
29- </ A >
30- . Simultaneous modifications of your document are{ " " }
31- < strong > synchronized in real time</ strong > . You see the cursors of
32- others while they edit the document and also see the presence of
33- watching collaborators.
34- </ Paragraph >
31+ { children ?? (
32+ < >
33+ < Paragraph >
34+ Privately share your project with{ " " }
35+ < A href = "https://doc.cocalc.com/project-settings.html#about-collaborators" >
36+ < strong > an unlimited number of collaborators</ strong >
37+ </ A >
38+ . Simultaneous modifications of your document are{ " " }
39+ < strong > synchronized in real time</ strong > . You see the cursors of
40+ others while they edit the document and also see the presence of
41+ watching collaborators.
42+ </ Paragraph >
3543
36- < Paragraph >
37- Additionally, any compilation status and output is synchronized between
38- everyone, because everything runs online and is fully managed by CoCalc.
39- </ Paragraph >
44+ < Paragraph >
45+ Additionally, any compilation status and output is synchronized
46+ between everyone, because everything runs online and is fully
47+ managed by CoCalc.
48+ </ Paragraph >
4049
41- < Paragraph >
42- This ensures that everyone involved experiences editing the document in
43- exactly the same way.
44- </ Paragraph >
50+ < Paragraph >
51+ This ensures that everyone involved experiences editing the document
52+ in exactly the same way.
53+ </ Paragraph >
54+ </ >
55+ ) }
4556 </ Info >
4657 ) ;
4758}
0 commit comments