Skip to content

Commit b72882a

Browse files
authored
Merge pull request #72 from layer5io/leecalcote/button/videosicon
Feature: videos icon
2 parents c9d27f9 + 7064207 commit b72882a

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed

ui/src/components/ExtensionComponent/RecentDesigns.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ export default function RecentDesignsCard({ isDarkTheme }) {
7676
const myDesignsURL = `https://cloud.layer5.io/catalog/content/my-designs/${name}-${design.id}?source=%257B%2522type%2522%253A%2522my-designs%2522%257D`;
7777
window.ddClient.host.openExternal(myDesignsURL);
7878
};
79+
const RecentsTooltipTitle = (
80+
<Typography variant="body2">Designs in this list are those owned by you, available in your currently selected Organization and Workspace. Learn more about Spaces at https://docs.layer5.io/cloud/spaces/</Typography>
81+
);
7982

8083
return (
8184
<SectionCard
@@ -90,7 +93,7 @@ export default function RecentDesignsCard({ isDarkTheme }) {
9093
"row", }}
9194
alignSelf="flex-start">
9295
<CustomTooltip
93-
title="Designs in this list are those owned by you, available in your currently selected Organization and Workspace. Learn more about Spaces at https://docs.layer5.io/cloud/spaces/">
96+
title={RecentsTooltipTitle}>
9497
<div>
9598
<InfoCircleIcon height={24} width={24} />
9699
</div>

ui/src/img/SVGs/videosIcon.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import React from "react";
2+
3+
const VideosIcon = ({ width = 32, height = 32 }) => (
4+
<svg
5+
width={width}
6+
height={height}
7+
version="1.1"
8+
viewBox="0 0 32 32"
9+
xml:space="preserve"
10+
fill="#fff"
11+
xmlns="http://www.w3.org/2000/svg"
12+
enable-background="new 0 0 32 32"
13+
>
14+
<title>Videos</title>
15+
16+
<path d="M16 0C7.164 0 0 7.164 0 16s7.164 16 16 16 16-7.164 16-16S24.836 0 16 0zm-6 24V8l16.008 8L10 24z" fill="#00b39f" class="fill-4e4e50"
17+
/>
18+
</svg>
19+
);
20+
21+
export default VideosIcon;

ui/src/img/SVGs/videosIcon.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)