From e6e530d89703d1be3c2aa58a47eb6c34363f707c Mon Sep 17 00:00:00 2001 From: thakiyudheen Date: Mon, 15 Jul 2024 16:25:05 +0530 Subject: [PATCH] add socket --- manifests/k8s/configMaps/client.yaml | 3 +- src/App.tsx | 2 + src/Components/common/user/footer/footer.tsx | 4 +- src/Components/common/user/navbar/Navbar.tsx | 8 +- src/Components/user/home/Homebanner.tsx | 111 +- src/Components/user/home/newsletter.tsx | 2 +- src/Pages/auth/Login.tsx | 148 +-- src/Pages/student/aboutUs.tsx | 78 ++ src/assets/aboutUs/aboutUs.svg | 1142 +++++++++++++++++ .../homebanner/telecommuting-animate.svg | 1 + src/context/socketContext.tsx | 7 +- src/index.css | 2 + 12 files changed, 1245 insertions(+), 263 deletions(-) create mode 100644 src/Pages/student/aboutUs.tsx create mode 100644 src/assets/aboutUs/aboutUs.svg create mode 100644 src/assets/homebanner/telecommuting-animate.svg diff --git a/manifests/k8s/configMaps/client.yaml b/manifests/k8s/configMaps/client.yaml index 133dd17..42e3948 100644 --- a/manifests/k8s/configMaps/client.yaml +++ b/manifests/k8s/configMaps/client.yaml @@ -8,5 +8,6 @@ data: VITE_REACT_APP_PRESET_KEY: cogpbt77 VITE_REACT_APP_CLOUD_NAME: dy8yhxc6a VITE_STRIPE_PUBLIC_KEY: pk_test_51PTgwvEvhq95htrivs2uETviuuagXTJYlLYPkNYzk2dEFnKUNjaL9SCl4RwQIuP7iCao6aPzNryH1uMng76lbNXZ00JyJOwxsu - VITE_SERVER_URL: https://acecart.shop/api/chat + VITE_SERVER_URL: https://acecart.shop VITE_BASE_URL: https://acecart.shop + diff --git a/src/App.tsx b/src/App.tsx index 9d64464..3ee9c17 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -31,6 +31,7 @@ import SubscriptionPage from './Components/user/subscription/subscription'; import SubscriptionSuccess from './Pages/payment/subscriptionSuccess'; import ReApply from './Components/auth/reapply/ReApply'; import PeerVideoComponent from './Components/instructor/chat/videoCall'; +import AboutUs from './Pages/student/aboutUs'; @@ -149,6 +150,7 @@ function App() { } /> } /> } /> + } /> diff --git a/src/Components/common/user/footer/footer.tsx b/src/Components/common/user/footer/footer.tsx index facf458..6667b3f 100644 --- a/src/Components/common/user/footer/footer.tsx +++ b/src/Components/common/user/footer/footer.tsx @@ -4,8 +4,8 @@ import { useTheme } from '../../../ui/theme-provider'; const Footer: React.FC = () => { const { theme } = useTheme(); return ( -