mirror of
https://github.com/hmaxnl/SharpRSS.git
synced 2025-01-18 12:54:20 +01:00
Added MudBlazor to SharpRSS.Blazor
This commit is contained in:
parent
5bb96a48ee
commit
73d5ba2dad
|
@ -9,12 +9,17 @@
|
|||
<link rel="stylesheet" href="app.css"/>
|
||||
<link rel="stylesheet" href="SharpRSS.Blazor.styles.css"/>
|
||||
<link rel="icon" type="image/png" href="favicon.png"/>
|
||||
@*MudBlazor*@
|
||||
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" rel="stylesheet" />
|
||||
<link href="_content/MudBlazor/MudBlazor.min.css" rel="stylesheet" />
|
||||
<HeadOutlet/>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<Routes/>
|
||||
<script src="_framework/blazor.web.js"></script>
|
||||
@*MudBlazor*@
|
||||
<script src="_content/MudBlazor/MudBlazor.min.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -1,5 +1,9 @@
|
|||
@inherits LayoutComponentBase
|
||||
|
||||
<MudThemeProvider IsDarkMode="true"/>
|
||||
<MudDialogProvider/>
|
||||
<MudSnackbarProvider/>
|
||||
|
||||
<div class="page">
|
||||
<div class="sidebar">
|
||||
<NavMenu/>
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
<PageTitle>Home</PageTitle>
|
||||
|
||||
<h1>Hello, world!</h1>
|
||||
<MudText Typo="Typo.h4">Mud text!</MudText>
|
||||
|
||||
Welcome to your new app.
|
|
@ -6,5 +6,8 @@
|
|||
@using static Microsoft.AspNetCore.Components.Web.RenderMode
|
||||
@using Microsoft.AspNetCore.Components.Web.Virtualization
|
||||
@using Microsoft.JSInterop
|
||||
@*SharpRSS*@
|
||||
@using SharpRSS.Blazor
|
||||
@using SharpRSS.Blazor.Components
|
||||
@using SharpRSS.Blazor.Components
|
||||
@*MudBlazor*@
|
||||
@using MudBlazor
|
|
@ -1,4 +1,5 @@
|
|||
using Microsoft.EntityFrameworkCore;
|
||||
using MudBlazor.Services;
|
||||
using SharpRSS.Blazor.Components;
|
||||
using SharpRSS.Business;
|
||||
using SharpRSS.Data;
|
||||
|
@ -10,6 +11,7 @@ builder.UseSRSS();
|
|||
// Add services to the container.
|
||||
builder.Services.AddRazorComponents()
|
||||
.AddInteractiveServerComponents();
|
||||
builder.Services.AddMudServices();
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
|
|
|
@ -11,4 +11,8 @@
|
|||
<ProjectReference Include="..\SharpRSS.Core\SharpRSS.Core.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="MudBlazor" Version="6.20.0" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
|
@ -24,9 +24,10 @@ git push
|
|||
git config --global status.submoduleSummary true
|
||||
|
||||
|
||||
## Update all submoduels
|
||||
## Update submodule if submodule has changed
|
||||
git submodule update --remote --merge
|
||||
|
||||
git commit -m "Submodule updated!"
|
||||
|
||||
## Remove submodule
|
||||
git rm <path-to-submodule>
|
||||
|
|
Loading…
Reference in New Issue
Block a user