WIP: worked on home and submit page
This commit is contained in:
parent
25b0282fef
commit
ac344b4ffb
4 changed files with 22 additions and 9 deletions
|
@ -71,6 +71,7 @@
|
|||
.user, .comments {
|
||||
text-decoration: underline;
|
||||
color: grey;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.tailtext {
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -2,7 +2,9 @@
|
|||
|
||||
<PageTitle>Fedi News</PageTitle>
|
||||
|
||||
<div class="posts">
|
||||
@for (int i = 1; i < 31; i++)
|
||||
{
|
||||
<PostListView PostNr="@i"/>
|
||||
}
|
||||
</div>
|
||||
|
|
7
FediNews/Components/Pages/Home.razor.css
Normal file
7
FediNews/Components/Pages/Home.razor.css
Normal file
|
@ -0,0 +1,7 @@
|
|||
.posts {
|
||||
/*display: flex;*/
|
||||
margin: auto !important;
|
||||
/*flex-direction: column;*/
|
||||
/*align-items: center;*/
|
||||
/*width: 100%;*/
|
||||
}
|
Loading…
Reference in a new issue