Revert "build: bumped next version from 12.2.2 to 13"

This commit is contained in:
Vamsi Kurama 2022-12-01 03:09:33 +05:30 committed by GitHub
parent 38c4d8e708
commit 90243685cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 1760 additions and 1484 deletions

View file

@ -36,14 +36,13 @@ const BreadcrumbItem: React.FC<BreadcrumbItemProps> = ({ title, link, icon }) =>
return (
<>
{link ? (
<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 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>
) : (
<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,12 +35,11 @@ const EmptySpace: React.FC<EmptySpaceProps> = ({ title, description, children, I
</ul>
{link ? (
<div className="mt-6 flex">
<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 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>
</div>
) : null}