mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-28 05:08:00 +02:00
Changes:
- Added Blur (Light) theme, Closes #62 - Support Changing Default Tab (related to #56) - Link to Piped, Closes #48 - Continuations for albums (related to #46) - Support for recently added languages
This commit is contained in:
parent
335f548219
commit
edb618b3f5
12 changed files with 487 additions and 422 deletions
|
@ -12,6 +12,10 @@ export const SUPPORTED_LOCALES = [
|
|||
code: 'az',
|
||||
name: 'Azərbaycan',
|
||||
},
|
||||
{
|
||||
code: 'bs',
|
||||
name: 'Bosanski',
|
||||
},
|
||||
{
|
||||
code: 'cs',
|
||||
name: 'Čeština',
|
||||
|
@ -36,6 +40,10 @@ export const SUPPORTED_LOCALES = [
|
|||
code: 'gl',
|
||||
name: 'Galego',
|
||||
},
|
||||
{
|
||||
code: 'hr',
|
||||
name: 'Hrvatski',
|
||||
},
|
||||
{
|
||||
code: 'id',
|
||||
name: 'Bahasa Indonesia',
|
||||
|
@ -52,10 +60,18 @@ export const SUPPORTED_LOCALES = [
|
|||
code: 'ko',
|
||||
name: '한국어',
|
||||
},
|
||||
{
|
||||
code: 'nl',
|
||||
name: 'Nederlands',
|
||||
},
|
||||
{
|
||||
code: 'ru',
|
||||
name: 'Pусский ',
|
||||
},
|
||||
{
|
||||
code: 'sr',
|
||||
name: 'Српски',
|
||||
},
|
||||
{
|
||||
code: 'tr',
|
||||
name: 'Türkçe',
|
||||
|
|
|
@ -9,7 +9,8 @@ import { useRoute } from '@/scripts/util.js';
|
|||
export const useResults = defineStore('results', () => {
|
||||
const items = ref({}),
|
||||
search = ref(''),
|
||||
chartsId = ref('');
|
||||
chartsId = ref(''),
|
||||
next = ref('');
|
||||
|
||||
function setItem(key, val) {
|
||||
items.value[key] = val;
|
||||
|
@ -65,12 +66,16 @@ export const useResults = defineStore('results', () => {
|
|||
|
||||
useRoute(e);
|
||||
useNav().state.page = 'home';
|
||||
|
||||
if (json.nextpage)
|
||||
next.value = hash + '?nextpage=' + encodeURIComponent(json.nextpage);
|
||||
}
|
||||
|
||||
return {
|
||||
items,
|
||||
search,
|
||||
chartsId,
|
||||
next,
|
||||
setItem,
|
||||
resetItems,
|
||||
getExplore,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue