Add editorconfig and re-format navigation.html

This commit is contained in:
Sravan Balaji
2025-01-02 09:49:37 -05:00
parent dd4671b7b8
commit a72c989a7d
2 changed files with 61 additions and 56 deletions

25
.editorconfig Normal file
View File

@@ -0,0 +1,25 @@
# EditorConfig is awesome: https://editorconfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
indent_style = space
indent_size = 4
end_of_line = lf
insert_final_newline = false
trim_trailing_whitespace = true
# JSON Files
[*.{json}]
indent_size = 2
# Markdown Files
[*.{md,mdx}]
trim_trailing_whitespace = false
# Web Files
[*.{html,js,css}]
indent_size = 2

View File

@@ -4,29 +4,14 @@
<div class="container-fluid"> <div class="container-fluid">
<!-- Brand --> <!-- Brand -->
<a class="navbar-brand" href="/"> <a class="navbar-brand" href="/">
<img <img src="/assets/branding/logo.png" alt="Icon" width="30px" height="30px"
src="/assets/branding/logo.png" class="d-inline-block align-top" />
alt="Icon" <img src="/assets/branding/name.png" alt="Name" height="30px" class="d-inline-block align-center" />
width="30px"
height="30px"
class="d-inline-block align-top"
/>
<img
src="/assets/branding/name.png"
alt="Name"
height="30px"
class="d-inline-block align-center"
/>
</a> </a>
<!-- Toggler/collapsible Button --> <!-- Toggler/collapsible Button -->
<button class="navbar-toggler" <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#collapsibleNavbar"
type="button" aria-controls="collapsibleNavbar" aria-expanded="false" aria-label="Toggle navigation">
data-bs-toggle="collapse"
data-bs-target="#collapsibleNavbar"
aria-controls="collapsibleNavbar"
aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span> <span class="navbar-toggler-icon"></span>
</button> </button>
@@ -45,12 +30,7 @@
<!-- Reference: https://github.com/coliff/dark-mode-switch --> <!-- Reference: https://github.com/coliff/dark-mode-switch -->
<div class="form-check form-switch"> <div class="form-check form-switch">
<input type="checkbox" class="form-check-input" id="darkSwitch" /> <input type="checkbox" class="form-check-input" id="darkSwitch" />
<label <label class="form-check-label" for="darkSwitch" id="darkSwitchLabel">Dark Mode</label>
class="form-check-label"
for="darkSwitch"
id="darkSwitchLabel"
>Dark Mode</label
>
</div> </div>
<script src="/scripts/dark-mode-switch.min.js"></script> <script src="/scripts/dark-mode-switch.min.js"></script>
</div> </div>