-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: updated error pages 404 and project-not-found in plane deploy (#…
…1885) * dev: custom error messages. * dev: updated next version in yarn.lock * dev: updated project-not-published icon
- Loading branch information
1 parent
2b6deba
commit 10dface
Showing
8 changed files
with
158 additions
and
66 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// next imports | ||
import Image from "next/image"; | ||
|
||
const Custom404Error = () => ( | ||
<div className="relative w-screen min-h-screen h-full flex justify-center items-center py-5"> | ||
<div className="max-w-[700px] space-y-5"> | ||
<div className="flex items-center flex-col gap-3 text-center"> | ||
<div className="relative w-[240px] h-[240px]"> | ||
<Image src={`/404.svg`} layout="fill" alt="404- Page not found" /> | ||
</div> | ||
<div className="text-xl font-medium">Oops! Something went wrong.</div> | ||
<div className="text-sm text-custom-text-200"> | ||
Sorry, the page you are looking for cannot be found. It may have been removed, had its name changed, or is | ||
temporarily unavailable. | ||
</div> | ||
</div> | ||
|
||
<div className="text-center flex justify-center items-center"> | ||
<a | ||
href={`https://app.plane.so/`} | ||
className="transition-all border border-gray-200 bg-gray-50 hover:bg-gray-100 text-gray-700 hover:text-gray-800 cursor-pointer p-1.5 px-2.5 rounded-sm text-sm font-medium hover:scale-105 select-none" | ||
> | ||
Go to your Workspace | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
|
||
export default Custom404Error; |
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,31 @@ | ||
// next imports | ||
import Image from "next/image"; | ||
|
||
const CustomProjectNotPublishedError = () => ( | ||
<div className="relative w-screen min-h-screen h-full flex justify-center items-center py-5"> | ||
<div className="max-w-[700px] space-y-5"> | ||
<div className="flex items-center flex-col gap-3 text-center"> | ||
<div className="relative w-[240px] h-[240px]"> | ||
<Image src={`/project-not-published.svg`} layout="fill" alt="404- Page not found" /> | ||
</div> | ||
<div className="text-xl font-medium"> | ||
Oops! The page you{`'`}re looking for isn{`'`}t live at the moment. | ||
</div> | ||
<div className="text-sm text-custom-text-200"> | ||
If this is your project, login to your workspace to adjust its visibility settings and make it public. | ||
</div> | ||
</div> | ||
|
||
<div className="text-center flex justify-center items-center"> | ||
<a | ||
href={`https://app.plane.so/`} | ||
className="transition-all border border-gray-200 bg-gray-50 hover:bg-gray-100 text-gray-700 hover:text-gray-800 cursor-pointer p-1.5 px-2.5 rounded-sm text-sm font-medium hover:scale-105 select-none" | ||
> | ||
Go to your Workspace | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
|
||
export default CustomProjectNotPublishedError; |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.