-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from otentikapp/develop
Add Countdown Timer Indicator
- Loading branch information
Showing
22 changed files
with
134 additions
and
173 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { ArrowPathIcon } from '@heroicons/react/24/outline' | ||
import { useStores } from '../stores/stores' | ||
|
||
export const RefreshButton = () => { | ||
const setForceFetch = useStores((state) => state.setForceFetch) | ||
|
||
return ( | ||
<div className="absolute top-0 right-0 z-10 flex h-14 items-center px-4"> | ||
<div className="relative"> | ||
<div> | ||
<button | ||
className="-mr-1 flex cursor-pointer items-center justify-center rounded-md p-1.5 outline-none hover:bg-gray-700" | ||
onClick={() => setForceFetch(true)} | ||
> | ||
<ArrowPathIcon className="h-6 w-6 text-white" /> | ||
</button> | ||
</div> | ||
</div> | ||
</div> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
import { ShieldExclamationIcon } from '@heroicons/react/24/outline' | ||
import { ExitButton } from '../components/ExitButton' | ||
|
||
export const ErrorScreen = ({ message }: { message: string }) => { | ||
return ( | ||
<div className="relative inset-0 z-10 mt-14 h-[544px] bg-gray-50 transition-opacity"> | ||
<div className="flex h-full w-full items-center justify-center"> | ||
<div> | ||
<ShieldExclamationIcon className="mx-auto h-14 w-14 text-gray-500" /> | ||
<p className="my-6 text-center text-sm font-medium text-gray-700">{message || 'Something wrong :-('}</p> | ||
<> | ||
<ExitButton /> | ||
<div className="relative inset-0 z-10 mt-14 h-[544px] bg-gray-50 transition-opacity"> | ||
<div className="flex h-full w-full items-center justify-center"> | ||
<div> | ||
<ShieldExclamationIcon className="mx-auto h-14 w-14 text-gray-500" /> | ||
<p className="my-6 text-center text-sm font-medium text-gray-700">{message || 'Something wrong :-('}</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</> | ||
) | ||
} |
Oops, something went wrong.