@blockspoon/cert-badge-renderer 1.0.33 → 1.0.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/templates/certificates/NewCertificateType31.ts +12 -12
- package/src/templates/ribbons/RibbonWing15.ts +3 -3
- package/src/templates/ribbons/RibbonWing16.ts +3 -3
- package/src/templates/ribbons/RibbonWing17.ts +3 -3
- package/src/templates/ribbons/index.ts +6 -0
- package/src/templates/svgTemplate.ts +12 -0
package/package.json
CHANGED
|
@@ -37,7 +37,7 @@ export function createNewCertificateType31({
|
|
|
37
37
|
y="41.4995"
|
|
38
38
|
width="1071"
|
|
39
39
|
height="732"
|
|
40
|
-
stroke="
|
|
40
|
+
stroke="black"
|
|
41
41
|
stroke-width="2"
|
|
42
42
|
/>
|
|
43
43
|
|
|
@@ -60,7 +60,7 @@ export function createNewCertificateType31({
|
|
|
60
60
|
width="16"
|
|
61
61
|
height="109"
|
|
62
62
|
transform="rotate(90 225 42.4995)"
|
|
63
|
-
fill="
|
|
63
|
+
fill="#31384B"
|
|
64
64
|
/>
|
|
65
65
|
<rect
|
|
66
66
|
x="967"
|
|
@@ -91,7 +91,7 @@ export function createNewCertificateType31({
|
|
|
91
91
|
width="8.00001"
|
|
92
92
|
height="192"
|
|
93
93
|
transform="rotate(90 959 764.5)"
|
|
94
|
-
fill="
|
|
94
|
+
fill="#31384B"
|
|
95
95
|
/>
|
|
96
96
|
<rect
|
|
97
97
|
x="1078"
|
|
@@ -99,7 +99,7 @@ export function createNewCertificateType31({
|
|
|
99
99
|
width="8.00001"
|
|
100
100
|
height="131"
|
|
101
101
|
transform="rotate(90 1078 745.5)"
|
|
102
|
-
fill="
|
|
102
|
+
fill="#31384B"
|
|
103
103
|
/>
|
|
104
104
|
<rect
|
|
105
105
|
x="1110"
|
|
@@ -109,14 +109,14 @@ export function createNewCertificateType31({
|
|
|
109
109
|
transform="rotate(90 1110 753.5)"
|
|
110
110
|
fill="${mainColor}"
|
|
111
111
|
/>
|
|
112
|
-
<rect x="56" y="74.4995" width="32" height="88" fill="
|
|
113
|
-
<rect x="1078" y="665.5" width="32" height="88" fill="
|
|
114
|
-
<rect x="41" y="541.5" width="20" height="231" fill="
|
|
115
|
-
<rect x="41" y="42.4995" width="15" height="82" fill="
|
|
116
|
-
<rect x="1078" y="100.5" width="12" height="159" fill="
|
|
117
|
-
<rect x="1090" y="242.5" width="12" height="159" fill="
|
|
118
|
-
<rect x="943" y="58.4995" width="12" height="54" fill="
|
|
119
|
-
<rect x="955" y="85.4995" width="12" height="78" fill="
|
|
112
|
+
<rect x="56" y="74.4995" width="32" height="88" fill="#D0D0D2" />
|
|
113
|
+
<rect x="1078" y="665.5" width="32" height="88" fill="#D0D0D2" />
|
|
114
|
+
<rect x="41" y="541.5" width="20" height="231" fill="#31384B" />
|
|
115
|
+
<rect x="41" y="42.4995" width="15" height="82" fill="#31384B" />
|
|
116
|
+
<rect x="1078" y="100.5" width="12" height="159" fill="#D0D0D2" />
|
|
117
|
+
<rect x="1090" y="242.5" width="12" height="159" fill="#31384B" />
|
|
118
|
+
<rect x="943" y="58.4995" width="12" height="54" fill="#31384B" />
|
|
119
|
+
<rect x="955" y="85.4995" width="12" height="78" fill="#D0D0D2" />
|
|
120
120
|
<rect
|
|
121
121
|
x="156"
|
|
122
122
|
y="66.4995"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ISvgProps } from "../../interface/index.js";
|
|
1
|
+
import { ISvgProps } from "../../interface/index.js";
|
|
2
2
|
|
|
3
|
-
export function
|
|
3
|
+
export function createRibbonWing15({
|
|
4
4
|
mainColor = "#96A6B4",
|
|
5
5
|
subColor = "#96A6B4",
|
|
6
6
|
}: ISvgProps): string {
|
|
@@ -67,4 +67,4 @@ export function createRibbonWing14({
|
|
|
67
67
|
</g>
|
|
68
68
|
</svg>
|
|
69
69
|
`;
|
|
70
|
-
}
|
|
70
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ISvgProps } from "../../interface/index.js";
|
|
1
|
+
import { ISvgProps } from "../../interface/index.js";
|
|
2
2
|
|
|
3
|
-
export function
|
|
3
|
+
export function createRibbonWing16({
|
|
4
4
|
mainColor = "#96A6B4",
|
|
5
5
|
subColor = "#96A6B4",
|
|
6
6
|
}: ISvgProps): string {
|
|
@@ -67,4 +67,4 @@ export function createRibbonWing14({
|
|
|
67
67
|
</g>
|
|
68
68
|
</svg>
|
|
69
69
|
`;
|
|
70
|
-
}
|
|
70
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ISvgProps } from "../../interface/index.js";
|
|
1
|
+
import { ISvgProps } from "../../interface/index.js";
|
|
2
2
|
|
|
3
|
-
export function
|
|
3
|
+
export function createRibbonWing17({
|
|
4
4
|
mainColor = "#96A6B4",
|
|
5
5
|
subColor = "#96A6B4",
|
|
6
6
|
}: ISvgProps): string {
|
|
@@ -65,4 +65,4 @@ export function createRibbonWing14({
|
|
|
65
65
|
/>
|
|
66
66
|
</svg>
|
|
67
67
|
`;
|
|
68
|
-
}
|
|
68
|
+
}
|
|
@@ -62,6 +62,9 @@ import { createRibbonWing10 } from "./RibbonWing10.js";
|
|
|
62
62
|
import { createRibbonWing11 } from "./RibbonWing11.js";
|
|
63
63
|
import { createRibbonWing12 } from "./RibbonWing12.js";
|
|
64
64
|
import { createRibbonWing14 } from "./RibbonWing14.js";
|
|
65
|
+
import { createRibbonWing15 } from "./RibbonWing15.js";
|
|
66
|
+
import { createRibbonWing16 } from "./RibbonWing16.js";
|
|
67
|
+
import { createRibbonWing17 } from "./RibbonWing17.js";
|
|
65
68
|
import { createRibbonWing104 } from "./RibbonWing104.js";
|
|
66
69
|
import { createRibbonWing105 } from "./RibbonWing105.js";
|
|
67
70
|
import { createRibbonWing106 } from "./RibbonWing106.js";
|
|
@@ -133,6 +136,9 @@ const Ribbons = {
|
|
|
133
136
|
RibbonWing11: createRibbonWing11,
|
|
134
137
|
RibbonWing12: createRibbonWing12,
|
|
135
138
|
RibbonWing14: createRibbonWing14,
|
|
139
|
+
RibbonWing15: createRibbonWing15,
|
|
140
|
+
RibbonWing16: createRibbonWing16,
|
|
141
|
+
RibbonWing17: createRibbonWing17,
|
|
136
142
|
RibbonWing104: createRibbonWing104,
|
|
137
143
|
RibbonWing105: createRibbonWing105,
|
|
138
144
|
RibbonWing106: createRibbonWing106,
|
|
@@ -754,6 +754,18 @@ export const ribbonTemplates: templateType[] = [
|
|
|
754
754
|
id: "RibbonWing104",
|
|
755
755
|
Component: Ribbons.RibbonWing104,
|
|
756
756
|
},
|
|
757
|
+
{
|
|
758
|
+
id: "RibbonWing15",
|
|
759
|
+
Component: Ribbons.RibbonWing15,
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
id: "RibbonWing16",
|
|
763
|
+
Component: Ribbons.RibbonWing16,
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
id: "RibbonWing17",
|
|
767
|
+
Component: Ribbons.RibbonWing17,
|
|
768
|
+
},
|
|
757
769
|
{
|
|
758
770
|
id: "RibbonWing105",
|
|
759
771
|
Component: Ribbons.RibbonWing105,
|