Skip to content

Commit

Permalink
Add Connecting component
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Nechaev authored and sergeynechaev committed Feb 14, 2023
1 parent 9b01cf4 commit 1e4b509
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
20 changes: 20 additions & 0 deletions legacy/src/app/Marine2/components/ui/Connecting/Connecting.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import React from "react"
import { translate } from "react-i18nify"
import Spinner from "../Spinner"

const Connecting = () => {
return (
<div className="w-full h-full flex flex-col items-center justify-center bg-victron-darkGray border-4 border-victron-blue rounded-md">
<div className="flex flex-col text-center">
<div className="pl-4">
<Spinner />
</div>
<div className="relative mt-28">
<div className="text-2xl text-victron-blue">{translate("header.connecting")}...</div>
</div>
</div>
</div>
)
}

export default Connecting
2 changes: 2 additions & 0 deletions legacy/src/app/Marine2/components/ui/Connecting/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export { default } from "./Connecting"
export * from "./Connecting"

0 comments on commit 1e4b509

Please sign in to comment.