added profile page and about

This commit is contained in:
Jackob_Punch 2023-09-30 19:34:06 +02:00
parent a5c33b47c5
commit f081466274
8 changed files with 57 additions and 2 deletions

View file

@ -0,0 +1,24 @@
@page "/userprofile"
@code {
private string UserName = "John Doe";
private string Bio = "Software Developer";
private List<string> Skills = new List<string> { "C#", "ASP.NET Core", "Blazor" };
}
<div class="profile">
<img class="background" src="images/background.jpg" alt="Background" />
<img class="userprofileimage" src="images/kuba.jpg" alt="Profile Picture" />
<h1>@UserName</h1>
<p>@Bio</p>
<h2>Skills</h2>
<ul>
@foreach (var skill in Skills)
{
<li>@skill</li>
}
</ul>
</div>