-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
df36fd0
commit c4cc65c
Showing
4 changed files
with
86 additions
and
50 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<template> | ||
<q-btn | ||
no-caps | ||
unelevated | ||
:rounded="!$q.screen.lt.md" | ||
:round="$q.screen.lt.md" | ||
:disable="!nextEpisode" | ||
:to="nextEpisode?.value.route" | ||
:replace="APP_STANDALONE" | ||
> | ||
<template v-if="$q.screen.lt.md"> | ||
<i-solar-alt-arrow-left-line-duotone v-if="rtl" class="size-1.8em" /> | ||
<i-solar-alt-arrow-right-line-duotone v-else class="size-1.8em" /> | ||
</template> | ||
<template v-else>{{ $t("sau") }}</template> | ||
<q-tooltip | ||
anchor="bottom middle" | ||
self="top middle" | ||
class="bg-dark text-14px text-weight-medium" | ||
transition-show="jump-up" | ||
transition-hide="jump-down" | ||
>{{ $t("chuong-sau-name", [nextEpisode?.value.name]) }}</q-tooltip | ||
> | ||
</q-btn> | ||
</template> | ||
<script lang="ts" setup> | ||
import type { Chapter } from "raiku-pgs/plugin" | ||
import { APP_STANDALONE } from "src/constants" | ||
defineProps<{ | ||
nextEpisode?: { | ||
readonly index: number | ||
readonly value: Chapter | ||
} | ||
rtl?: boolean | ||
}>() | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<template> | ||
<q-btn | ||
no-caps | ||
unelevated | ||
:rounded="!$q.screen.lt.md" | ||
:round="$q.screen.lt.md" | ||
:disable="!prevEpisode" | ||
:to="prevEpisode?.value.route" | ||
:replace="APP_STANDALONE" | ||
> | ||
<template v-if="$q.screen.lt.md"> | ||
<i-solar-alt-arrow-right-line-duotone v-if="rtl" class="size-1.8em" /> | ||
<i-solar-alt-arrow-left-line-duotone v-else class="size-1.8em" /> | ||
</template> | ||
<template v-else>{{ $t("truoc") }}</template> | ||
<q-tooltip | ||
anchor="bottom middle" | ||
self="top middle" | ||
class="bg-dark text-14px text-weight-medium" | ||
transition-show="jump-up" | ||
transition-hide="jump-down" | ||
>{{ $t("chuong-truoc-name", [prevEpisode?.value.name]) }}</q-tooltip | ||
> | ||
</q-btn> | ||
</template> | ||
<script lang="ts" setup> | ||
import type { Chapter } from "raiku-pgs/plugin" | ||
import { APP_STANDALONE } from "src/constants" | ||
defineProps<{ | ||
prevEpisode?: { | ||
readonly index: number | ||
readonly value: Chapter | ||
} | ||
rtl?: boolean | ||
}>() | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters