feat: added other banners, moved the rendering of board banners to the Board component

This commit is contained in:
limited_dev 2023-02-13 22:04:09 +01:00
parent 6dff05818b
commit a62912d6de
13 changed files with 10 additions and 32 deletions

View file

@ -1,6 +1,5 @@
@page "/art/" @page "/art/"
<img class="banner" src="img/static/banner/mban.png" alt="No Banner found"/>
<Board board="@m"/> <Board board="@m"/>
@code { @code {

View file

@ -1,7 +0,0 @@
.banner{
justify-content: center;
display: block;
margin-left: auto;
margin-right: auto;
width: 50%;
}

View file

@ -1,6 +1,5 @@
@page "/m/" @page "/m/"
<img class="banner" src="img/static/banner/mban.png" alt="No Banner found"/>
<Board board="@m"/> <Board board="@m"/>
@code { @code {

View file

@ -1,7 +0,0 @@
.banner{
justify-content: center;
display: block;
margin-left: auto;
margin-right: auto;
width: 50%;
}

View file

@ -1,6 +1,5 @@
@page "/tec/" @page "/tec/"
<img class="banner" src="img/static/banner/mban.png" alt="No Banner found"/>
<Board board="@m"/> <Board board="@m"/>
@code { @code {

View file

@ -1,7 +0,0 @@
.banner{
justify-content: center;
display: block;
margin-left: auto;
margin-right: auto;
width: 50%;
}

View file

@ -1,6 +1,5 @@
@page "/vg/" @page "/vg/"
<img class="banner" src="img/static/banner/mban.png" alt="No Banner found"/>
<Board board="@m"/> <Board board="@m"/>
@code { @code {

View file

@ -1,7 +0,0 @@
.banner{
justify-content: center;
display: block;
margin-left: auto;
margin-right: auto;
width: 50%;
}

View file

@ -2,6 +2,7 @@
@using ImageBoardServerApp.Data @using ImageBoardServerApp.Data
@using ImageBoardServerApp.Data.Repository @using ImageBoardServerApp.Data.Repository
<img class="banner" src="img/static/banner/@board.Tag ban.png" alt="No Banner found"/>
<PageTitle>/@board.Tag/ - @board.Topic - BulletBoard</PageTitle> <PageTitle>/@board.Tag/ - @board.Topic - BulletBoard</PageTitle>
<AuthorizeView> <AuthorizeView>

View file

@ -4,4 +4,13 @@
.notLoggedIn{ .notLoggedIn{
text-align: center; text-align: center;
}
.banner{
justify-content: center;
display: block;
margin-left: auto;
margin-right: auto;
max-width: 500px;
max-height: 500px;
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

View file

Before

Width:  |  Height:  |  Size: 168 KiB

After

Width:  |  Height:  |  Size: 168 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 248 KiB