Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating bootstrap #19

Merged
merged 1 commit into from
Nov 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 14 additions & 16 deletions GameLibrary/Pages/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
@@ -1,43 +1,41 @@
<!DOCTYPE html>
<html lang="en">
<html lang="en" data-bs-theme="dark">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - GameLibrary</title>
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
</head>
<body class="bg-dark text-light">
<body>
<header>
<nav class="navbar navbar-expand-sm navbar-dark bg-dark border-bottom border-secondary shadow-sm mb-3">
<div class="container">
<a class="navbar-brand text-center text-break text-light" asp-area="" asp-page="/Index">GameLibrary</a>
<nav class="navbar navbar-expand-lg navbar-dark bg-primary">
<div class="container-fluid">
<a class="navbar-brand text-center text-break" asp-area="" asp-page="/Index">GameLibrary</a>

<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target=".navbar-collapse" aria-controls="navbarSupportedContent"
aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse d-sm-inline-flex justify-content-between">
<ul class="navbar-nav flex-grow-1">
<li class="nav-item">
<a class="nav-link text-light" asp-area="" asp-page="/Index">Home</a>
</li>
<li class="nav-item">
<a class="nav-link text-light" asp-area="" asp-page="/Privacy">Privacy</a>
</li>

<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav me-auto">
<li class="nav-item"><a class="nav-link" asp-area="" asp-page="/Index">Home</a></li>
<li class="nav-item"><a class="nav-link" asp-area="" asp-page="/Privacy">Privacy</a></li>
</ul>
</div>
</div>
</nav>
</header>
<div class="container">
<main role="main" class="pb-3">
<main role="main">
@RenderBody()
</main>
</div>

<footer class="footer border-top border-secondary mt-auto position-fixed bottom-0 w-100 bg-dark text-light">
<footer class="footer border-top border-secondary mt-auto position-fixed bottom-0 w-100">
<div class="container py-2">
&copy; 2024 - GameLibrary - <a class="text-light" asp-area="" asp-page="/Privacy">Privacy</a>
&copy; 2024 - GameLibrary - <a asp-area="" asp-page="/Privacy">Privacy</a>
</div>
</footer>

Expand Down
19 changes: 12 additions & 7 deletions GameLibrary/libman.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
{
"version": "1.0",
"defaultProvider": "cdnjs",
"libraries": [
{
"library": "[email protected]",
"destination": "wwwroot/lib/htmx/"
}
]
}
"libraries": [
{
"library": "[email protected]",
"destination": "wwwroot/lib/htmx/"
},
{
"provider": "cdnjs",
"library": "[email protected]",
"destination": "wwwroot/lib/bootstrap/dist/"
}
]
}
Loading