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 { .user, .comments {
text-decoration: underline; text-decoration: underline;
color: grey; color: grey;
display: inline-block;
} }
.tailtext { .tailtext {

View file

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

View file

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