summaryrefslogtreecommitdiff
path: root/components/common/loading/loading.tsx
blob: d5345ba3f958a88bc7e8d400d4e394e71a2a1248 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import Animation from "./animation";

export default function Loading({message}: {message: string}) {
  return (
    <>
      <div className="container relative flex h-screen flex-col items-center justify-center">
        <div className="flex items-center space-x-2">
          <span className="text-md font-bold">eVCP</span>
        </div>
        <div>
          <Animation />
        </div>
        <div className="mt-4 text-sm text-muted-foreground">{message}</div>
      </div>
    </>
  );
}