not-found.tsx 659 B

12345678910111213141516171819
  1. import { EventButton } from '@components/common/button/EventButton';
  2. import NotFoundIcon from '@components/common/icons/NotFoundIcon';
  3. const NotFound = ({ msg }: { msg: string }) => {
  4. return (
  5. <div className="my-12 px-4 flex flex-col flex-wrap items-center justify-center gap-y-4">
  6. <div>
  7. <NotFoundIcon />
  8. </div>
  9. <h1 className="mt-4 font-outfit text-2xl sm:text-3xl lg:text-4xl font-semibold">
  10. Oops!, No products available in this category
  11. </h1>
  12. <p className="text-black/60 dark:text-white">{msg}</p>
  13. <EventButton buttonName="Back to Home" redirect="/" />
  14. </div>
  15. );
  16. };
  17. export default NotFound;