feat(Main.cshtml): Typed.js für die Beschreibung der Startseite hinzugefügt.
This commit is contained in:
@@ -16,12 +16,19 @@
|
||||
<h1>signFlow</h1>
|
||||
</header>
|
||||
<section class="text-center">
|
||||
<p>@_localizer[WebKey.HomePageDescription]</p>
|
||||
<p><span id="home-description"></span></p>
|
||||
</section>
|
||||
@if (ViewData["ErrorMessage"] is string errMsg)
|
||||
{
|
||||
<div id="access-code-error-message" class="alert alert-danger row" role="alert">
|
||||
<div id="access-code-error-message" class="alert alert-danger row" role="alert">
|
||||
@_sanitizer.Sanitize(errMsg)
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
<script nonce="@nonce">
|
||||
const msg = "@_localizer[WebKey.HomePageDescription]";
|
||||
var typed = new Typed('#home-description', {
|
||||
strings: [msg],
|
||||
typeSpeed: 15,
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user