Introduced a dynamic typing effect for the homepage description using the `Typed` library. Replaced hardcoded description text in `Index.razor` with a dynamically rendered `<span>` element. Added a constant for the description text and implemented `OnAfterRenderAsync` to invoke the typing animation on first render. Included the `typed.umd.js` library in `index.html` and updated `receiver-signature.js` with a `startTyped` function to support typing animations. Registered `startTyped` in the public API for external use. Enhanced the user experience with dynamic content rendering and improved maintainability by centralizing the description text. Also added a new theme file for improved styling.
73 lines
2.4 KiB
HTML
73 lines
2.4 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
|
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
|
|
<meta http-equiv="Pragma" content="no-cache" />
|
|
<meta http-equiv="Expires" content="0" />
|
|
<title>EnvelopeGenerator.ReceiverUI</title>
|
|
<base href="/" />
|
|
<link href="css/bootstrap/bootstrap.min.css" rel="stylesheet" />
|
|
<link href="EnvelopeGenerator.ReceiverUI.styles.css" rel="stylesheet" />
|
|
<link href="css/app.css" rel="stylesheet" />
|
|
<style type="text/css">
|
|
.splash-screen {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-flow: column nowrap;
|
|
height: 100vh;
|
|
font-family: "Segoe UI",Roboto,"Helvetica Neue","-apple-system",BlinkMacSystemFont,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
|
|
font-size: .88rem;
|
|
font-weight: 400;
|
|
line-height: 1.5;
|
|
text-align: center;
|
|
}
|
|
|
|
.splash-screen .spinner-border {
|
|
border: .2em solid;
|
|
border-color: #5f368d #bfbfbf #bfbfbf;
|
|
width: 120px;
|
|
height: 120px;
|
|
}
|
|
|
|
.splash-screen-caption {
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
margin-top: 1.5rem;
|
|
}
|
|
|
|
.splash-screen-text {
|
|
color: #a1a1a1;
|
|
margin-top: .5rem;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="app">
|
|
<script type="text/javascript">
|
|
if(/MSIE \d|Trident.*rv:|Edge\//.test(window.navigator.userAgent))
|
|
window.location.href = "browserNotSupported.html";
|
|
</script>
|
|
<div class="splash-screen">
|
|
<div class="spinner-border"></div>
|
|
<div class="splash-screen-caption">EnvelopeGenerator.ReceiverUI</div>
|
|
<div class="splash-screen-text">Loading...</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="blazor-error-ui">
|
|
An unhandled error has occurred.
|
|
<a href="" class="reload">Reload</a>
|
|
<a class="dismiss">X</a>
|
|
</div>
|
|
<script src="_content/DevExpress.Blazor.Resources/js/preload-script.js"></script>
|
|
<script src="js/typed.umd.js"></script>
|
|
<script src="js/receiver-signature.js?v=9"></script>
|
|
<script src="_framework/blazor.webassembly.js"></script>
|
|
</body>
|
|
|
|
</html> |