glass mode

This commit is contained in:
hamid zarghami
2026-06-21 12:58:29 +03:30
parent d3ef8e1a98
commit b5653906dc
17 changed files with 325 additions and 211 deletions
@@ -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"