diff --git a/.gitignore b/.gitignore index 9e649cd4..e0cda74d 100644 --- a/.gitignore +++ b/.gitignore @@ -24,6 +24,7 @@ dist-ssr *.sw? package-lock.json +pnpm-lock.yaml yarn.lock diff --git a/package.json b/package.json index 4fd0ce09..86be2fcd 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,7 @@ "react-dom": "^18.2.0", "react-fast-marquee": "^1.6.2", "react-hook-form": "^7.48.2", + "react-hot-toast": "^2.4.1", "react-lazy-load-image-component": "^1.6.0", "react-photo-album": "^2.3.0", "react-router-dom": "^6.11.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bac811d5..988f8334 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -65,6 +65,9 @@ importers: react-hook-form: specifier: ^7.48.2 version: 7.51.3(react@18.3.1) + react-hot-toast: + specifier: ^2.4.1 + version: 2.4.1(csstype@3.1.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react-lazy-load-image-component: specifier: ^1.6.0 version: 1.6.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -1517,6 +1520,11 @@ packages: resolution: {integrity: sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==} engines: {node: '>= 0.4'} + goober@2.1.14: + resolution: {integrity: sha512-4UpC0NdGyAFqLNPnhCT2iHpza2q+RAY3GV85a/mRPdzyPQMsj0KmMMuetdIkzWRbJ+Hgau1EZztq8ImmiMGhsg==} + peerDependencies: + csstype: ^3.0.10 + gopd@1.0.1: resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} @@ -2260,6 +2268,13 @@ packages: peerDependencies: react: ^16.8.0 || ^17 || ^18 + react-hot-toast@2.4.1: + resolution: {integrity: sha512-j8z+cQbWIM5LY37pR6uZR6D4LfseplqnuAO4co4u8917hBUvXlEqyP1ZzqVLcqoyUesZZv/ImreoCeHVDpE5pQ==} + engines: {node: '>=10'} + peerDependencies: + react: '>=16' + react-dom: '>=16' + react-is@16.13.1: resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==} @@ -4380,6 +4395,10 @@ snapshots: define-properties: 1.2.1 gopd: 1.0.1 + goober@2.1.14(csstype@3.1.3): + dependencies: + csstype: 3.1.3 + gopd@1.0.1: dependencies: get-intrinsic: 1.2.4 @@ -5085,6 +5104,14 @@ snapshots: dependencies: react: 18.3.1 + react-hot-toast@2.4.1(csstype@3.1.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + dependencies: + goober: 2.1.14(csstype@3.1.3) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + transitivePeerDependencies: + - csstype + react-is@16.13.1: {} react-lazy-load-image-component@1.6.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1): diff --git a/src/APP/components/Footer.jsx b/src/APP/components/Footer.jsx index d8496de9..195d552d 100644 --- a/src/APP/components/Footer.jsx +++ b/src/APP/components/Footer.jsx @@ -1,6 +1,10 @@ +/* eslint-disable react/jsx-one-expression-per-line */ +/* eslint-disable implicit-arrow-linebreak */ +/* eslint-disable no-confusing-arrow */ import React from "react"; import { LazyLoadImage } from "react-lazy-load-image-component"; import { Link } from "react-router-dom"; +import Terms from "../../assets/documentation/terms-and-conditions.pdf"; import { linkedin, twitter, @@ -67,7 +71,7 @@ function Footer() { links: [ { href: "https://x.com/SpaceYaTech", name: "Contact Us" }, { - href: "/src/assets/documentation/terms-and-conditions.pdf", + href: Terms, name: "Terms and Conditions", }, ], @@ -135,6 +139,8 @@ function Footer() {