File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ # requires -Module PSSVG
2
+
3
+ $assetsPath = Join-Path $PSScriptRoot Assets
4
+
5
+ if (-not (Test-path $assetsPath )) {
6
+ $null = New-Item - ItemType Directory - Path $assetsPath - Force
7
+ }
8
+ = < svg> - ViewBox 200 , 100 - OutputPath (Join-Path $assetsPath " PSDevOps.svg" ) - Content @ (
9
+ $commonParameters = @ {
10
+ Fill = ' #4488FF'
11
+ Stroke = ' black'
12
+ StrokeWidth = ' 0.05'
13
+ }
14
+
15
+ = < svg.symbol> - Id psChevron - Content @ (
16
+ = < svg.polygon> - Points (@ (
17
+ " 40,20"
18
+ " 45,20"
19
+ " 60,50"
20
+ " 35,80"
21
+ " 32.5,80"
22
+ " 55,50"
23
+ ) -join ' ' )
24
+ ) - ViewBox 100 , 100
25
+
26
+ = < svg.use> - Href ' #psChevron' - X -32.5 % - Y 30 % @commonParameters - Height 40 % - Opacity .9 - Content @ (
27
+ = < svg.animate> - RepeatDur ' indefinite' - Values ' .9;.8;.9' - AttributeName opacity - Dur 2s
28
+ )
29
+
30
+ = < svg.text> - X 50 % - Y 50 % - Fontsize 24 " PSDevOps" - DominantBaseline middle - TextAnchor ' middle' - Fill ' #4488ff' - FontFamily sans- serif
31
+ = < svg.text> - X 62.5 % - Y 48 % - DominantBaseline middle - TextAnchor ' middle' - Fill ' #4488ff' - FontFamily sans- serif - Opacity .5 - FontWeight ' lighter' @ (
32
+ = < svg.tspan> - Content " ∞" - Fontsize 12
33
+ = < svg.animate> - RepeatDur ' indefinite' - Values ' .5;.4;.5' - AttributeName opacity - Dur 2s
34
+ )
35
+ )
You can’t perform that action at this time.
0 commit comments