mirror of
https://github.com/ichsankurnia/hats-app.git
synced 2026-12-05 11:06:29 +00:00
Update loader image to webp and update app metadata
Replaced the loader animation from GIF to WEBP for improved performance. Updated the HATs Team page description and corrected the release note date. Enhanced package.json with project metadata and incremented version to 1.1.0. Adjusted proxy matcher to exclude hats-team and release-notes routes.
This commit is contained in:
@@ -11,16 +11,9 @@ const PageLoading: FC<Props> = ({ title, className }) => {
|
||||
return (
|
||||
<div className={cn('absolute inset-0 w-full h-full bg-soft dark:bg-zinc-950 bg-opacity-40 backdrop-blur-sm rounded-2xl z-50 flex justify-center items-center flex-col', className)}>
|
||||
{/* <img alt="anim" loading="lazy" src="/assets/LOGO_HIS_NI_ANIM_400px.gif" className="w-16 h-16 md:w-28 md:h-28 2xl:w-44 2xl:h-44" /> */}
|
||||
<Image alt='anim' src="/assets/LOGO_HIS_NI_ANIM_400px.gif" width={0} height={0} className="w-16 h-16 md:w-28 md:h-28 2xl:w-44 2xl:h-44" unoptimized />
|
||||
<Image alt='anim' src="/assets/LOGO_HIS_NI_ANIM_400px.webp" width={0} height={0} className="w-16 h-16 md:w-28 md:h-28 2xl:w-44 2xl:h-44" unoptimized />
|
||||
{/* <span className="relative inset-0 inline-flex h-8 w-8 animate-spin items-center justify-center rounded-full border-4 border-zinc-500 dark:border-zinc-400 after:absolute after:h-11 after:w-11 after:rounded-full after:border-4 after:border-y-his dark:after:border-y-his after:border-x-transparent"></span> */}
|
||||
<span className="animate-pulse text-sm md:text-base 2xl:text-xl font-semibold text-muted-foreground">{title || 'Please wait..'}</span>
|
||||
{/* <div className="rounded-full border border-border p-2">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" className="icon icon-tabler icon-tabler-terminal animate-pulse" width="36" height="36" viewBox="0 0 24 24" strokeWidth="2" stroke="currentColor" fill="none" strokeLinecap="round" strokeLinejoin="round">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
||||
<path d="M5 7l5 5l-5 5"></path>
|
||||
<path d="M12 19l7 0"></path>
|
||||
</svg>
|
||||
</div> */}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user