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:
Ichsan Kurniawan
2026-01-28 19:27:03 +07:00
parent 946b5d8b61
commit c1b41f0718
6 changed files with 14 additions and 12 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ export default async function HATsTeamPage() {
<div className="flex items-center gap-4 sm:p-8 pt-6 px-6">
<div>
<h1 className="text-lg sm:text-3xl font-medium tracking-tight capitalize">H.A.T.s Team</h1>
<p className="text-xs md:text-base text-muted-foreground sm:mt-1">Get to know the Team behind this application.</p>
<p className="text-xs md:text-base text-muted-foreground sm:mt-1 lg:w-7/12">All H.I.S employees have contributed to improving and developing this application, but the team below was most directly involved in its development. Get to know the team behind this application.</p>
</div>
</div>
+1 -1
View File
@@ -17,7 +17,7 @@ interface ReleaseNote {
const releaseNotes: ReleaseNote[] = [
{
version: "v1.1.0",
date: "25 December 2025",
date: "28 January 2026",
type: "minor",
changes: [
{ category: 'breaking', description: <div>Fixing Critical Security Vulnerability (React2Shell Security <Link href='https://www.cve.org/CVERecord?id=CVE-2025-55182' className="underline text-blue-500">CVE-2025-55182</Link>) in React Server Components. Please see this <Link href='https://react.dev/blog/2025/12/03/critical-security-vulnerability-in-react-server-components' className="underline text-blue-500"> React blog</Link> and this <Link href='https://vercel.com/kb/bulletin/react2shell' className="underline text-blue-500">Next.js bulletin</Link> to learn more about these vulnerabilities (December 3, 2025).</div> },
+1 -8
View File
@@ -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>
);
}
+10 -1
View File
@@ -1,7 +1,16 @@
{
"name": "hats-app",
"version": "0.1.0",
"description": "H.I.S Super Apps (smart absence, task management, work permit and leave mangement, etc).",
"version": "1.1.0",
"private": true,
"author": "ichsankurnia",
"repository": {
"type": "git",
"url": "git+https://github.com/ichsankurnia/his-super-apps.git"
},
"bugs": {
"url": "https://github.com/ichsankurnia/his-super-apps/issues"
},
"scripts": {
"dev": "next dev -p 1209",
"dev:save": "set NODE_TLS_REJECT_UNAUTHORIZED='0' && next dev -p 1209",
+1 -1
View File
@@ -13,7 +13,7 @@ export const config = {
* 6. /favicon.ico, /sitemap.xml (static files)
* 7. /auth page
*/
"/((?!api/|_next/|_proxy/|_static|_vercel|auth|terms|privacy-policy|not-found|avatars/|assets/|files/|admin/sourceMap/chrome/css/|admin/administration/sourceMap/chrome/css/|firebase-messaging-sw.js|favicon.ico|sitemap.xml).*)",
"/((?!api/|_next/|_proxy/|_static|_vercel|auth|terms|privacy-policy|hats-team|release-notes|not-found|avatars/|assets/|files/|admin/sourceMap/chrome/css/|admin/administration/sourceMap/chrome/css/|firebase-messaging-sw.js|favicon.ico|sitemap.xml).*)",
],
// matcher: [
// "/",
Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB