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