build: upgraded next version from 12.2.2 to 13

This commit is contained in:
venkatesh-soulpage 2022-12-01 01:06:28 +05:30
parent c35ac50c7e
commit fd7f892893
26 changed files with 1484 additions and 1760 deletions

View file

@ -36,13 +36,14 @@ const BreadcrumbItem: React.FC<BreadcrumbItemProps> = ({ title, link, icon }) =>
return (
<>
{link ? (
<Link href={link}>
<a className="bg-indigo-50 hover:bg-indigo-100 duration-300 px-4 py-1 rounded-tl-lg rounded-tr-md rounded-br-lg rounded-bl-md skew-x-[-20deg] text-sm text-center">
<p className={`skew-x-[20deg] ${icon ? "flex items-center gap-2" : ""}`}>
{icon ?? null}
{title}
</p>
</a>
<Link
href={link}
className="bg-indigo-50 hover:bg-indigo-100 duration-300 px-4 py-1 rounded-tl-lg rounded-tr-md rounded-br-lg rounded-bl-md skew-x-[-20deg] text-sm text-center"
>
<p className={`skew-x-[20deg] ${icon ? "flex items-center gap-2" : ""}`}>
{icon ?? null}
{title}
</p>
</Link>
) : (
<div className="bg-indigo-50 px-4 py-1 rounded-tl-lg rounded-tr-md rounded-br-lg rounded-bl-md skew-x-[-20deg] text-sm text-center">

View file

@ -35,11 +35,12 @@ const EmptySpace: React.FC<EmptySpaceProps> = ({ title, description, children, I
</ul>
{link ? (
<div className="mt-6 flex">
<Link href={link.href}>
<a className="text-sm font-medium text-indigo-600 hover:text-indigo-500">
{link.text}
<span aria-hidden="true"> &rarr;</span>
</a>
<Link
href={link.href}
className="text-sm font-medium text-indigo-600 hover:text-indigo-500"
>
{link.text}
<span aria-hidden="true"> &rarr;</span>
</Link>
</div>
) : null}