PluginProbe ʕ •ᴥ•ʔ
Starter Sites & Templates by Neve / trunk
Starter Sites & Templates by Neve vtrunk
1.4.0 1.3.0 1.2.29 1.2.28 1.2.6 1.2.7 1.2.8 1.2.9 trunk 1.0.10 1.0.11 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.10 1.1.11 1.1.12 1.1.13 1.1.14 1.1.15 1.1.16 1.1.17 1.1.18 1.1.19 1.1.2 1.1.20 1.1.21 1.1.22 1.1.23 1.1.24 1.1.25 1.1.26 1.1.27 1.1.28 1.1.29 1.1.3 1.1.30 1.1.31 1.1.32 1.1.33 1.1.34 1.1.35 1.1.36 1.1.37 1.1.38 1.1.39 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 1.1.9 1.2.0 1.2.1 1.2.10 1.2.11 1.2.12 1.2.13 1.2.14 1.2.15 1.2.16 1.2.17 1.2.18 1.2.19 1.2.2 1.2.20 1.2.21 1.2.22 1.2.23 1.2.24 1.2.25 1.2.26 1.2.27 1.2.3 1.2.4 1.2.5
templates-patterns-collection / editor / src / icon.js
templates-patterns-collection / editor / src Last commit date
components 1 year ago data 1 year ago plugins 1 year ago scss 3 years ago edit.js 2 years ago editor.scss 2 years ago icon.js 1 year ago index.js 1 year ago
icon.js
60 lines
1 /**
2 * WordPress dependencies
3 */
4 const { Path, SVG } = wp.primitives;
5 import classnames from 'classnames';
6
7 const icon = () => {
8 return (
9 <SVG
10 width="100"
11 height="100"
12 viewBox="0 0 100 100"
13 fill="none"
14 xmlns="http://www.w3.org/2000/svg"
15 className="tpc-template-cloud-icon"
16 >
17 <Path
18 d="M95.0264 100H4.97356C2.22797 100 0 97.772 0 95.0264V4.97356C0 2.22797 2.22797 0 4.97356 0H95.0264C97.772 0 100 2.22797 100 4.97356V95.0264C100 97.772 97.772 100 95.0264 100Z"
19 fill="#0366D6"
20 />
21 <Path
22 d="M82.6941 86.7448V30.8205V18.4653H70.3502H14.4146L26.7584 30.8205H70.3502V74.401L82.6941 86.7448Z"
23 fill="white"
24 />
25 <Path
26 d="M42.2416 58.9291L42.2528 71.183L53.2352 82.1653L53.1902 47.9806L18.9941 47.9355L29.9765 58.9066L42.2416 58.9291Z"
27 fill="white"
28 />
29 </SVG>
30 );
31 };
32
33 export const iconBlack = ( { className } ) => {
34 return (
35 <SVG
36 width="24"
37 height="24"
38 viewBox="0 0 24 24"
39 fill="none"
40 xmlns="http://www.w3.org/2000/svg"
41 className={ classnames( [ 'tpc-icon', className ] ) }
42 >
43 <Path
44 d="M22.8063 24H1.19365C0.534714 24 0 23.4653 0 22.8063V1.19365C0 0.534714 0.534714 0 1.19365 0H22.8063C23.4653 0 24 0.534714 24 1.19365V22.8063C24 23.4653 23.4653 24 22.8063 24Z"
45 fill="#14171C"
46 />
47 <Path
48 d="M19.8466 20.8187V7.39687V4.43164H16.884H3.45947L6.422 7.39687H16.884V17.8562L19.8466 20.8187Z"
49 fill="white"
50 />
51 <Path
52 d="M10.138 14.1429L10.1407 17.0838L12.7764 19.7195L12.7656 11.5152L4.55859 11.5044L7.19435 14.1375L10.138 14.1429Z"
53 fill="white"
54 />
55 </SVG>
56 );
57 };
58
59 export default icon;
60