Skip to content

Commit

Permalink
removed halloween theme and readded paper google theme
Browse files Browse the repository at this point in the history
  • Loading branch information
singharaj-usai committed Oct 23, 2024
1 parent adf6116 commit 2af3ba7
Show file tree
Hide file tree
Showing 35 changed files with 39 additions and 39 deletions.
2 changes: 1 addition & 1 deletion client-next/src/pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function MyApp({ Component, pageProps }) {
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/cosmo/bootstrap.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/paper/bootstrap.min.css"
id="theme-stylesheet"
/>
</Head>
Expand Down
2 changes: 1 addition & 1 deletion client/html/components/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/cosmo/bootstrap.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/paper/bootstrap.min.css"
id="theme-stylesheet"
/>

Expand Down
2 changes: 1 addition & 1 deletion client/html/pages/404/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>404 - Page Not Found</title>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/cosmo/bootstrap.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/paper/bootstrap.min.css"
id="theme-stylesheet"
/>
<link rel="icon" href="/images/Valkyrie.ico" type="image/x-icon" />
Expand Down
2 changes: 1 addition & 1 deletion client/html/pages/admin/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>Admin Dashboard - Valkyrie</title>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/cosmo/bootstrap.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/paper/bootstrap.min.css"
/>
<link
rel="stylesheet"
Expand Down
2 changes: 1 addition & 1 deletion client/html/pages/authentication/email-verified.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>Email Verified - Valkyrie</title>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/cosmo/bootstrap.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/paper/bootstrap.min.css"
id="theme-stylesheet"
/>
<link rel="icon" href="/images/Valkyrie.ico" type="image/x-icon" />
Expand Down
2 changes: 1 addition & 1 deletion client/html/pages/authentication/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<!-- Stylesheets -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/cosmo/bootstrap.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/paper/bootstrap.min.css"
id="theme-stylesheet"
/>
<link
Expand Down
2 changes: 1 addition & 1 deletion client/html/pages/authentication/register.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<!-- Stylesheets -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/cosmo/bootstrap.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/paper/bootstrap.min.css"
id="theme-stylesheet"
/>
<link rel="stylesheet" href="./css/particles.css" />
Expand Down
2 changes: 1 addition & 1 deletion client/html/pages/banned/banned.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/cosmo/bootstrap.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/paper/bootstrap.min.css"
id="theme-stylesheet"
/>
<link
Expand Down
2 changes: 1 addition & 1 deletion client/html/pages/catalog/catalog.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<!-- Stylesheets -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/cosmo/bootstrap.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/paper/bootstrap.min.css"
id="theme-stylesheet"
/>
<link
Expand Down
2 changes: 1 addition & 1 deletion client/html/pages/catalog/shirt-details.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<!-- Stylesheets -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/cosmo/bootstrap.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/paper/bootstrap.min.css"
id="theme-stylesheet"
/>
<link
Expand Down
2 changes: 1 addition & 1 deletion client/html/pages/confirm-registration.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>Registration Confirmation - Valkyrie</title>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/cosmo/bootstrap.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/paper/bootstrap.min.css"
id="theme-stylesheet"
/>
<link rel="icon" href="/images/Valkyrie.ico" type="image/x-icon" />
Expand Down
2 changes: 1 addition & 1 deletion client/html/pages/forum/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>Forum - Valkyrie</title>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/cosmo/bootstrap.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/paper/bootstrap.min.css"
id="theme-stylesheet"
/>
<link
Expand Down
2 changes: 1 addition & 1 deletion client/html/pages/forum/new/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>Create New Post - Valkyrie Forum</title>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/cosmo/bootstrap.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/paper/bootstrap.min.css"
id="theme-stylesheet"
/>
<link
Expand Down
2 changes: 1 addition & 1 deletion client/html/pages/forum/new/reply.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>Reply to Post - Valkyrie Forum</title>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/cosmo/bootstrap.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/paper/bootstrap.min.css"
id="theme-stylesheet"
/>
<link
Expand Down
2 changes: 1 addition & 1 deletion client/html/pages/forum/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>Forum Post - Valkyrie</title>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/cosmo/bootstrap.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/paper/bootstrap.min.css"
id="theme-stylesheet"
/>
<link
Expand Down
2 changes: 1 addition & 1 deletion client/html/pages/forum/sections/section.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>Forum Section - Valkyrie</title>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/cosmo/bootstrap.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/paper/bootstrap.min.css"
id="theme-stylesheet"
/>
<link
Expand Down
2 changes: 1 addition & 1 deletion client/html/pages/friends/showfriends.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/cosmo/bootstrap.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/paper/bootstrap.min.css"
id="theme-stylesheet"
/>

Expand Down
2 changes: 1 addition & 1 deletion client/html/pages/game/game.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<!-- Stylesheets -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/cosmo/bootstrap.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/paper/bootstrap.min.css"
id="theme-stylesheet"
/>
<link
Expand Down
2 changes: 1 addition & 1 deletion client/html/pages/games/games.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<!-- Stylesheets -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/cosmo/bootstrap.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/paper/bootstrap.min.css"
id="theme-stylesheet"
/>
<link
Expand Down
2 changes: 1 addition & 1 deletion client/html/pages/home/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/cosmo/bootstrap.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/paper/bootstrap.min.css"
id="theme-stylesheet"
/>

Expand Down
2 changes: 1 addition & 1 deletion client/html/pages/legal/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/cosmo/bootstrap.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/paper/bootstrap.min.css"
id="theme-stylesheet"
/>
<link rel="icon" href="/images/Valkyrie.ico" type="image/x-icon" />
Expand Down
2 changes: 1 addition & 1 deletion client/html/pages/legal/privacy-policy.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/cosmo/bootstrap.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/paper/bootstrap.min.css"
id="theme-stylesheet"
/>
<link rel="icon" href="/images/Valkyrie.ico" type="image/x-icon" />
Expand Down
2 changes: 1 addition & 1 deletion client/html/pages/legal/terms-of-service.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/cosmo/bootstrap.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/paper/bootstrap.min.css"
id="theme-stylesheet"
/>
<link rel="icon" href="/images/Valkyrie.ico" type="image/x-icon" />
Expand Down
2 changes: 1 addition & 1 deletion client/html/pages/my/avatar.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<!-- Stylesheets -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/cosmo/bootstrap.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/paper/bootstrap.min.css"
id="theme-stylesheet"
/>
<link
Expand Down
2 changes: 1 addition & 1 deletion client/html/pages/my/compose/compose.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<!-- Stylesheets -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/cosmo/bootstrap.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/paper/bootstrap.min.css"
id="theme-stylesheet"
/>
<link
Expand Down
2 changes: 1 addition & 1 deletion client/html/pages/my/create/create.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<!-- Stylesheets -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/cosmo/bootstrap.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/paper/bootstrap.min.css"
id="theme-stylesheet"
/>
<link
Expand Down
2 changes: 1 addition & 1 deletion client/html/pages/my/friends.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<!-- Stylesheets -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/cosmo/bootstrap.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/paper/bootstrap.min.css"
id="theme-stylesheet"
/>
<link
Expand Down
2 changes: 1 addition & 1 deletion client/html/pages/my/messages.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/cosmo/bootstrap.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/paper/bootstrap.min.css"
id="theme-stylesheet"
/>
<link rel="icon" href="/images/Valkyrie.ico" type="image/x-icon" />
Expand Down
2 changes: 1 addition & 1 deletion client/html/pages/profile/user-profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<!-- Stylesheets -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/cosmo/bootstrap.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/paper/bootstrap.min.css"
id="theme-stylesheet"
/>

Expand Down
4 changes: 2 additions & 2 deletions client/html/pages/settings/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<!-- Stylesheets -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/cosmo/bootstrap.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/paper/bootstrap.min.css"
id="theme-stylesheet"
/>
<link
Expand Down Expand Up @@ -44,7 +44,7 @@ <h3 class="panel-title">Appearance</h3>
<div class="form-group">
<label for="theme-select">Theme</label>
<select class="form-control" id="theme-select">
<option value="cosmo">Light Mode</option>
<option value="paper">Light Mode</option>
<option value="cyborg">Dark Mode</option>
</select>
</div>
Expand Down
2 changes: 1 addition & 1 deletion client/html/pages/upload/place/place.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<!-- Stylesheets -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/cosmo/bootstrap.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/paper/bootstrap.min.css"
id="theme-stylesheet"
/>
<link
Expand Down
2 changes: 1 addition & 1 deletion client/html/pages/upload/shirt/shirt.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<!-- Stylesheets -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/cosmo/bootstrap.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/paper/bootstrap.min.css"
id="theme-stylesheet"
/>
<link
Expand Down
2 changes: 1 addition & 1 deletion client/html/pages/users/users.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<!-- Stylesheets -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/cosmo/bootstrap.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/paper/bootstrap.min.css"
id="theme-stylesheet"
/>
<link
Expand Down
4 changes: 2 additions & 2 deletions client/js/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ $(document).ready(function () {
});

function loadUserSettings() {
const theme = localStorage.getItem('theme') || 'cosmo';
const theme = localStorage.getItem('theme') || 'paper';
$('#theme-select').val(theme);
applyTheme(theme);

Expand All @@ -41,7 +41,7 @@ function applyTheme(theme) {
themeStylesheet.href = `https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/${theme}/bootstrap.min.css`;

// Update CSS variable for user-submenu top position
let submenuTop = '50px'; // Default value
let submenuTop = '68px'; // Default value
if (theme === 'cyborg') {
submenuTop = '50px'; // Adjust this value as needed for the Cyborg theme
}
Expand Down
6 changes: 3 additions & 3 deletions client/js/theme-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
const themeLink = document.getElementById('theme-stylesheet');
themeLink.href = `https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/${theme}/bootstrap.min.css`;

let submenuTop = '55px';
let submenuTop = '68px';
if (theme === 'cyborg') {
submenuTop = '50px';
}
Expand All @@ -14,7 +14,7 @@
);
}

const theme = localStorage.getItem('theme') || 'cosmo';
const theme = localStorage.getItem('theme') || 'paper';
applyTheme(theme);

const style = document.createElement('style');
Expand All @@ -24,6 +24,6 @@
window.addEventListener('load', function () {
document.head.removeChild(style);
document.body.style.visibility = 'visible';
document.body.style.backgroundImage = "url('https://i.imgur.com/OqvUONC.png')";
// document.body.style.backgroundImage = "url('https://i.imgur.com/OqvUONC.png')";
});
})();

0 comments on commit 2af3ba7

Please sign in to comment.