fix:landing
This commit is contained in:
parent
bcd14fdef0
commit
f7165883dd
|
|
@ -203,7 +203,7 @@ export default function HeaderNews() {
|
||||||
key={data?.id}
|
key={data?.id}
|
||||||
className="hidden lg:block"
|
className="hidden lg:block"
|
||||||
>
|
>
|
||||||
{textEllipsis(data.title, 66)}
|
{data.title}
|
||||||
</Link>
|
</Link>
|
||||||
<div className="flex flex-row gap-2 text-[10px]">
|
<div className="flex flex-row gap-2 text-[10px]">
|
||||||
<p className="py-[2px]">
|
<p className="py-[2px]">
|
||||||
|
|
@ -308,9 +308,12 @@ export default function HeaderNews() {
|
||||||
<Link
|
<Link
|
||||||
href={`news/detail/${newsItem.id}-${newsItem?.slug}`}
|
href={`news/detail/${newsItem.id}-${newsItem?.slug}`}
|
||||||
>
|
>
|
||||||
<p className="text-left font-semibold text-lg lg:text-2xl">
|
<p className="lg:hidden text-left font-semibold text-lg lg:text-2xl">
|
||||||
{textEllipsis(newsItem.title, 40)}
|
{textEllipsis(newsItem.title, 40)}
|
||||||
</p>
|
</p>
|
||||||
|
<p className="hidden lg:block text-left font-semibold text-lg lg:text-2xl">
|
||||||
|
{textEllipsis(newsItem.title, 100)}
|
||||||
|
</p>
|
||||||
</Link>
|
</Link>
|
||||||
<div className="flex flex-row gap-1">
|
<div className="flex flex-row gap-1">
|
||||||
<p className="py-[2px] text-left text-sm">
|
<p className="py-[2px] text-left text-sm">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue