Files
plane/space/ee/components/pages/error.tsx
Aaryan Khandelwal 4537b9c580 [WEB-1397] feat: page publish (#432)
* dev: workspace and project publish endpoints

* dev: update folder structure to match the global structure

* dev: add anchor to workspace and project pages

* dev: formatting errors

* dev: add public endpoint for pages

* dev: publish workflow added

* dev: update settings endpoint

* dev: space app pages

* chore: issue embeds in page publish

* fix: page not updating

* dev: added issue embed

* chore: separate edition specific code

* chore: update issue embed component

* refactor: space app pages store

* chore: issue embed error

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
2024-06-19 18:24:46 +05:30

18 lines
735 B
TypeScript

import Image from "next/image";
// assets
import SomethingWentWrongImage from "@/public/something-went-wrong.svg";
export const PageDetailsError = () => (
<div className="h-screen w-screen grid place-items-center p-6">
<div className="text-center">
<div className="mx-auto grid h-52 w-52 place-items-center rounded-full bg-custom-background-80">
<div className="grid h-32 w-32 place-items-center">
<Image src={SomethingWentWrongImage} alt="Oops! Something went wrong" />
</div>
</div>
<h1 className="mt-12 text-3xl font-semibold">Oops! Something went wrong.</h1>
<p className="mt-4 text-custom-text-300">The page does not exist. Please check the URL.</p>
</div>
</div>
);