Centered the Settings component
This commit is contained in:
@@ -8,11 +8,9 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
<RadzenBody Expanded="true">
|
|
||||||
<article class="content px-4">
|
<article class="content px-4">
|
||||||
@Body
|
@Body
|
||||||
</article>
|
</article>
|
||||||
</RadzenBody>
|
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -1,17 +1,5 @@
|
|||||||
@page "/"
|
@page "/"
|
||||||
@inject IJSRuntime JSRuntime
|
|
||||||
@inject NavigationManager NavigationManager
|
|
||||||
@inject DialogService DialogService
|
|
||||||
@inject ContextMenuService ContextMenuService
|
|
||||||
@inject TooltipService TooltipService
|
|
||||||
@inject NotificationService NotificationService
|
|
||||||
|
|
||||||
<PageTitle>Home</PageTitle>
|
|
||||||
<RadzenRow>
|
|
||||||
<RadzenColumn Size="12">
|
|
||||||
<RadzenText Text="Home" TextStyle="TextStyle.H3" TagName="TagName.H1" />
|
|
||||||
</RadzenColumn>
|
|
||||||
</RadzenRow>
|
|
||||||
@code {
|
@code {
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -1,14 +1,10 @@
|
|||||||
@page "/settings"
|
@page "/settings"
|
||||||
@inject DialogService DialogService;
|
@inject DialogService DialogService;
|
||||||
|
|
||||||
<RadzenCard Style="padding: 2rem; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.2);">
|
<div style="display: flex; justify-content: center; align-items: center; height: 100vh; background-color: transparent;">
|
||||||
|
<RadzenCard Style="padding: 2rem; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.2); width: 50%; max-width: 600px;">
|
||||||
<RadzenStack Orientation="Orientation.Vertical" Gap="20px" Style="color: white;">
|
<RadzenStack Orientation="Orientation.Vertical" Gap="20px" Style="color: white;">
|
||||||
<RadzenLabel Text="Enter your Discord bot token below:" />
|
<RadzenLabel Text="Enter your Discord bot token below:" />
|
||||||
<RadzenLabel
|
|
||||||
Text="Create token here"
|
|
||||||
Component="a"
|
|
||||||
href="https://discord.com/developers/applications"
|
|
||||||
Style="display: block; margin-bottom: 0.5rem;" />
|
|
||||||
<RadzenTextBox
|
<RadzenTextBox
|
||||||
id="token"
|
id="token"
|
||||||
Name="token"
|
Name="token"
|
||||||
@@ -32,7 +28,8 @@
|
|||||||
|
|
||||||
<RadzenButton Text="Save Changes" Click="SaveButtonClick" Style="margin-top: 1rem;" />
|
<RadzenButton Text="Save Changes" Click="SaveButtonClick" Style="margin-top: 1rem;" />
|
||||||
</RadzenStack>
|
</RadzenStack>
|
||||||
</RadzenCard>
|
</RadzenCard>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
@code {
|
@code {
|
||||||
|
|||||||
Reference in New Issue
Block a user