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> </NavLink>
<MudText Typo="Typo.h5" Class="ml-3">OpenBirch</MudText> <MudText Typo="Typo.h5" Class="ml-3">OpenBirch</MudText>
<MudSpacer /> <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> <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())" /> <MudIconButton Icon="@Icons.Material.Filled.Menu" Color="Color.Inherit" Edge="Edge.Start" OnClick="@((e) => DrawerToggle())" />
</MudAppBar> </MudAppBar>

View File

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