Compare commits

...

2 Commits

Author SHA1 Message Date
BOTAlex 15bc70ff86 Started on page "pricing" 2024-07-15 05:02:09 +02:00
BOTAlex 9a13b9b8f0 Removed semicolons because of the python haters 2024-07-15 04:09:14 +02:00
3 changed files with 27 additions and 19 deletions

View File

@ -11,6 +11,8 @@
</NavLink>
<MudText Typo="Typo.h5" Class="ml-3">OpenBirch</MudText>
<MudSpacer />
<MudButton Variant="Variant.Text" Href="/pricing" Class="pr-4">Pricing</MudButton>
<MudButton Variant="Variant.Text" Href="/openbirch" Class="pr-4">Console</MudButton>
<MudButton Variant="Variant.Text" Href="/download" Class="pr-4">Download</MudButton>
<MudIconButton Icon="@Icons.Material.Filled.Menu" Color="Color.Inherit" Edge="Edge.Start" OnClick="@((e) => DrawerToggle())" />
</MudAppBar>

View File

@ -28,23 +28,23 @@
private Task AutoTypingTask;
readonly string[] exampleInputs = {
"2+2;",
"69*420+50;",
"sin(2+4);",
"sqrt(9);",
"nroot(27, 3);",
"f(x):=2*x;",
"f(5);",
"pi;",
"e;",
"myvar := 5;",
"15 + myvar;",
"myfunctionvar := f;",
"myfunctionvar(10);",
"d/dx x;",
"d/dx x^2;",
"d/dx 69*x^2;",
"d/dx sin(x)*x^2;"
"2+2",
"69*420+50",
"sin(2+4)",
"sqrt(9)",
"nroot(27, 3)",
"f(x):=2*x",
"f(5)",
"pi",
"e",
"myvar := 5",
"15 + myvar",
"myfunctionvar := f",
"myfunctionvar(10)",
"d/dx x",
"d/dx x^2",
"d/dx 69*x^2",
"d/dx sin(x)*x^2"
};
private void print(string e)
@ -81,8 +81,7 @@
await InvokeAsync(StateHasChanged);
}
int typingDelay = 200;
const int typingDelay = 200;
private async Task StartAutoTyping()
{
await Task.Delay(1000);

View File

@ -0,0 +1,7 @@
@page "/pricing"
<PageTitle>OpenBirch Pricing</PageTitle>
<MudContainer Class="h-100" Style="border: red 1mm solid">
<MudText>Our calculator is on a different plane—its got all the right angles!</MudText>
</MudContainer>