From 3fcd7928da75380452398c92258554e9fc2a717e Mon Sep 17 00:00:00 2001 From: Zeke Abshire Date: Thu, 1 Jun 2023 01:40:54 -0500 Subject: [PATCH] Added a work in progress toast message --- src/pages/_app.tsx | 2 +- src/pages/index.tsx | 15 ++++++++++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx index 9643163..03899d2 100644 --- a/src/pages/_app.tsx +++ b/src/pages/_app.tsx @@ -7,7 +7,7 @@ import "~/styles/globals.css"; const MyApp: AppType = ({ Component, pageProps }) => { return ( - + ); diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 43028cd..5156e19 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -8,9 +8,22 @@ import { Container } from "~/components/Container"; import { Polaroid } from "~/components/Polaroid"; import { ProjectDescription } from "~/components/ProjectDescription"; import { projects } from "~/constants/projects"; -import { MdArrowCircleDown } from "react-icons/md"; +import { MdArrowCircleDown, MdConstruction } from "react-icons/md"; +import { toast } from "react-hot-toast"; const Home: NextPage = () => { + // Show toast message to indicate that we're under development + useEffect(() => { + toast( + "Attention: Early Visitors!\n\nWe're currently in development mode, so please bear with us while we work hard to bring you an amazing experience.", + { + icon: , + duration: Infinity, + className: "border-l-orange border-l-4", + } + ); + }, []); + return ( <>