From c76c4e86faf7a7a1fbb66a17f9a375968815ad6f Mon Sep 17 00:00:00 2001 From: Nambh34 Date: Wed, 26 Jun 2024 13:38:21 +0700 Subject: [PATCH] fixing contacts --- package.json | 1 + src/pages/_app.tsx | 3 ++ src/pages/contact.tsx | 65 ++++++++++++++++++++++++++++--------------- yarn.lock | 12 ++++++++ 4 files changed, 58 insertions(+), 23 deletions(-) diff --git a/package.json b/package.json index d3e1e03..cd6f650 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,7 @@ "postcss": "8.4.26", "react": "18.2.0", "react-dom": "18.2.0", + "react-toastify": "^10.0.5", "remark": "^14.0.3", "remark-html": "^15.0.2", "tailwindcss": "3.3.3" diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx index 7c7c613..36acf5f 100644 --- a/src/pages/_app.tsx +++ b/src/pages/_app.tsx @@ -13,7 +13,9 @@ import '../styles/special-classes.css' import '../styles/responsive.css' import '../styles/owl.carousel.min.css' import '../styles/owl.theme.default.min.css' +import "react-toastify/dist/ReactToastify.css"; import Script from "next/script"; +import { ToastContainer } from "react-toastify" export default function App({Component, pageProps}: AppProps) { useEffect(() => { @@ -29,6 +31,7 @@ export default function App({Component, pageProps}: AppProps) {
+