WIP: worked on home and submit page

This commit is contained in:
moonleay 2024-01-31 14:05:59 +01:00
parent 25b0282fef
commit ac344b4ffb
Signed by: moonleay
GPG key ID: 82667543CCD715FB
4 changed files with 22 additions and 9 deletions

View file

@ -71,6 +71,7 @@
.user, .comments {
text-decoration: underline;
color: grey;
display: inline-block;
}
.tailtext {

View file

@ -1,17 +1,20 @@
@page "/submit"
<PageTitle>Submit | Fedi News</PageTitle>
<article>
<h3>Submit to Fedi News</h3>
<div>
<p>title</p>
<input type="text" />
<p>url</p>
<input size="50" type="text"/>
</div>
<div>
<p>url</p>
<input type="text"/>
<p>title</p>
<input size="50" type="text" />
<button>use suggested title</button>
</div>
<div>
<p>comment</p>
<textarea></textarea>
<textarea rows="4" cols="50"></textarea>
</div>
<div>
<button >submit</button>

View file

@ -2,7 +2,9 @@
<PageTitle>Fedi News</PageTitle>
<div class="posts">
@for (int i = 1; i < 31; i++)
{
<PostListView PostNr="@i"/>
}
</div>

View file

@ -0,0 +1,7 @@
.posts {
/*display: flex;*/
margin: auto !important;
/*flex-direction: column;*/
/*align-items: center;*/
/*width: 100%;*/
}