fix: bugs in ladning and icon tenant setting

This commit is contained in:
Sabda Yagra 2026-03-09 12:19:53 +07:00
parent 24b44a491a
commit 7a9656714e
2 changed files with 107 additions and 108 deletions

View File

@ -208,7 +208,7 @@ function TenantSettingsContentTable() {
</p> </p>
</div> </div>
<div className="flex items-center gap-2"> <div className="flex items-center gap-2">
<SettingsIcon className="h-6 w-6 text-gray-500" /> {/* <SettingsIcon className="h-6 w-6 text-gray-500" /> */}
{/* <Button variant="outline" size="sm" onClick={checkWorkflowStatus}> {/* <Button variant="outline" size="sm" onClick={checkWorkflowStatus}>
Check Workflow Status Check Workflow Status
</Button> */} </Button> */}

View File

@ -137,8 +137,8 @@ export default function Header() {
}, [bookmarkedIds]); }, [bookmarkedIds]);
return ( return (
<RevealR>
<section className="max-w-[1350px] mx-auto px-4"> <section className="max-w-[1350px] mx-auto px-4">
<RevealR>
<div className="flex flex-col lg:flex-row gap-6 py-6"> <div className="flex flex-col lg:flex-row gap-6 py-6">
{data.length > 0 && ( {data.length > 0 && (
<Card <Card
@ -150,7 +150,6 @@ export default function Header() {
} }
/> />
)} )}
<div className="grid grid-cols-1 sm:grid-cols-2 gap-4 w-full"> <div className="grid grid-cols-1 sm:grid-cols-2 gap-4 w-full">
{data.slice(1, 5).map((item) => ( {data.slice(1, 5).map((item) => (
<Card <Card
@ -164,6 +163,7 @@ export default function Header() {
))} ))}
</div> </div>
</div> </div>
</RevealR>
<div className="relative w-full h-48 sm:h-64 md:h-80 lg:h-[460px] mt-4 rounded-xl overflow-hidden"> <div className="relative w-full h-48 sm:h-64 md:h-80 lg:h-[460px] mt-4 rounded-xl overflow-hidden">
<Swiper <Swiper
@ -201,7 +201,6 @@ export default function Header() {
</Swiper> </Swiper>
</div> </div>
</section> </section>
</RevealR>
); );
} }
@ -311,7 +310,7 @@ function Card({
}; };
return ( return (
<RevealL> // <RevealL>
<div <div
className={`rounded-xl overflow-hidden shadow hover:shadow-lg transition-all bg-white dark:bg-black dark:border dark:border-slate-50 ${ className={`rounded-xl overflow-hidden shadow hover:shadow-lg transition-all bg-white dark:bg-black dark:border dark:border-slate-50 ${
isBig isBig
@ -396,7 +395,7 @@ function Card({
</div> </div>
</div> </div>
</div> </div>
</RevealL> // </RevealL>
); );
} }