diff --git a/OpenBirchWebsite/Layout/MainLayout.razor b/OpenBirchWebsite/Layout/MainLayout.razor index f1de0e9..2608400 100644 --- a/OpenBirchWebsite/Layout/MainLayout.razor +++ b/OpenBirchWebsite/Layout/MainLayout.razor @@ -6,17 +6,17 @@ - + + + OpenBirch - Eval demo Download - - + @Body diff --git a/OpenBirchWebsite/Pages/Home.razor b/OpenBirchWebsite/Pages/Home.razor index c7445c7..76cc775 100644 --- a/OpenBirchWebsite/Pages/Home.razor +++ b/OpenBirchWebsite/Pages/Home.razor @@ -1,5 +1,6 @@ @page "/" @inject IJSRuntime jsRuntime +@inject NavigationManager nav Home @@ -15,7 +16,7 @@ @((consoleHistory[temp].source == ConsoleSource.User) ? ">" : "#") @consoleHistory[temp].text } - + diff --git a/OpenBirchWebsite/Pages/Home.razor.css b/OpenBirchWebsite/Pages/Home.razor.css index 0e84a6f..1fd9f9c 100644 --- a/OpenBirchWebsite/Pages/Home.razor.css +++ b/OpenBirchWebsite/Pages/Home.razor.css @@ -13,10 +13,4 @@ .input-field { max-width: 400px; min-width: 300px; -} - -.reverse-stack-direction { - display: flex; - justify-content: flex-end; - flex-direction: column; } \ No newline at end of file diff --git a/OpenBirchWebsite/Pages/OpenBirch.razor b/OpenBirchWebsite/Pages/OpenBirch.razor new file mode 100644 index 0000000..041b6c5 --- /dev/null +++ b/OpenBirchWebsite/Pages/OpenBirch.razor @@ -0,0 +1,20 @@ +@page "/openbirch" + +
+
+
+ @for (int i = 0; i < 100; i++) + { + int temp = i; + test @temp + } +
+
+
+ +
+
+ +@code { + public string test = ""; +} diff --git a/OpenBirchWebsite/Pages/OpenBirch.razor.css b/OpenBirchWebsite/Pages/OpenBirch.razor.css new file mode 100644 index 0000000..743b5c2 --- /dev/null +++ b/OpenBirchWebsite/Pages/OpenBirch.razor.css @@ -0,0 +1,13 @@ +.console-container { + height: 100%; + padding: 0; +} + +.console-container > div:first-child { + background-color: #191724; +} + +.reverse-scroll-start { + display: flex; + flex-direction: column-reverse; +} \ No newline at end of file diff --git a/OpenBirchWebsite/wwwroot/css/app.css b/OpenBirchWebsite/wwwroot/css/app.css index 54a8aa3..cd150bb 100644 --- a/OpenBirchWebsite/wwwroot/css/app.css +++ b/OpenBirchWebsite/wwwroot/css/app.css @@ -101,3 +101,10 @@ a, .btn-link { code { color: #c02d76; } + + +.reverse-stack-direction { + display: flex; + justify-content: flex-end; + flex-direction: column; +} \ No newline at end of file diff --git a/OpenBirchWebsite/wwwroot/index.html b/OpenBirchWebsite/wwwroot/index.html index 94d3b1c..6fe3aa8 100644 --- a/OpenBirchWebsite/wwwroot/index.html +++ b/OpenBirchWebsite/wwwroot/index.html @@ -17,7 +17,7 @@ - +