From cda81ea3870290581613eb99320d5fe576697fb2 Mon Sep 17 00:00:00 2001 From: Priyanshu Maurya Date: Tue, 4 Jul 2023 13:44:36 +0530 Subject: [PATCH] [Bug]: "GO TO SITE" button position fixed, modal bottom space fixed and not-found page image png -> svg for faster loading time --- app/not-found.tsx | 2 +- components/Card.tsx | 2 +- components/Modal.tsx | 4 +- public/page404.png | Bin 69185 -> 0 bytes public/page404.svg | 277 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 281 insertions(+), 4 deletions(-) delete mode 100755 public/page404.png create mode 100644 public/page404.svg diff --git a/app/not-found.tsx b/app/not-found.tsx index 2c34af6..c1444f2 100644 --- a/app/not-found.tsx +++ b/app/not-found.tsx @@ -4,7 +4,7 @@ import { useThemeContext } from "./context/store"; import { useEffect } from "react"; import Link from "next/link"; import Image from "next/image"; -import pageNotFound from "../public/page404.png"; +import pageNotFound from "../public/page404.svg"; export default function NotFound() { // Dark Mode const { theme }: theme = useThemeContext(); diff --git a/components/Card.tsx b/components/Card.tsx index b24936f..5b32836 100644 --- a/components/Card.tsx +++ b/components/Card.tsx @@ -29,7 +29,7 @@ export default function Card({ {description} -
+
{tools || datasets ? (