From 1e364529d3884858762ea139aaadd767bc7901f6 Mon Sep 17 00:00:00 2001
From: BOT Alex <44818698+MagicBOTAlex@users.noreply.github.com>
Date: Thu, 11 May 2023 22:14:39 +0200
Subject: [PATCH] Sync
---
Otakians/Pages/Index.razor | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/Otakians/Pages/Index.razor b/Otakians/Pages/Index.razor
index bfdadd3..7f079c8 100644
--- a/Otakians/Pages/Index.razor
+++ b/Otakians/Pages/Index.razor
@@ -16,9 +16,18 @@
}
+
+
+
+ Damn
+
+
+
+Show Overlay
+
- @for (int i = 0; i < 100; i++)
+ @for (int i = 0; i < 25; i++)
{
int postId = (LoadedImages.Count > i) ? LoadedImages[i] : GetRandomImageNumber();
@@ -41,6 +50,7 @@
public string Text { get; set; } = "????";
public string ButtonText { get; set; } = "Click Me";
public int ButtonClicked { get; set; }
+ public bool isOverlayVisible = false;
void ButtonOnClick()
{
@@ -49,6 +59,12 @@
ButtonText = "Click Me Again";
}
+ public void OpenOverlay()
+ {
+ isOverlayVisible = true;
+ StateHasChanged();
+ }
+
List LoadedImages = new List();
private Random random = new Random();