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