feat: add KAJIAN section to news page and update content structure

This commit is contained in:
fredy.siswanto
2025-03-02 12:15:31 +07:00
parent 4aa6c8d0d4
commit aaba207165
4 changed files with 43 additions and 185 deletions
+4 -3
View File
@@ -4,13 +4,14 @@ import { Breadcrumb } from '~/components/ui/breadcrumb'
import { Card } from '~/components/ui/card'
import { CarouselSection } from '~/components/ui/carousel-section'
import { IconsSocial } from '~/components/ui/social-share'
import { BERITA } from '~/data/contents'
import { BERITA, CONTENT } from './data'
import { CONTENT } from './data'
export const NewsDetailPage = () => {
const { title, content, featured, slug, author, date, tags } = CONTENT
return (
<div className="relative mx-5 sm:mx-10">
<div className="sm-max:mx-5 relative">
<Card>
<div className="py-5 sm:px-30">
<Breadcrumb slug={slug} />
@@ -80,7 +81,7 @@ export const NewsDetailPage = () => {
</div>
</Card>
<Card className="hidden sm:block">
<Card className="bg-white p-5 max-sm:hidden">
<CarouselSection {...BERITA} />
</Card>
</div>