Skip to content

Commit

Permalink
Maintenance for Bootstrap and package references (#36)
Browse files Browse the repository at this point in the history
Bootstrap
* Replace depreciated Bootstrap navbar-dark class
* Dark navbar items: Add attribute data-bs-theme="dark"
* Ligth navbar items: Add attribute data-bs-theme="light"

Nuget packages
* Update to latest releases

Node packages
* Bootstrap v5.3.3
* Remove obsolete tether, popper, jquery
  • Loading branch information
axunonb authored May 6, 2024
1 parent 9871202 commit 28327f3
Show file tree
Hide file tree
Showing 5 changed files with 516 additions and 5,726 deletions.
20 changes: 13 additions & 7 deletions ClubSite/ClubSite.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
<Version>4.0.0</Version>
<Version>4.0.1</Version>
<FileVersion>4.0.1</FileVersion>
<!--only update AssemblyVersion with major releases -->
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<Authors>axuno gGmbH</Authors>
<Description>The source code for https://www.volleyballclub.de/</Description>
<CurrentYear>$([System.DateTime]::Now.ToString(yyyy))</CurrentYear>
Expand All @@ -13,11 +16,11 @@
<SatelliteResourceLanguages>en;de</SatelliteResourceLanguages>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Azure.Identity" Version="1.11.0" />
<PackageReference Include="EPPlus" Version="7.0.10" />
<PackageReference Include="MailKit" Version="4.4.0" />
<PackageReference Include="Azure.Identity" Version="1.11.2" />
<PackageReference Include="EPPlus" Version="7.1.2" />
<PackageReference Include="MailKit" Version="4.5.0" />
<PackageReference Include="Microsoft.Data.SqlClient" Version="5.2.0" />
<PackageReference Include="NLog.Web.AspNetCore" Version="5.3.8" />
<PackageReference Include="NLog.Web.AspNetCore" Version="5.3.10" />
<PackageReference Include="Piranha" Version="11.0.0" />
<PackageReference Include="Piranha.AspNetCore" Version="11.0.0" />
<PackageReference Include="Piranha.AspNetCore.Identity" Version="11.0.0" />
Expand All @@ -29,8 +32,11 @@
<PackageReference Include="Piranha.Local.FileStorage" Version="11.0.0" />
<PackageReference Include="Piranha.Manager" Version="11.0.0" />
<PackageReference Include="Piranha.Manager.TinyMCE" Version="11.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.3" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.3" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.4" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.4">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.1" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="8.0.2" />
<PackageReference Include="SixLabors.ImageSharp" Version="2.1.8" />
Expand Down
4 changes: 2 additions & 2 deletions ClubSite/Pages/_Footer.cshtml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<footer class="mb-2">
<nav class="navbar navbar-expand-md navbar-dark bg-primary">
<nav class="navbar navbar-expand-md bg-primary" data-bs-theme="dark">
<ul class="navbar-nav mx-auto">
@foreach (var item in WebApp.Site.Sitemap.Where(i => i.IsHidden && i.MenuTitle.Contains("Fusszeile", StringComparison.InvariantCultureIgnoreCase)))
{
Expand All @@ -12,4 +12,4 @@
}
</ul>
</nav>
</footer>
</footer>
2 changes: 1 addition & 1 deletion ClubSite/Pages/_MenuTopLevel.cshtml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@inject Microsoft.AspNetCore.Authorization.IAuthorizationService Auth
<div class="fixed-top">
<nav class="navbar navbar-expand-md navbar-dark bg-primary p-0 pe-2 mx-1">
<nav class="navbar navbar-expand-md bg-primary p-0 pe-2 mx-1" data-bs-theme="dark">
<div class="container-fluid">
<a class="navbar-brand ps-2" href="~/">
<img src="~/favicon/vcn-Logo.svg" style="width: 50px;" alt="Logo" /><span class="clubname ps-2 d-none d-lg-inline-block">Volleyballclub Neusäß<small>e. V.</small></span><span class="clubname ps-2 d-inline-block d-lg-none">VC Neusäß</span>
Expand Down
Loading

0 comments on commit 28327f3

Please sign in to comment.