chore: better Prettier config for easier reviews

This commit is contained in:
2023-10-23 23:33:39 +02:00
parent a8781724d4
commit 71ea41695f
209 changed files with 4093 additions and 4114 deletions

View File

@ -1,5 +1,5 @@
import Link from 'next/link'
import classNames from 'clsx'
import Link from "next/link"
import classNames from "clsx"
export interface IconLinkProps {
selected?: boolean
@ -9,27 +9,27 @@ export interface IconLinkProps {
}
export const IconLink: React.FC<React.PropsWithChildren<IconLinkProps>> = (
props
props,
) => {
const { children, selected, href, title, className } = props
return (
<Link
href={href}
className='group relative flex w-full justify-center'
className="group relative flex w-full justify-center"
title={title}
>
<div
className={classNames('group flex w-full justify-center', className)}
className={classNames("group flex w-full justify-center", className)}
>
{children}
<div className='absolute left-0 flex h-12 w-3 items-center'>
<div className="absolute left-0 flex h-12 w-3 items-center">
<span
className={classNames(
'absolute w-4/12 rounded-r-lg bg-green-700 group-hover:h-5',
"absolute w-4/12 rounded-r-lg bg-green-700 group-hover:h-5",
{
'h-full': selected
}
"h-full": selected,
},
)}
></span>
</div>

View File

@ -1 +1 @@
export * from './IconLink'
export * from "./IconLink"