glass mode
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
'use client';
|
||||
|
||||
import { glassSurface } from '@/lib/styles/glassSurface';
|
||||
import React from 'react';
|
||||
|
||||
type Props = {
|
||||
@@ -8,7 +9,7 @@ type Props = {
|
||||
|
||||
function CategoryItemRenderer({ children, ...rest }: Props) {
|
||||
return (
|
||||
<div className={`${rest.className} cursor-pointer transition-all duration-200 ease-out gradient-border overflow-hidden rounded-xl backdrop-blur-md bg-container/40`}>
|
||||
<div className={glassSurface(rest.className, 'cursor-pointer transition-all duration-200 ease-out overflow-hidden rounded-xl')}>
|
||||
<div
|
||||
{...rest}
|
||||
className="rounded-normal w-[108px] h-[88px] flex flex-col justify-center items-center gap-2"
|
||||
|
||||
Reference in New Issue
Block a user