Merge branch 'dev-sabda-v2' into 'main'
fix:href link in card filter See merge request hanifsalafi/mediahub_redesign!1
This commit is contained in:
commit
8b5b6aa64e
|
|
@ -243,7 +243,7 @@ export default function FilterAudioComponent(props: {
|
|||
{newContent?.map((audio: any) => (
|
||||
<CarouselItem key={audio?.id} className="md:basis-1/2 lg:basis-1/3">
|
||||
<Link
|
||||
href={`${prefixPath}/${audio?.slug}`}
|
||||
href={`${prefixPath}${audio?.slug}`}
|
||||
// href={prefixPath + `/audio/detail/${audio?.slug}`}
|
||||
// onClick={() =>
|
||||
// router.push(prefixPath + `/audio/detail/${audio?.slug}`)
|
||||
|
|
|
|||
|
|
@ -214,7 +214,7 @@ export default function FilterDocumentComponent(props: {
|
|||
{newContent?.map((text: any) => (
|
||||
<CarouselItem key={text?.id} className="md:basis-1/2 lg:basis-1/3">
|
||||
<Link
|
||||
href={`${prefixPath}/${text?.slug}`}
|
||||
href={`${prefixPath}${text?.slug}`}
|
||||
// href={prefixPath + `/document/detail/${text?.slug}`}
|
||||
// onClick={() =>
|
||||
// router.push(prefixPath + `/document/detail/${text?.slug}`)
|
||||
|
|
|
|||
|
|
@ -200,7 +200,7 @@ export default function FilterImageComponent(props: {
|
|||
{newContent?.map((image: any) => (
|
||||
<CarouselItem key={image?.id} className="md:basis-1/2 lg:basis-1/3">
|
||||
<Link
|
||||
href={`${prefixPath}/${image?.slug}`}
|
||||
href={`${prefixPath}${image?.slug}`}
|
||||
// onClick={() =>
|
||||
// router.push(prefixPath + `/image/detail/${image?.slug}`)
|
||||
// }
|
||||
|
|
|
|||
|
|
@ -161,7 +161,7 @@ export default function FilterVideoComponent(props: {
|
|||
{newContent?.map((video: any) => (
|
||||
<CarouselItem key={video?.id} className="md:basis-1/2 lg:basis-1/3">
|
||||
<Link
|
||||
href={`${prefixPath}/${video?.slug}`}
|
||||
href={`${prefixPath}${video?.slug}`}
|
||||
// href={prefixPath + `/video/detail/${video?.slug}`}
|
||||
// onClick={() =>
|
||||
// router.push(prefixPath + `/video/detail/${video?.slug}`)
|
||||
|
|
|
|||
Loading…
Reference in New Issue