Filtered the images and normalized them. Added dynamic page titles
|
@ -14,4 +14,8 @@
|
|||
<PackageReference Include="MudBlazor" Version="6.2.5" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="wwwroot\images\Non-AnimeImages\" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
@inject ISnackbar Snackbar
|
||||
@inject MessageService messageService
|
||||
|
||||
<PageTitle>Chatting</PageTitle>
|
||||
|
||||
<style>
|
||||
.bottom-start {
|
||||
display: flex;
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
@inject Blazored.LocalStorage.ILocalStorageService localStorage
|
||||
@inject DataCollectorService DCollector
|
||||
|
||||
<PageTitle>Cookies!</PageTitle>
|
||||
|
||||
<MudOverlay ZIndex="1400" DarkBackground="true" Visible=true Style="backdrop-filter:blur(5px)">
|
||||
<MudCard>
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
@page "/FAQ"
|
||||
|
||||
<PageTitle>FAQ-ing</PageTitle>
|
||||
|
||||
<MudContainer>
|
||||
<MudText Typo="Typo.h1" Class="my-10" Align="Align.Center">Fequently Asked Questions</MudText>
|
||||
</MudContainer>
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
@page "/"
|
||||
@inject NavigationManager NavManager
|
||||
|
||||
<PageTitle>Indexing</PageTitle>
|
||||
|
||||
<h1>2nd loading... Please wait</h1>
|
||||
|
||||
@code {
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
//await DCollector.PushDataToAnalytics();
|
||||
NavManager.NavigateTo("/Posts");
|
||||
}
|
||||
}
|
|
@ -3,7 +3,7 @@
|
|||
@inject NavigationManager NavManager
|
||||
|
||||
|
||||
<PageTitle>MudBlazorTime!</PageTitle>
|
||||
<PageTitle>Posts!</PageTitle>
|
||||
|
||||
<style>
|
||||
/* Hide scrollbar */
|
||||
|
@ -128,7 +128,7 @@
|
|||
private Random random = new Random();
|
||||
const bool useFoodImages = true;
|
||||
const int numImagesAnime = 399;
|
||||
const int numImages = 399;
|
||||
const int numImages = 239;
|
||||
Post GetRandomPost()
|
||||
{
|
||||
int selectedPostNum;
|
||||
|
@ -146,13 +146,13 @@
|
|||
}
|
||||
|
||||
|
||||
string GetImage(int imageIndex)
|
||||
static string GetImage(int imageIndex)
|
||||
{
|
||||
|
||||
if (!useFoodImages)
|
||||
return $@"\images\AnimeImages\AnimeImage ({imageIndex}).jpeg";
|
||||
else
|
||||
return $@"\images\Non-AnimeImages\Food ({imageIndex}).jpeg";
|
||||
return $@"\images\Non-AnimeImages\FoodImage ({imageIndex}).jpeg";
|
||||
}
|
||||
|
||||
protected override void OnAfterRender(bool firstRender)
|
||||
|
@ -196,7 +196,7 @@
|
|||
|
||||
public int Id { get; set; }
|
||||
public int ImageIndex { get => Id; }
|
||||
public string ImagePath { get => $@"\images\AnimeImages\AnimeImage ({ImageIndex}).jpeg"; }
|
||||
public string ImagePath { get => GetImage(ImageIndex); }
|
||||
private string publisher = "Unknown";
|
||||
|
||||
public string Publisher
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
@page "/Privacy"
|
||||
|
||||
<PageTitle>Legal stuff</PageTitle>
|
||||
|
||||
<style>
|
||||
.unreadable {
|
||||
font-family: 'Comic Sans MS'
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
@page "/TOS"
|
||||
|
||||
<PageTitle>Legal stuff</PageTitle>
|
||||
|
||||
<style>
|
||||
.unreadable{
|
||||
font-family: 'Comic Sans MS'
|
||||
|
|
Before Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 74 KiB |
Before Width: | Height: | Size: 78 KiB |
Before Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 562 KiB |
Before Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 39 KiB |
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |