Skip to content

Commit

Permalink
(#418) web: udpate studnets service
Browse files Browse the repository at this point in the history
  • Loading branch information
SaintAngeLs committed Sep 20, 2024
1 parent 49813ed commit bb1ef78
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace Astravent.Web.Wasm.DTO
{
public class NotificationPreferencesDto
{
public Guid StudentId { get; set; }
public Guid UserId { get; set; }
public bool AccountChanges { get; set; }
public bool SystemLogin { get; set; }
public bool NewEvent { get; set; }
Expand Down
3 changes: 0 additions & 3 deletions MiniSpace.Web/src/Astravent.Web.Wasm/Shared/MainLayout.razor
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,13 @@
{
@if (!isPC)
{
<!-- Mobile Version: Drawer Menu for Unauthenticated User -->
<MudButton Variant="Variant.Text" OnClick="@ToggleDrawer">
<img src="icons/menu-left.svg" alt="Menu" style="height: 24px; width: 24px;" />
</MudButton>
<MudText Typo="Typo.h4" Class="ms-2">MiniSpace</MudText>
}
else
{
<!-- Desktop Version: Menu and Navigation Links -->
<MudText Typo="Typo.h4" Class="me-3">MiniSpace</MudText>
<MudButton Variant="Variant.Text" OnClick="ScrollToHome" Class="me-2">
Home
Expand All @@ -43,7 +41,6 @@
About App
</MudButton>

<!-- Dropdown Menu for Unauthenticated Users -->
<MudMenu Label="Open Menu">
<MudMenuItem OnClick="ScrollToConnect">Connect</MudMenuItem>
<MudMenuItem Href="signin">Sign In</MudMenuItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ public static class MiniSpaceTheme
{
Palette = new PaletteLight()
{
// Light Mode Colors
Primary = Colors.Indigo.Darken4,
Secondary = Colors.Indigo.Darken3,
AppbarText = Colors.Indigo.Darken4,
Expand Down
10 changes: 7 additions & 3 deletions MiniSpace.Web/src/Astravent.Web.Wasm/wwwroot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@
<link href="https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap" rel="stylesheet">
<link href="css/bootstrap/bootstrap.min.css" rel="stylesheet">
<link href="_content/Cropper.Blazor/cropper.min.css" rel="stylesheet" />
<link href="_content/MudBlazor/MudBlazor.min.css" rel="stylesheet" />
<link href="_content/MudBlazor.Markdown/MudBlazor.Markdown.min.css" rel="stylesheet" />

<link href="https://cdnjs.cloudflare.com/ajax/libs/cropperjs/1.5.12/cropper.min.css" rel="stylesheet" />
<link href="css/site.css" rel="stylesheet" />

<link rel="icon" type="image/png" href="favicon.png" />
<link href="manifest.webmanifest" rel="manifest" />
<link rel="apple-touch-icon" sizes="512x512" href="icon-512.png" />
Expand All @@ -28,6 +27,11 @@
<link href="_content/Blazorise/blazorise.css" rel="stylesheet" />
<link href="_content/Blazorise.Bootstrap5/blazorise.bootstrap5.css" rel="stylesheet" />

<link href="_content/MudBlazor/MudBlazor.min.css" rel="stylesheet" />
<link href="_content/MudBlazor.Markdown/MudBlazor.Markdown.min.css" rel="stylesheet" />

<link href="css/site.css" rel="stylesheet" />

<!-- PWA Theme Color -->
<meta name="theme-color" content="#03173d" />
</head>
Expand Down

0 comments on commit bb1ef78

Please sign in to comment.