Transfered Content to Library/Content
This commit is contained in:
		
							parent
							
								
									9a630d29da
								
							
						
					
					
						commit
						b21c709873
					
				| @ -17,7 +17,7 @@ export default function LibraryContentPreview( | ||||
|   const item = props.item; | ||||
| 
 | ||||
|   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"> | ||||
|         {item.thumbnail.data ? ( | ||||
|           <Image | ||||
|  | ||||
| @ -30,7 +30,7 @@ export default function ContentIndex(props: ContentIndexProps): JSX.Element { | ||||
|         <HorizontalLine /> | ||||
| 
 | ||||
|         {content.text_set.length > 0 ? ( | ||||
|           <Button href={`/content/${content.slug}/read/`}> | ||||
|           <Button href={`/library/content/${content.slug}/read/`}> | ||||
|             {langui.content_read_content} | ||||
|           </Button> | ||||
|         ) : ( | ||||
| @ -38,7 +38,7 @@ export default function ContentIndex(props: ContentIndexProps): JSX.Element { | ||||
|         )} | ||||
| 
 | ||||
|         {content.audio_set.length > 0 ? ( | ||||
|           <Button href={`/content/${content.slug}/listen/`}> | ||||
|           <Button href={`/library/content/${content.slug}/listen/`}> | ||||
|             {langui.content_listen_content} | ||||
|           </Button> | ||||
|         ) : ( | ||||
| @ -46,7 +46,7 @@ export default function ContentIndex(props: ContentIndexProps): JSX.Element { | ||||
|         )} | ||||
| 
 | ||||
|         {content.video_set.length > 0 ? ( | ||||
|           <Button href={`/content/${content.slug}/watch/`}> | ||||
|           <Button href={`/library/content/${content.slug}/watch/`}> | ||||
|             {langui.content_watch_content} | ||||
|           </Button> | ||||
|         ) : ( | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 DrMint
						DrMint