-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8a63e5f
commit 0ce095c
Showing
11 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
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,33 @@ | ||
import Image from "next/image" | ||
|
||
import useDarkMode from "@/store/ui/darkModeStore" | ||
import { BackToMainButton } from "./components/BackToMainButton" | ||
|
||
export function NoCodeFoundError({ message }: { message?: string }) { | ||
const { isDarkMode } = useDarkMode() | ||
|
||
return ( | ||
<div className="flex flex-col gap-y-4 items-center justify-center"> | ||
<div | ||
className={`w-full h-[35vh] relative ${ | ||
isDarkMode ? "bg-[#0a6624]" : "bg-[#20e959]" | ||
} flex justify-center items-center`}> | ||
<Image | ||
className="w-[200px] laptop:w-[250px] desktop:w-[300px]" | ||
src={ | ||
isDarkMode | ||
? "/errors/no-code-found-to-exchange-cookies-for-session-icon-dark.png" | ||
: "/errors/no-code-found-to-exchange-cookies-for-session-icon-light.png" | ||
} | ||
alt="no-code-found" | ||
width={300} | ||
height={226} | ||
/> | ||
</div> | ||
<p className="text-danger text-center">{message ? message : "No code found to exchange cookies for session"}</p> | ||
<p className="text-center">You might pressed "Cancel" button when continue with google</p> | ||
<p className="text-center">To get support contact us here - {process.env.NEXT_PUBLIC_SUPPORT_EMAIL}</p> | ||
<BackToMainButton /> | ||
</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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+11 KB
public/errors/no-code-found-to-exchange-cookies-for-session-icon-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+11 KB
public/errors/no-code-found-to-exchange-cookies-for-session-icon-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+63.3 KB
public/errors/no-code-found-to-exchange-cookies-for-session-light.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+228 KB
...hange-cookies-for-session/no-code-found-to-excange-cookies-for-session-dark.psd
Binary file not shown.
Binary file added
BIN
+210 KB
...-cookies-for-session/no-code-found-to-excange-cookies-for-session-icon-dark.psd
Binary file not shown.
Binary file added
BIN
+210 KB
...cookies-for-session/no-code-found-to-excange-cookies-for-session-icon-light.psd
Binary file not shown.
Binary file added
BIN
+226 KB
...ange-cookies-for-session/no-code-found-to-excange-cookies-for-session-light.psd
Binary file not shown.