Skip to content

Commit

Permalink
add youtube video for applying license to project
Browse files Browse the repository at this point in the history
  • Loading branch information
williamstein committed Oct 19, 2024
1 parent b124b36 commit 09780b8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 10 deletions.
27 changes: 18 additions & 9 deletions src/packages/frontend/project/settings/site-license.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

import { Button, Card, Popover } from "antd";
import { FormattedMessage, useIntl } from "react-intl";

import { alert_message } from "@cocalc/frontend/alerts";
import {
redux,
Expand Down Expand Up @@ -207,14 +206,24 @@ export function SiteLicense({

function render_extra(): Rendered {
return (
<Popover
content={LICENSE_INFORMATION}
trigger={["click"]}
placement="rightTop"
title="License information"
>
<Icon name="question-circle" />
</Popover>
<>
<Button
href="https://youtu.be/kQv26e27ksY"
target="_new"
style={{ marginRight: "15px" }}
>
<Icon name="youtube" style={{ color: "red" }} />
Tutorial
</Button>
<Popover
content={LICENSE_INFORMATION}
trigger={["click"]}
placement="rightTop"
title="License information"
>
<Icon name="question-circle" />
</Popover>
</>
);
}

Expand Down
2 changes: 1 addition & 1 deletion src/packages/frontend/site-licenses/rules.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const LICENSE_ACTIVATION_RULES = (
export const LICENSE_INFORMATION = (
<div style={{ maxWidth: "450px" }}>
<p>
A license is a set of upgrades that can be applied to a project. Check the{" "}
A license upgrades a project. Check the{" "}
<A href={"https://doc.cocalc.com/licenses.html"}>
site-license documentation
</A>{" "}
Expand Down

0 comments on commit 09780b8

Please sign in to comment.