mirror of
https://github.com/ThaUnknown/miru.git
synced 2026-04-20 14:52:17 +00:00
chore: move
This commit is contained in:
parent
93513b6a74
commit
0cabb00499
29 changed files with 31 additions and 31 deletions
|
|
@ -40,7 +40,7 @@ importers:
|
|||
version: 1.0.9
|
||||
anitomyscript:
|
||||
specifier: github:thaunknown/anitomyscript
|
||||
version: https://codeload.github.com/thaunknown/anitomyscript/tar.gz/21a751e60a9efca83adb502212a3298f0e9a31e6
|
||||
version: https://codeload.github.com/thaunknown/anitomyscript/tar.gz/6214b582127f16b3e50fc12b9cdb2fcf650f7aa6
|
||||
bottleneck:
|
||||
specifier: ^2.19.5
|
||||
version: 2.19.5
|
||||
|
|
@ -741,9 +741,9 @@ packages:
|
|||
ajv@6.12.6:
|
||||
resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==}
|
||||
|
||||
anitomyscript@https://codeload.github.com/thaunknown/anitomyscript/tar.gz/21a751e60a9efca83adb502212a3298f0e9a31e6:
|
||||
resolution: {tarball: https://codeload.github.com/thaunknown/anitomyscript/tar.gz/21a751e60a9efca83adb502212a3298f0e9a31e6}
|
||||
version: 2.0.7
|
||||
anitomyscript@https://codeload.github.com/thaunknown/anitomyscript/tar.gz/6214b582127f16b3e50fc12b9cdb2fcf650f7aa6:
|
||||
resolution: {tarball: https://codeload.github.com/thaunknown/anitomyscript/tar.gz/6214b582127f16b3e50fc12b9cdb2fcf650f7aa6}
|
||||
version: 2.0.8
|
||||
|
||||
ansi-regex@5.0.1:
|
||||
resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==}
|
||||
|
|
@ -2909,7 +2909,7 @@ snapshots:
|
|||
json-schema-traverse: 0.4.1
|
||||
uri-js: 4.4.1
|
||||
|
||||
anitomyscript@https://codeload.github.com/thaunknown/anitomyscript/tar.gz/21a751e60a9efca83adb502212a3298f0e9a31e6: {}
|
||||
anitomyscript@https://codeload.github.com/thaunknown/anitomyscript/tar.gz/6214b582127f16b3e50fc12b9cdb2fcf650f7aa6: {}
|
||||
|
||||
ansi-regex@5.0.1: {}
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
let hidden = true
|
||||
|
||||
function onclick () {
|
||||
goto(`/anime/${media.id}`)
|
||||
goto(`/app/anime/${media.id}`)
|
||||
}
|
||||
function onhover (state: boolean) {
|
||||
hidden = !state
|
||||
|
|
|
|||
|
|
@ -258,7 +258,7 @@
|
|||
<div class='absolute w-full bottom-0 flex flex-col gradient px-10 py-4 transition-opacity select:opacity-100 cursor-default' class:opacity-0={immersed}>
|
||||
<div class='flex justify-between gap-12'>
|
||||
<div class='flex flex-col gap-2 text-left cursor-pointer'>
|
||||
<div class='text-white text-lg font-normal leading-none line-clamp-1 hover:text-neutral-300' use:click={() => goto(`/anime/${mediaInfo.media.id}`)}>{mediaInfo.session.title}</div>
|
||||
<div class='text-white text-lg font-normal leading-none line-clamp-1 hover:text-neutral-300' use:click={() => goto(`/app/anime/${mediaInfo.media.id}`)}>{mediaInfo.session.title}</div>
|
||||
<Sheet.Root portal={wrapper}>
|
||||
<Sheet.Trigger id='episode-list-button' class='text-[rgba(217,217,217,0.6)] hover:text-neutral-500 text-sm leading-none font-light line-clamp-1 text-left'>{mediaInfo.session.description}</Sheet.Trigger>
|
||||
<Sheet.Content class='w-[550px] sm:max-w-full h-full overflow-y-scroll flex flex-col pb-0 shrink-0 gap-0'>
|
||||
|
|
|
|||
|
|
@ -16,31 +16,31 @@
|
|||
<div class='w-14 p-2 flex flex-col z-10 shrink-0 bg-black'>
|
||||
<BannerImage class='absolute top-0 left-0 w-14 -z-10' />
|
||||
<img src='/logo_cropped.png' alt='logo' class='mb-3 cursor-pointer h-10 object-contain px-1' decoding='async' />
|
||||
<SidebarButton class='mb-2' href='/home/'>
|
||||
<SidebarButton class='mb-2' href='/app/home/'>
|
||||
<Home size={18} />
|
||||
</SidebarButton>
|
||||
<SidebarButton class='mb-2' href='/search/'>
|
||||
<SidebarButton class='mb-2' href='/app/search/'>
|
||||
<Search size={18} />
|
||||
</SidebarButton>
|
||||
<SidebarButton class='mb-2' href='/schedule/'>
|
||||
<SidebarButton class='mb-2' href='/app/schedule/'>
|
||||
<Calendar size={18} />
|
||||
</SidebarButton>
|
||||
<SidebarButton class='mb-2' href='/w2g/'>
|
||||
<SidebarButton class='mb-2' href='/app/w2g/'>
|
||||
<Users size={18} />
|
||||
</SidebarButton>
|
||||
<SidebarButton class='mb-2' href='/chat/'>
|
||||
<SidebarButton class='mb-2' href='/app/chat/'>
|
||||
<MessagesSquare size={18} />
|
||||
</SidebarButton>
|
||||
<SidebarButton class='mb-2' href='/client/'>
|
||||
<SidebarButton class='mb-2' href='/app/client/'>
|
||||
<Hub size={18} fill='currentColor' />
|
||||
</SidebarButton>
|
||||
<Button variant='ghost' on:click={() => native.openURL('https://github.com/sponsors/ThaUnknown/')} class='px-2 w-full relative mb-2 mt-auto donate text-[#fa68b6] select:text-[#fa68b6] select:!bg-transparent'>
|
||||
<Heart size={18} fill='currentColor' />
|
||||
</Button>
|
||||
<SidebarButton class='mb-2' href='/settings/'>
|
||||
<SidebarButton class='mb-2' href='/app/settings/'>
|
||||
<Settings size={18} />
|
||||
</SidebarButton>
|
||||
<SidebarButton href='/profile/'>
|
||||
<SidebarButton href='/app/profile/'>
|
||||
{#if hasAuth}
|
||||
{@const viewer = client.profile()}
|
||||
<Avatar.Root class='size-6 rounded-md'>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<script lang='ts'>
|
||||
import 'tailwindcss/tailwind.css'
|
||||
import { page } from '$app/stores'
|
||||
import Separator from '$lib/components/ui/separator/separator.svelte'
|
||||
import { Separator } from '$lib/components/ui/separator'
|
||||
</script>
|
||||
|
||||
<div class='overflow-x-hidden overflow-y-scroll relative flex justify-center items-center text-white px-15 w-full font-light'>
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
import Menubar from '$lib/components/ui/menubar/menubar.svelte'
|
||||
import { Sidebar } from '$lib/components/ui/sidebar'
|
||||
import { ProgressBar } from '@prgm/sveltekit-progress-bar'
|
||||
import '../app.css'
|
||||
import '../../app.css'
|
||||
import '@fontsource-variable/nunito'
|
||||
import '$lib/modules/navigate'
|
||||
import { BannerImage } from '$lib/components/ui/banner'
|
||||
|
|
@ -179,7 +179,7 @@
|
|||
{#each showRelations ? relations : relations.slice(0, 3) as rel (rel?.node?.id)}
|
||||
{@const media = rel?.node}
|
||||
{#if media}
|
||||
<a class='select:scale-[1.02] select:shadow-lg scale-100 transition-all duration-200 shrink-0 ease-out focus-visible:ring-ring focus-visible:ring-1 rounded-md w-96 md:w-full h-[126px] bg-neutral-950 text-secondary-foreground select:bg-neutral-900 flex' style:-webkit-user-drag='none' href='/anime/{media.id}'>
|
||||
<a class='select:scale-[1.02] select:shadow-lg scale-100 transition-all duration-200 shrink-0 ease-out focus-visible:ring-ring focus-visible:ring-1 rounded-md w-96 md:w-full h-[126px] bg-neutral-950 text-secondary-foreground select:bg-neutral-900 flex' style:-webkit-user-drag='none' href='/app/anime/{media.id}'>
|
||||
<div class='w-[90px] bg-image rounded-l-md shrink-0'>
|
||||
<Load src={media.coverImage?.medium} class='object-cover h-full w-full shrink-0 rounded-l-md' />
|
||||
</div>
|
||||
|
|
@ -29,7 +29,7 @@
|
|||
Be wary of impersonation.<br /> Staff will <span class='font-bold text-neutral-500'>NEVER</span> show up on this chat.
|
||||
</div>
|
||||
<div class='mt-7 gap-3 flex justify-center'>
|
||||
<Button variant='secondary' href='/' size='lg'>Nope</Button>
|
||||
<Button variant='secondary' href='/app/' size='lg'>Nope</Button>
|
||||
<Button variant='destructive' size='lg' on:click={agree}>Continue</Button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -71,7 +71,7 @@
|
|||
hideBanner.value = false
|
||||
|
||||
function search (variables: VariablesOf<typeof Search>) {
|
||||
goto('/search', { state: { search: variables } })
|
||||
goto('/app/search', { state: { search: variables } })
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
import { redirect } from '@sveltejs/kit'
|
||||
|
||||
export function load () {
|
||||
redirect(307, '/settings/accounts/')
|
||||
redirect(307, '/app/settings/accounts/')
|
||||
}
|
||||
|
|
@ -140,7 +140,7 @@
|
|||
</Drawer.Header>
|
||||
<Drawer.Footer>
|
||||
{#each episodes as episode, i (i)}
|
||||
<ButtonPrimitive.Root class={cn('flex items-center h-4 w-full group mt-1.5 px-3', +episode.airTime < Date.now() && 'opacity-30')} href='/anime/{episode.id}' data-sveltekit-preload-data='tap'>
|
||||
<ButtonPrimitive.Root class={cn('flex items-center h-4 w-full group mt-1.5 px-3', +episode.airTime < Date.now() && 'opacity-30')} href='/app/anime/{episode.id}' data-sveltekit-preload-data='tap'>
|
||||
<div class='font-medium text-nowrap text-ellipsis overflow-hidden pr-2' title={episode.title?.userPreferred}>
|
||||
{#if episode.mediaListEntry?.status}
|
||||
<StatusDot variant={episode.mediaListEntry.status} class='hidden' />
|
||||
|
|
@ -162,7 +162,7 @@
|
|||
{#if !$isMobile}
|
||||
<div class='mt-auto'>
|
||||
{#each episodes.length > 6 ? episodes.slice(0, 5) : episodes as episode, i (i)}
|
||||
<ButtonPrimitive.Root class={cn('flex items-center h-4 w-full group mt-1.5 px-3', +episode.airTime < Date.now() && 'opacity-30')} href='/anime/{episode.id}' data-sveltekit-preload-data='tap'>
|
||||
<ButtonPrimitive.Root class={cn('flex items-center h-4 w-full group mt-1.5 px-3', +episode.airTime < Date.now() && 'opacity-30')} href='/app/anime/{episode.id}' data-sveltekit-preload-data='tap'>
|
||||
<div class='font-medium text-nowrap text-ellipsis overflow-hidden pr-2' title={episode.title?.userPreferred}>
|
||||
{#if episode.mediaListEntry?.status}
|
||||
<StatusDot variant={episode.mediaListEntry.status} class='hidden lg:inline-flex' />
|
||||
|
|
@ -180,7 +180,7 @@
|
|||
</Tooltip.Trigger>
|
||||
<Tooltip.Content sameWidth={true} class='text-center gap-1.5'>
|
||||
{#each episodes.slice(5) as episode, i (i)}
|
||||
<ButtonPrimitive.Root class={cn('flex items-center h-4 w-full group', +episode.airTime < Date.now() && 'text-neutral-300')} href='/anime/{episode.id}'data-sveltekit-preload-data='tap'>
|
||||
<ButtonPrimitive.Root class={cn('flex items-center h-4 w-full group', +episode.airTime < Date.now() && 'text-neutral-300')} href='/app/anime/{episode.id}'data-sveltekit-preload-data='tap'>
|
||||
<div class='font-medium text-nowrap text-ellipsis overflow-hidden pr-2' title={episode.title?.userPreferred}>
|
||||
{#if episode.mediaListEntry?.status}
|
||||
<StatusDot variant={episode.mediaListEntry.status} class='hidden lg:inline-flex' />
|
||||
|
|
@ -5,31 +5,31 @@
|
|||
const items = [
|
||||
{
|
||||
title: 'Player',
|
||||
href: '/settings/'
|
||||
href: '/app/settings/'
|
||||
},
|
||||
{
|
||||
title: 'Torrent',
|
||||
href: '/settings/torrent/'
|
||||
href: '/app/settings/torrent/'
|
||||
},
|
||||
{
|
||||
title: 'Interface',
|
||||
href: '/settings/interface/'
|
||||
href: '/app/settings/interface/'
|
||||
},
|
||||
{
|
||||
title: 'Extensions',
|
||||
href: '/settings/extensions/'
|
||||
href: '/app/settings/extensions/'
|
||||
},
|
||||
{
|
||||
title: 'Accounts',
|
||||
href: '/settings/accounts/'
|
||||
href: '/app/settings/accounts/'
|
||||
},
|
||||
{
|
||||
title: 'App',
|
||||
href: '/settings/app/'
|
||||
href: '/app/settings/app/'
|
||||
},
|
||||
{
|
||||
title: 'Changelog',
|
||||
href: '/settings/changelog/'
|
||||
href: '/app/settings/changelog/'
|
||||
}
|
||||
]
|
||||
</script>
|
||||
BIN
static/confused.webp
Normal file
BIN
static/confused.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.9 MiB |
Loading…
Reference in a new issue