improve: menu category items, add gradient border like design
This commit is contained in:
@@ -8,7 +8,7 @@ type Props = {
|
|||||||
|
|
||||||
function CategoryItemRenderer({ children, ...rest }: Props) {
|
function CategoryItemRenderer({ children, ...rest }: Props) {
|
||||||
return (
|
return (
|
||||||
<div className={`${rest.className} cursor-pointer transition-all duration-200 ease-out border-2 border-solid border-white overflow-hidden rounded-xl backdrop-blur-md bg-white/40`}>
|
<div className={`${rest.className} cursor-pointer transition-all duration-200 ease-out gradient-border overflow-hidden rounded-xl backdrop-blur-md bg-white/40`}>
|
||||||
<div
|
<div
|
||||||
{...rest}
|
{...rest}
|
||||||
className="rounded-normal w-[88px] h-[88px] flex flex-col justify-center items-center gap-2"
|
className="rounded-normal w-[88px] h-[88px] flex flex-col justify-center items-center gap-2"
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ type Props = {
|
|||||||
|
|
||||||
function CategorySmallItemRenderer({ children, ...rest }: Props) {
|
function CategorySmallItemRenderer({ children, ...rest }: Props) {
|
||||||
return (
|
return (
|
||||||
<div className={`${rest.className} cursor-pointer transition-all duration-200 ease-out border-2 border-solid border-white overflow-hidden rounded-xl backdrop-blur-md bg-white/40`}>
|
<div className={`${rest.className} cursor-pointer transition-all duration-200 ease-out gradient-border overflow-hidden rounded-xl backdrop-blur-md bg-white/40`}>
|
||||||
<div
|
<div
|
||||||
{...rest}
|
{...rest}
|
||||||
className="rounded-normal h-[44px] flex flex-row justify-center items-center p-2.5 gap-2"
|
className="rounded-normal h-[44px] flex flex-row justify-center items-center p-2.5 gap-2"
|
||||||
|
|||||||
Reference in New Issue
Block a user