Transfered Content to Library/Content

This commit is contained in:
DrMint 2022-02-16 17:12:34 +01:00
parent 9a630d29da
commit b21c709873
3 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ export default function LibraryContentPreview(
const item = props.item; const item = props.item;
return ( return (
<Link href={"/library/media/" + item.slug} passHref> <Link href={"/library/content/" + item.slug} passHref>
<div className="drop-shadow-dark-xl cursor-pointer grid items-end hover:rounded-3xl [--cover-opacity:0] hover:[--cover-opacity:1] hover:scale-[1.02] transition-transform"> <div className="drop-shadow-dark-xl cursor-pointer grid items-end hover:rounded-3xl [--cover-opacity:0] hover:[--cover-opacity:1] hover:scale-[1.02] transition-transform">
{item.thumbnail.data ? ( {item.thumbnail.data ? (
<Image <Image

View File

@ -30,7 +30,7 @@ export default function ContentIndex(props: ContentIndexProps): JSX.Element {
<HorizontalLine /> <HorizontalLine />
{content.text_set.length > 0 ? ( {content.text_set.length > 0 ? (
<Button href={`/content/${content.slug}/read/`}> <Button href={`/library/content/${content.slug}/read/`}>
{langui.content_read_content} {langui.content_read_content}
</Button> </Button>
) : ( ) : (
@ -38,7 +38,7 @@ export default function ContentIndex(props: ContentIndexProps): JSX.Element {
)} )}
{content.audio_set.length > 0 ? ( {content.audio_set.length > 0 ? (
<Button href={`/content/${content.slug}/listen/`}> <Button href={`/library/content/${content.slug}/listen/`}>
{langui.content_listen_content} {langui.content_listen_content}
</Button> </Button>
) : ( ) : (
@ -46,7 +46,7 @@ export default function ContentIndex(props: ContentIndexProps): JSX.Element {
)} )}
{content.video_set.length > 0 ? ( {content.video_set.length > 0 ? (
<Button href={`/content/${content.slug}/watch/`}> <Button href={`/library/content/${content.slug}/watch/`}>
{langui.content_watch_content} {langui.content_watch_content}
</Button> </Button>
) : ( ) : (