Replaced the old card-based layout in `Index.razor` with a modern, visually appealing home page design. Added a hero header, content section, and call-to-action button for signing documents. Introduced new SVG icons and text elements to enhance the UI. Removed the `OnAfterRenderAsync` method and automatic redirection logic to simplify user navigation. Added a new stylesheet link for the DevExpress Blazor theme. Updated `app.css` to support the new design: - Changed `article` overflow to `overflow-y: auto`. - Added new classes for layout, buttons, and feature badges. - Styled the home page with a gradient background, rounded corners, and hover effects. These changes improve usability, responsiveness, and visual consistency.
69 lines
3.8 KiB
Plaintext
69 lines
3.8 KiB
Plaintext
@page "/"
|
|
|
|
<link href="_content/DevExpress.Blazor.Themes/blazing-berry.bs5.min.css" rel="stylesheet" />
|
|
|
|
<div class="home-page-wrapper">
|
|
|
|
<div class="home-hero-header">
|
|
<div class="home-hero-header__inner">
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="currentColor" class="home-hero-header__icon" viewBox="0 0 16 16">
|
|
<path d="M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V4Zm2-1a1 1 0 0 0-1 1v.217l7 4.2 7-4.2V4a1 1 0 0 0-1-1H2Zm13 2.383-4.708 2.825L15 11.105V5.383Zm-.034 6.876-5.64-3.471L8 9.583l-1.326-.795-5.64 3.47A1 1 0 0 0 2 13h12a1 1 0 0 0 .966-.741ZM1 11.105l4.708-2.897L1 5.383v5.722Z"/>
|
|
</svg>
|
|
<div>
|
|
<h1 class="home-hero-header__title">SignFlow</h1>
|
|
<p class="home-hero-header__subtitle">Willkommen im eSign-Portal</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="home-content">
|
|
<div class="home-card card shadow border-0">
|
|
<div class="card-body p-4 p-md-5 text-center">
|
|
|
|
<p class="text-muted mb-4" style="font-size: 0.92rem; line-height: 1.7;">
|
|
Öffnen Sie ein Ihnen zugesandtes Dokument, indem Sie auf den Link in Ihrer E-Mail klicken
|
|
oder den Zugangscode manuell eingeben.
|
|
</p>
|
|
|
|
<div class="d-flex flex-column flex-sm-row gap-3 justify-content-center">
|
|
<a href="/receiver" class="btn btn-primary px-4 py-2 home-btn-primary">
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="me-2" viewBox="0 0 16 16">
|
|
<path d="M12.146.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-10 10a.5.5 0 0 1-.168.11l-5 2a.5.5 0 0 1-.65-.65l2-5a.5.5 0 0 1 .11-.168l10-10z"/>
|
|
</svg>
|
|
Dokument unterzeichnen
|
|
</a>
|
|
</div>
|
|
|
|
<div class="mt-4 pt-3 border-top">
|
|
<div class="d-flex flex-wrap justify-content-center gap-3">
|
|
<div class="home-feature-badge">
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" fill="currentColor" class="me-1" viewBox="0 0 16 16">
|
|
<path d="M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2z"/>
|
|
</svg>
|
|
Sicherer Zugang
|
|
</div>
|
|
<div class="home-feature-badge">
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" fill="currentColor" class="me-1" viewBox="0 0 16 16">
|
|
<path d="M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z"/>
|
|
</svg>
|
|
Digitale Unterschrift
|
|
</div>
|
|
<div class="home-feature-badge">
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" fill="currentColor" class="me-1" viewBox="0 0 16 16">
|
|
<path d="M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5z"/>
|
|
<path d="M7.646 11.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V1.5a.5.5 0 0 0-1 0v8.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3z"/>
|
|
</svg>
|
|
PDF-Export
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@code {
|
|
}
|