Add project page
This commit is contained in:
parent
563ed5ffe3
commit
6019620849
3 changed files with 42 additions and 0 deletions
src/Interlinked.Core/Pages
32
src/Interlinked.Core/Pages/Project.razor
Normal file
32
src/Interlinked.Core/Pages/Project.razor
Normal file
|
@ -0,0 +1,32 @@
|
|||
@page "/project"
|
||||
|
||||
@code {
|
||||
private string UserName = "John Doe";
|
||||
private string project = "Building a computer from a scrap";
|
||||
private string description = "In this project we're going to build computer from a scrap.";
|
||||
private List<string> tags = new List<string> { "hardware", "embedded" }; @*choosen from the list*@
|
||||
private List<string> persons = new List<string> { "Jan Kowalski", "Kamil Ślimak" }; @*got from database*@
|
||||
}
|
||||
|
||||
<div class="project">
|
||||
<img class="project-img" src="images/project.jpg" alt="Project" />
|
||||
<h1>@project</h1>
|
||||
<h2>Tags</h2>
|
||||
<ul>
|
||||
@foreach (var tag in tags)
|
||||
{
|
||||
<li>@tag</li>
|
||||
}
|
||||
</ul>
|
||||
<h2>Description</h2>
|
||||
<p>@description</p>
|
||||
<h3>Owner</h3>
|
||||
<p>@UserName</p>
|
||||
<h4>Other persons working on project</h4>
|
||||
<ul>
|
||||
@foreach (var person in persons)
|
||||
{
|
||||
<li>@person</li>
|
||||
}
|
||||
</ul>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue