- Enhanced the CardInfos component in [cod].tsx with improved styling and added TrafficCone icon for status indication. - Increased dialog content width in prezziario.tsx and testi-stringhe.tsx for better layout. - Replaced static badge elements with the Badge component in chi-siamo.tsx, contatti.tsx, guida.tsx, prezzi.tsx, and proprietari.tsx for consistent styling. - Updated button components to use the Button component in contatti.tsx and proprietari.tsx for improved accessibility and styling. - Modified the TrovaCasaCTA and FrequentSearches components in index.tsx for better visual consistency and updated color usage. - Refactored global CSS variables for improved color management and added new color variables for better theme support. - Implemented dynamic loading for the KabanExample component in test.tsx to enhance performance.
11 lines
447 B
TypeScript
11 lines
447 B
TypeScript
"use client";
|
|
import { ASvg } from "~/components/svgs";
|
|
|
|
export const LoadingPage = () => {
|
|
return (
|
|
<div className="flex h-full max-h-full w-full animate-pulse items-center justify-center py-20">
|
|
<div className="relative flex size-40 animate-spin items-center justify-center rounded-full border-8 border-muted-foreground border-t-red-400 text-4xl text-red-400"></div>
|
|
<ASvg className="-translate-y-2 absolute size-24" />
|
|
</div>
|
|
);
|
|
};
|