Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Sync upstream (ce7d553)
  • Loading branch information
Sticks committed Jan 14, 2025
1 parent 9dc4927 commit f681d64
Show file tree
Hide file tree
Showing 15 changed files with 84 additions and 265 deletions.
2 changes: 1 addition & 1 deletion api/package.json
@@ -1,7 +1,7 @@
{
"name": "@imput/cobalt-api",
"description": "save what you love",
"version": "10.5.2",
"version": "10.5.4",
"author": "imput",
"exports": "./src/cobalt.js",
"type": "module",
Expand Down
1 change: 1 addition & 0 deletions api/src/processing/match-action.js
Expand Up @@ -102,6 +102,7 @@ export default function({ r, host, audioFormat, isAudioOnly, isAudioMuted, disab
filename: `${r.audioFilename}.${audioFormat}`,
isAudioOnly: true,
audioFormat,
audioBitrate
})
}
break;
Expand Down
Binary file added web/build.zip
Binary file not shown.
67 changes: 42 additions & 25 deletions web/src/app.html
@@ -1,35 +1,46 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="viewport-fit=cover, width=device-width, height=device-height, initial-scale=1, maximum-scale=1">
<meta name="application-name" content="cobalt">
<meta name="og:type" content="article">
<meta name="twitter:card" content="summary">
<meta charset="utf-8" />
<meta
name="viewport"
content="viewport-fit=cover, width=device-width, height=device-height, initial-scale=1, maximum-scale=1"
/>
<meta name="application-name" content="cobalt" />
<meta name="og:type" content="article" />
<meta name="twitter:card" content="summary" />

%sveltekit.head%

<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="apple-mobile-web-app-title" content="cobalt">
<meta name="mobile-web-app-capable" content="yes" />
<meta
name="apple-mobile-web-app-status-bar-style"
content="black-translucent"
/>
<meta name="apple-mobile-web-app-title" content="cobalt" />

<meta name="darkreader-lock">
<meta name="color-scheme" content="only light">
<meta name="darkreader-lock" />
<meta name="color-scheme" content="only light" />

<link rel="icon" href="%sveltekit.assets%/favicon.png">
<link rel="apple-touch-icon" sizes="180x180" href="%sveltekit.assets%/icons/apple-touch-icon.png">
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
<link
rel="apple-touch-icon"
sizes="180x180"
href="%sveltekit.assets%/icons/apple-touch-icon.png"
/>
<link type="application/activity+json" href="" />

<link crossorigin="use-credentials" rel="manifest" href="%sveltekit.assets%/manifest.json">

<noscript>
<style>
#cobalt { opacity: 1 !important }
#cobalt {
opacity: 1 !important;
}
</style>
</noscript>

<style>
body, #body-dark {
body,
#body-dark {
background-color: black;
}

Expand All @@ -49,21 +60,27 @@

#cobalt.loaded {
opacity: 1;
transition: opacity .2s ease-out;
transition: opacity 0.2s ease-out;
}
</style>
<script>
document.addEventListener('DOMContentLoaded', function() {
let settings = localStorage.getItem('settings'), appearance;
if (settings && ({ appearance } = JSON.parse(settings)) && appearance?.theme) {
document.addEventListener('DOMContentLoaded', function () {
let settings = localStorage.getItem('settings'),
appearance;
if (
settings &&
({ appearance } = JSON.parse(settings)) &&
appearance?.theme
) {
document.body.id = `body-${appearance.theme}`;
}
});
</script>
</head>
<body data-sveltekit-preload-data="hover" data-sveltekit-preload-code="eager">
<div style="display: contents">
%sveltekit.body%
</div>
<body
data-sveltekit-preload-data="hover"
data-sveltekit-preload-code="eager"
>
<div style="display: contents">%sveltekit.body%</div>
</body>
</html>
2 changes: 1 addition & 1 deletion web/src/components/sidebar/CobaltLogo.svelte
Expand Up @@ -4,7 +4,7 @@

<div id="cobalt-logo">
<img
src="/logos/hydralogo.png"
src="logos/hydralogo.png"
height="75"
alt="Team Hydra Logo"
aria-hidden="true"
Expand Down
62 changes: 0 additions & 62 deletions web/src/routes/about/+layout.svelte

This file was deleted.

4 changes: 0 additions & 4 deletions web/src/routes/about/+page.svelte

This file was deleted.

6 changes: 0 additions & 6 deletions web/src/routes/about/[page]/+page.svelte

This file was deleted.

29 changes: 0 additions & 29 deletions web/src/routes/about/[page]/+page.ts

This file was deleted.

83 changes: 0 additions & 83 deletions web/src/routes/about/community/+page.svelte

This file was deleted.

0 comments on commit f681d64

Please sign in to comment.