31 lines
1.2 KiB
Plaintext
31 lines
1.2 KiB
Plaintext
<svg viewBox="0 0 @ObjW @ObjH" width="100%" height="100%" xmlns="http://www.w3.org/2000/svg">
|
|
<defs>
|
|
<clipPath id="theClippingPath">
|
|
<path d="@PathClipData" />
|
|
</clipPath>
|
|
</defs>
|
|
<rect x="0" y="0" width="100%" height="100%" fill="#34495E"></rect>
|
|
<image href="@ImagePath" height="100%" width="100%" clip-path="url(#theClippingPath)"></image>
|
|
<path d="@PathLineData" stroke="@LineColor" stroke-width="@LineWidth" fill="none" />
|
|
<g transform="translate(0,@(ObjH/4))">
|
|
<foreignObject width="@(ObjW/2)" height="@(ObjH/2)">
|
|
<div class="row text-white text-center">
|
|
<div style="@TitleStyle" class="text-uppercase">
|
|
@TitleText
|
|
</div>
|
|
<div style="@BodyStyle">
|
|
@BodyText
|
|
</div>
|
|
@if (isLogged)
|
|
{
|
|
<div class="mt-5">
|
|
<button class="btn btn-lg btn-primary rounded-pill p-3 px-4 text-uppercase" @onclick="() => raiseEvent()">
|
|
@ButtonText
|
|
</button>
|
|
</div>
|
|
}
|
|
</div>
|
|
</foreignObject>
|
|
</g>
|
|
</svg>
|