mirror of
https://github.com/ramvignesh-b/pi-ku.git
synced 2026-05-04 15:56:56 +00:00
feat: update splash screen elements
This commit is contained in:
@@ -40,7 +40,7 @@ describe("ProtectedRoute", () => {
|
||||
"/protected",
|
||||
);
|
||||
|
||||
expect(screen.getByText(/Unsealing.../i)).toBeInTheDocument();
|
||||
expect(screen.getByText(/Unsealing/i)).toBeInTheDocument();
|
||||
expect(screen.queryByText("Secret")).not.toBeInTheDocument();
|
||||
});
|
||||
|
||||
@@ -90,7 +90,7 @@ describe("PublicRoute", () => {
|
||||
</PublicRoute>,
|
||||
"/public",
|
||||
);
|
||||
expect(screen.getByText(/Unsealing.../i)).toBeInTheDocument();
|
||||
expect(screen.getByText(/Unsealing/i)).toBeInTheDocument();
|
||||
expect(screen.queryByText("Login Page")).not.toBeInTheDocument();
|
||||
});
|
||||
|
||||
|
||||
@@ -6,11 +6,17 @@ export default function SplashScreen() {
|
||||
<div className="fixed w-screen h-screen inset-0 bg-base-100 flex flex-col items-center justify-center z-9999">
|
||||
<div className="flex flex-col items-center gap-6 animate-pulse">
|
||||
<Logo />
|
||||
|
||||
<div className="flex flex-col items-center gap-2">
|
||||
<EnvelopeOpenIcon weight="duotone" fill="primary" size={12} />
|
||||
<span className="loading loading-ring loading-lg text-primary" />
|
||||
<p className="text-xs uppercase font-sans tracking-widest opacity-40">
|
||||
Unsealing...
|
||||
<EnvelopeOpenIcon
|
||||
weight="thin"
|
||||
className={"absolute text-primary/50"}
|
||||
size={40}
|
||||
/>
|
||||
<span className="loading loading-ring loading-xl text-primary"></span>
|
||||
...
|
||||
<p className="text-xs uppercase font-sans tracking-[1em] opacity-40">
|
||||
Unsealing
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user