Skip to content

Commit 09780b8

Browse files
committed
add youtube video for applying license to project
1 parent b124b36 commit 09780b8

File tree

2 files changed

+19
-10
lines changed

2 files changed

+19
-10
lines changed

src/packages/frontend/project/settings/site-license.tsx

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
import { Button, Card, Popover } from "antd";
1010
import { FormattedMessage, useIntl } from "react-intl";
11-
1211
import { alert_message } from "@cocalc/frontend/alerts";
1312
import {
1413
redux,
@@ -207,14 +206,24 @@ export function SiteLicense({
207206

208207
function render_extra(): Rendered {
209208
return (
210-
<Popover
211-
content={LICENSE_INFORMATION}
212-
trigger={["click"]}
213-
placement="rightTop"
214-
title="License information"
215-
>
216-
<Icon name="question-circle" />
217-
</Popover>
209+
<>
210+
<Button
211+
href="https://youtu.be/kQv26e27ksY"
212+
target="_new"
213+
style={{ marginRight: "15px" }}
214+
>
215+
<Icon name="youtube" style={{ color: "red" }} />
216+
Tutorial
217+
</Button>
218+
<Popover
219+
content={LICENSE_INFORMATION}
220+
trigger={["click"]}
221+
placement="rightTop"
222+
title="License information"
223+
>
224+
<Icon name="question-circle" />
225+
</Popover>
226+
</>
218227
);
219228
}
220229

src/packages/frontend/site-licenses/rules.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export const LICENSE_ACTIVATION_RULES = (
4444
export const LICENSE_INFORMATION = (
4545
<div style={{ maxWidth: "450px" }}>
4646
<p>
47-
A license is a set of upgrades that can be applied to a project. Check the{" "}
47+
A license upgrades a project. Check the{" "}
4848
<A href={"https://doc.cocalc.com/licenses.html"}>
4949
site-license documentation
5050
</A>{" "}

0 commit comments

Comments
 (0)