@ -2,7 +2,7 @@
|
||||
import type { RawArticle } from "@/lib/data"
|
||||
import Breadcrumb from "@/components/Breadcrumb.astro"
|
||||
import { getI18n } from "@/i18n/utils"
|
||||
import { href, PATH } from '@/lib/routes'
|
||||
import { href, ROUTES } from '@/lib/routes'
|
||||
import { ssrBase } from "@/lib/api"
|
||||
|
||||
interface Props {
|
||||
@ -32,8 +32,8 @@ const descParas = (article?.description || "")
|
||||
.map((s) => s.trim())
|
||||
.filter(Boolean)
|
||||
|
||||
const homeHref = href(locale, PATH.home)
|
||||
const archiveHref = href(locale, PATH.shows)
|
||||
const homeHref = href(locale, ROUTES.home)
|
||||
const archiveHref = href(locale, ROUTES.shows)
|
||||
|
||||
const crumbs: { label: string; href: string }[] = [
|
||||
// {
|
||||
@ -58,11 +58,11 @@ if (article?.brand_id) {
|
||||
{
|
||||
article ? (
|
||||
<article class="mx-auto max-w-[1600px] px-5 md:px-10 py-12 md:py-16">
|
||||
<Breadcrumb items={crumbs}>
|
||||
{/* <Breadcrumb items={crumbs}>
|
||||
<span slot="current" class="max-w-[60vw] truncate">
|
||||
{article.title}
|
||||
</span>
|
||||
</Breadcrumb>
|
||||
</Breadcrumb> */}
|
||||
|
||||
<h1 class="font-black leading-[0.95] tracking-tight text-[10vw] md:text-[4.5rem] mt-8">
|
||||
{article.title}
|
||||
|
||||
Reference in New Issue
Block a user