Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Home.razor #21

Merged
merged 1 commit into from
Nov 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
155 changes: 145 additions & 10 deletions src/BlazorPocket.WebAssembly/Pages/Home.razor
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,149 @@

@L["Welcome to your new app."]

<div class="d-flex flex-column gap-3">
<MudText Typo="Typo.h3" Align="Align.Center" Class="mt-16 mb-8">“Never had such a good time making a site“</MudText>
<div >
<Carousel />
</div>
<div>
<CarouselReverse />
<MudPaper Class="pa-4 mb-3">
<style>

.circle {
width: 0.5rem;
height: 0.5rem;
display: inline-block;
}

.rounded-circle{
border-radius: 50%;
}
.bg-success {
background-color: #28a745 !important;
}
.bg-warning {
background-color: #ffc107 !important;
}

.bg-primary {
background-color: #0d6efd !important;
}

.bg-danger {
background-color: #dc3545 !important;
}

.bg-secondary {
background-color: #6c757d !important;
}

.bg-dark {
background-color: #343a40 !important;
}

.bar-label {
font-size: .625rem;
color: #6c757d;
}

.text-nowrap {
white-space: nowrap;
}

.fw-semibold {
font-weight: 600;
}

.small, small {
font-size: .875em;
}

.progress {
background-color: #e9ecef;
border-radius: 0.25rem;
overflow: hidden;
height: 8px;
display: flex;
}

.progress-bar {
height: 100%;
transition: width 0.6s ease;
}
@@media (max-width: 850px) {
.flex-row

{
flex-wrap: wrap;
}

}

.fw-bold {
font-weight: 700 !important;
}

.fs-5 {
font-size: 1.25rem !important;
}
</style>
<div class="d-flex flex-row gap-3">
<div class="d-flex flex-column">
<div class="text-muted text-nowrap small">Invoiced amount</div>
<div class="fs-5 fw-bold text-nowrap">1,167,986 EUR</div>
</div>
<div class="d-flex flex-column flex-grow-1 gap-3">
<div class="d-flex flex-row flex-grow-1">
<div class="d-flex flex-column justify-content-between align-center mt-2 flex-grow-1">
<div class="d-flex align-center gap-2">
<div class="circle bg-success rounded-circle"></div>
<span class="bar-label text-nowrap">Paid in full</span>
</div>
<div class="text-nowrap fw-semibold small">789,238 EUR</div>
</div>
<div class="d-flex flex-column justify-content-between align-center mt-2 flex-grow-1">
<div class="d-flex align-center gap-2">
<div class="circle bg-primary rounded-circle"></div>
<span class="bar-label text-nowrap">Awaiting payment</span>
</div>
<div class="text-nowrap fw-semibold small">244,900 EUR</div>
</div>
<div class="d-flex flex-column justify-content-between align-center mt-2 flex-grow-1">
<div class="d-flex align-center gap-2">
<div class="circle bg-warning rounded-circle"></div>
<span class="bar-label text-nowrap">Overdue 1-6 days</span>
</div>
<div class="text-nowrap fw-semibold small">74,808 EUR</div>
</div>
<div class="d-flex flex-column justify-content-between align-center mt-2 flex-grow-1">
<div class="d-flex align-center gap-2">
<div class="circle bg-danger rounded-circle"></div>
<span class="bar-label text-nowrap">Overdue 7-13 days</span>
</div>
<div class="text-nowrap fw-semibold small">32,221 EUR</div>
</div>
<div class="d-flex flex-column justify-content-between align-center mt-2 flex-grow-1">
<div class="d-flex align-center gap-2">
<div class="circle bg-secondary rounded-circle"></div>
<span class="bar-label text-nowrap">Overdue 14-29 days</span>
</div>
<div class="text-nowrap fw-semibold small">17,338 EUR</div>
</div>
<div class="d-flex flex-column justify-content-between align-center mt-2 flex-grow-1">
<div class="d-flex align-center gap-2">
<div class="circle bg-dark rounded-circle"></div>
<span class="bar-label text-nowrap">Overdue 30 days or more</span>
</div>
<div class="text-nowrap fw-semibold small">9,481 EUR</div>
</div>
</div>
<div class="progress bg-body mb-2" style="height: 8px;">
<div class="progress-bar bg-success" role="progressbar" style="width: 68%;" aria-valuenow="68" aria-valuemin="0" aria-valuemax="100"></div>
<div class="progress-bar bg-primary" role="progressbar" style="width: 21%;" aria-valuenow="21" aria-valuemin="0" aria-valuemax="100"></div>
<div class="progress-bar bg-warning" role="progressbar" style="width: 6%;" aria-valuenow="6" aria-valuemin="0" aria-valuemax="100"></div>
<div class="progress-bar bg-danger" role="progressbar" style="width: 3%;" aria-valuenow="3" aria-valuemin="0" aria-valuemax="100"></div>
<div class="progress-bar bg-secondary" role="progressbar" style="width: 1%;" aria-valuenow="1" aria-valuemin="0" aria-valuemax="100"></div>
<div class="progress-bar bg-dark" role="progressbar" style="width: 1%;" aria-valuenow="1" aria-valuemin="0" aria-valuemax="100"></div>
</div>
</div>

</div>

<div class="lp-fader"></div>
</div>



</MudPaper>
Loading