Skip to content

Commit

Permalink
Some design changes
Browse files Browse the repository at this point in the history
  • Loading branch information
codemonkey85 committed Nov 5, 2024
1 parent 8c3beac commit c9e04b6
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions AboutMe/Wasm/Pages/Resume.razor
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
{
<MudStack Row>
<MudText Typo="@Typo.h5"
Class="mb-3">
Class="mb-1">
Skills
</MudText>
@if (SelectedSkills.Any())
Expand All @@ -44,22 +44,27 @@
Color="@Color.Default"
Size="@Size.Small"
StartIcon="@Icons.Material.Filled.Clear"
style="height: 30px;"
title="Clear Selection">
Clear Selection
</MudButton>
}
</MudStack>
<MudAlert Severity="@Severity.Info"
Dense>
Click or tap a skill to filter.
</MudAlert>
@SkillsFragment(resumeModel.ResumeSkills)
}

@if (resumeModel.Jobs is { Count: > 0 })
{
<MudText Typo="@Typo.h5"
Class="mb-3">
Class="mb-1">
Experience
</MudText>
<MudStack Spacing="3"
Class="mb-3">
Class="mb-1">
@foreach (var job in resumeModel.Jobs
.Where(job => !SelectedSkills.Any() || SelectedSkills.All(job.SkillsUsed.Contains))
.OrderByDescending(job => job.PresentlyEmployed)
Expand All @@ -83,7 +88,7 @@
@if (job.Summary is { Length: > 0 })
{
<MudText Typo="@Typo.body1"
Class="mb-3">
Class="mb-1">
@job.Summary
</MudText>
}
Expand Down Expand Up @@ -120,7 +125,7 @@

@code {
private RenderFragment SkillsFragment(IEnumerable<Skill> skills) =>
@<MudGrid Class="mb-3"
@<MudGrid Class="mb-1"
Spacing="0">
@foreach (var skill in skills.OrderBy(skill => skill.Name))
{
Expand Down

0 comments on commit c9e04b6

Please sign in to comment.