mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
3c2f5d12ed
* chore: add next theme and initial setup * chore: add dark mode colors to layouts * chore: user general setting page theming * chore: dashboard theming * chore: project page theming * chore: workspace setting page theming * chore: my issue page theming * chore: cmdk theming * chore: change hardcode bg and text color to theme * chore: change color name according to the design * style: fix card in the dashboard * style: fix merge conflict design issues * style: add light high contrast and dark high contrast * style: fix cmd k menu color and selection * feat: change theme from cmdk menu * chore: add multiple theme field to custom theme * chore: removed custom theming * fix: build error --------- Co-authored-by: Saheb Giri <iamsahebgiri@gmail.com>
45 lines
1.3 KiB
TypeScript
45 lines
1.3 KiB
TypeScript
import React from "react";
|
|
|
|
import Link from "next/link";
|
|
import Image from "next/image";
|
|
|
|
// layouts
|
|
import DefaultLayout from "layouts/default-layout";
|
|
// ui
|
|
import { SecondaryButton } from "components/ui";
|
|
// images
|
|
import Image404 from "public/404.svg";
|
|
// types
|
|
import type { NextPage } from "next";
|
|
|
|
const PageNotFound: NextPage = () => (
|
|
<DefaultLayout
|
|
meta={{
|
|
title: "Plane - Page Not Found",
|
|
description: "Page Not Found",
|
|
}}
|
|
>
|
|
<div className="grid h-full place-items-center p-4">
|
|
<div className="space-y-8 text-center">
|
|
<div className="relative mx-auto h-60 w-60 lg:h-80 lg:w-80">
|
|
<Image src={Image404} layout="fill" alt="404- Page not found" />
|
|
</div>
|
|
<div className="space-y-2">
|
|
<h3 className="text-lg font-semibold">Oops! Something went wrong.</h3>
|
|
<p className="text-sm text-brand-secondary">
|
|
Sorry, the page you are looking for cannot be found. It may have been removed, had its
|
|
name changed, or is temporarily unavailable.
|
|
</p>
|
|
</div>
|
|
<Link href="/">
|
|
<a className="block">
|
|
<SecondaryButton size="md">Go to Home</SecondaryButton>
|
|
</a>
|
|
</Link>
|
|
</div>
|
|
</div>
|
|
</DefaultLayout>
|
|
);
|
|
|
|
export default PageNotFound;
|