feat: added other banners, moved the rendering of board banners to the Board component
This commit is contained in:
parent
6dff05818b
commit
a62912d6de
13 changed files with 10 additions and 32 deletions
|
@ -1,6 +1,5 @@
|
|||
@page "/art/"
|
||||
|
||||
<img class="banner" src="img/static/banner/mban.png" alt="No Banner found"/>
|
||||
<Board board="@m"/>
|
||||
|
||||
@code {
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
.banner{
|
||||
justify-content: center;
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 50%;
|
||||
}
|
|
@ -1,6 +1,5 @@
|
|||
@page "/m/"
|
||||
|
||||
<img class="banner" src="img/static/banner/mban.png" alt="No Banner found"/>
|
||||
<Board board="@m"/>
|
||||
|
||||
@code {
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
.banner{
|
||||
justify-content: center;
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 50%;
|
||||
}
|
|
@ -1,6 +1,5 @@
|
|||
@page "/tec/"
|
||||
|
||||
<img class="banner" src="img/static/banner/mban.png" alt="No Banner found"/>
|
||||
<Board board="@m"/>
|
||||
|
||||
@code {
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
.banner{
|
||||
justify-content: center;
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 50%;
|
||||
}
|
|
@ -1,6 +1,5 @@
|
|||
@page "/vg/"
|
||||
|
||||
<img class="banner" src="img/static/banner/mban.png" alt="No Banner found"/>
|
||||
<Board board="@m"/>
|
||||
|
||||
@code {
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
.banner{
|
||||
justify-content: center;
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 50%;
|
||||
}
|
|
@ -2,6 +2,7 @@
|
|||
@using ImageBoardServerApp.Data
|
||||
@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>
|
||||
|
||||
<AuthorizeView>
|
||||
|
|
|
@ -5,3 +5,12 @@
|
|||
.notLoggedIn{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.banner{
|
||||
justify-content: center;
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
max-width: 500px;
|
||||
max-height: 500px;
|
||||
}
|
BIN
ImageBoardServerApp/wwwroot/img/static/banner/art ban.png
Normal file
BIN
ImageBoardServerApp/wwwroot/img/static/banner/art ban.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 76 KiB |
Before Width: | Height: | Size: 168 KiB After Width: | Height: | Size: 168 KiB |
BIN
ImageBoardServerApp/wwwroot/img/static/banner/tec ban.png
Normal file
BIN
ImageBoardServerApp/wwwroot/img/static/banner/tec ban.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 248 KiB |
Loading…
Reference in a new issue