consolidation of auth mechanism
This commit is contained in:
@@ -19,7 +19,13 @@ const { title, description = 'CC24-Guide - A comprehensive directory of digital
|
||||
<meta name="description" content={description}>
|
||||
<title>{title} - CC24-Guide</title>
|
||||
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
||||
|
||||
<!-- CONSOLIDATED: Load theme script -->
|
||||
<script src="/src/scripts/theme.js"></script>
|
||||
|
||||
<!-- CONSOLIDATED: Load client-side auth utilities -->
|
||||
<script src="/src/scripts/client-auth.js"></script>
|
||||
|
||||
<script>
|
||||
// Initialize theme immediately to prevent flash
|
||||
(window as any).themeUtils?.initTheme();
|
||||
|
||||
Reference in New Issue
Block a user