Skip to content

Commit

Permalink
Refactor file paths for JavaScript resources and update tool navigati…
Browse files Browse the repository at this point in the history
…on and UI components
  • Loading branch information
TMHSDigital committed Dec 26, 2024
1 parent 01d7e67 commit e1efc22
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 24 deletions.
22 changes: 11 additions & 11 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,23 @@
<meta name="description" content="Access powerful, free web-based tools for everyday digital tasks. Text-to-speech, image resizing, color palettes, ASCII art, QR codes, and more - all in one place.">

<!-- Base and Theme styles -->
<link rel="stylesheet" href="css/base/reset.css">
<link rel="stylesheet" href="css/base/layout.css">
<link rel="stylesheet" href="css/themes/variables.css">
<link rel="stylesheet" href="/Digital_Services.HUB/css/base/reset.css">
<link rel="stylesheet" href="/Digital_Services.HUB/css/base/layout.css">
<link rel="stylesheet" href="/Digital_Services.HUB/css/themes/variables.css">

<!-- Common UI Components -->
<link rel="stylesheet" href="css/components/ui.css">
<link rel="stylesheet" href="/Digital_Services.HUB/css/components/ui.css">

<!-- Utility styles -->
<link rel="stylesheet" href="css/utils/utilities.css">
<link rel="stylesheet" href="css/utils/animations.css">
<link rel="stylesheet" href="/Digital_Services.HUB/css/utils/utilities.css">
<link rel="stylesheet" href="/Digital_Services.HUB/css/utils/animations.css">

<!-- Component styles -->
<link rel="stylesheet" href="css/components/alerts.css">
<link rel="stylesheet" href="css/components/cards.css">
<link rel="stylesheet" href="/Digital_Services.HUB/css/components/alerts.css">
<link rel="stylesheet" href="/Digital_Services.HUB/css/components/cards.css">

<!-- Main styles -->
<link rel="stylesheet" href="css/styles.css">
<link rel="stylesheet" href="/Digital_Services.HUB/css/styles.css">

<!-- External fonts and icons -->
<link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Roboto:wght@300;400;700&display=swap" rel="stylesheet">
Expand Down Expand Up @@ -180,7 +180,7 @@ <h4>Legal</h4>
</footer>

<!-- Load scripts -->
<script src="js/utils/app.js" type="module"></script>
<script src="js/features/tools-manager.js" type="module"></script>
<script src="/Digital_Services.HUB/js/utils/app.js" type="module"></script>
<script src="/Digital_Services.HUB/js/features/tools-manager.js" type="module"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion pages/ascii-art.html
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ <h3 id="share-modal-title">Share ASCII Art</h3>
<div class="notification" role="alert" aria-live="polite"></div>

<!-- Load scripts -->
<script src="../js/utils/app.js" type="module"></script>
<script src="/Digital_Services.HUB/js/utils/app.js" type="module"></script>
<script src="../js/features/ascii-art.js" type="module"></script>
</body>
</html>
4 changes: 2 additions & 2 deletions pages/color-palette.html
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ <h3 id="modal-title">Color Information</h3>
<!-- Load color wheel library -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/iro.js/5.5.2/iro.min.js"></script>
<!-- Load our scripts -->
<script src="../js/utils/app.js"></script>
<script src="../js/features/color-palette.js"></script>
<script src="/Digital_Services.HUB/js/utils/app.js"></script>
<script src="/Digital_Services.HUB/js/features/color-palette.js"></script>
</body>
</html>
4 changes: 2 additions & 2 deletions pages/image-resizer.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ <h2 class="hero-title">Image Resizer</h2>

<div class="notification" role="alert" aria-live="polite"></div>

<script src="../js/utils/app.js"></script>
<script src="../js/features/image-resizer.js"></script>
<script src="/Digital_Services.HUB/js/utils/app.js"></script>
<script src="/Digital_Services.HUB/js/features/image-resizer.js"></script>
</body>
</html>
4 changes: 2 additions & 2 deletions pages/password-generator.html
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ <h3>Recently Generated</h3>
<div class="notification" role="alert" aria-live="polite"></div>

<!-- Load scripts -->
<script src="../js/utils/app.js" type="module"></script>
<script src="../js/features/password-generator.js" type="module"></script>
<script src="/Digital_Services.HUB/js/utils/app.js" type="module"></script>
<script src="/Digital_Services.HUB/js/features/password-generator.js" type="module"></script>
</body>
</html>
4 changes: 2 additions & 2 deletions pages/qr-code.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ <h2 class="hero-title">QR Code Generator</h2>
<!-- Load QR Code library first -->
<script src="https://unpkg.com/[email protected]/lib/qr-code-styling.js"></script>
<!-- Load common utilities -->
<script src="../js/utils/app.js"></script>
<script src="/Digital_Services.HUB/js/utils/app.js"></script>
<!-- Then load our feature script -->
<script src="../js/features/qr-code.js"></script>
<script src="/Digital_Services.HUB/js/features/qr-code.js"></script>
</body>
</html>
4 changes: 2 additions & 2 deletions pages/text-to-speech.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ <h1 class="tts-title">Text to Speech</h1>
</div>
</div>

<script type="module" src="../js/utils/app.js"></script>
<script type="module" src="../js/features/text-to-speech.js"></script>
<script type="module" src="/Digital_Services.HUB/js/utils/app.js"></script>
<script type="module" src="/Digital_Services.HUB/js/features/text-to-speech.js"></script>
</body>
</html>
4 changes: 2 additions & 2 deletions pages/url-shortener.html
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,9 @@ <h4>Legal</h4>
<div class="footer-bottom">
<p>&copy; 2024 Digital Services Hub. All rights reserved.</p>
</div>
<script src="../utils/app.js"></script>
<script src="/Digital_Services.HUB/utils/app.js"></script>
</footer>

<script src="../js/features/url-shortener.js" type="module"></script>
<script src="/Digital_Services.HUB/js/features/url-shortener.js" type="module"></script>
</body>
</html>

0 comments on commit e1efc22

Please sign in to comment.