feat: moved /b/ to /m/, added ReportData, etc

This commit is contained in:
limited_dev 2023-02-08 14:43:25 +01:00
parent c093b06d03
commit e21ac0d3d7
9 changed files with 67 additions and 21 deletions

View file

@ -1,16 +0,0 @@
@page "/b/"
@using System.ComponentModel.DataAnnotations
@using ImageBoardServerApp.Data
<Board board="@b"/>
@code {
private BoardData b { get; set; } = new()
{
BoardID = 0,
maxThreads = 10,
Tag = "b",
Topic = "Random"
};
}

View file

@ -0,0 +1,17 @@
@page "/m/"
@using System.ComponentModel.DataAnnotations
@using ImageBoardServerApp.Data
<img class="banner" src="img/static/banner/mban.png" alt="No Banner found"/>
<Board board="@m"/>
@code {
private BoardData m { get; set; } = new()
{
BoardID = 0,
maxThreads = 10,
Tag = "m",
Topic = "Main"
};
}

View file

@ -0,0 +1,3 @@
.banner{
justify-content: center;
}

View file

@ -15,7 +15,7 @@
<link rel="stylesheet" href="css/bootstrap/bootstrap.min.css"/>
<link href="css/site.css" rel="stylesheet"/>
<link href="ImageBoardServerApp.styles.css" rel="stylesheet"/>
<link rel="icon" type="image/png" href="favicon.png"/>
<link rel="icon" type="image/png" href="/img/static/logo.png"/>
<component type="typeof(HeadOutlet)" render-mode="ServerPrerendered"/>
</head>
<body>