From 74e7a1d29bb94a1dd3af63cfb4200dd5b266b5b2 Mon Sep 17 00:00:00 2001 From: AkshataSolapurkar Date: Sat, 11 May 2024 16:35:20 +0530 Subject: [PATCH 1/4] courses update --- package-lock.json | 46 +++- package.json | 12 +- src/Components/Navbar/Navbar.css | 1 - src/Components/Navbar/Navbar.jsx | 2 - src/Components/ProfileInfo/Profileinfro.jsx | 151 ++++++++++++ src/app/Courses/page.jsx | 251 +++++++++++++++++++- src/imgs/coourcecard.svg | 178 ++++++++++++++ 7 files changed, 628 insertions(+), 13 deletions(-) create mode 100644 src/Components/ProfileInfo/Profileinfro.jsx create mode 100644 src/imgs/coourcecard.svg diff --git a/package-lock.json b/package-lock.json index b52eabf..5664b07 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,13 +14,17 @@ "@emotion/react": "^11.11.4", "@emotion/styled": "^11.11.5", "@nextui-org/react": "^2.3.6", + "@react-oauth/google": "^0.12.1", "framer-motion": "^11.1.7", + "lucide-react": "^0.378.0", "next": "14.2.3", "react": "^18", "react-dom": "^18", + "react-hook-form": "^7.51.4", "react-icons": "^5.1.0", "typewriter-effect": "^2.21.0", - "web-vitals": "^3.5.2" + "web-vitals": "^3.5.2", + "zod": "^3.23.8" }, "devDependencies": { "autoprefixer": "^10.4.19", @@ -3732,6 +3736,15 @@ "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0" } }, + "node_modules/@react-oauth/google": { + "version": "0.12.1", + "resolved": "https://registry.npmjs.org/@react-oauth/google/-/google-0.12.1.tgz", + "integrity": "sha512-qagsy22t+7UdkYAiT5ZhfM4StXi9PPNvw0zuwNmabrWyMKddczMtBIOARflbaIj+wHiQjnMAsZmzsUYuXeyoSg==", + "peerDependencies": { + "react": ">=16.8.0", + "react-dom": ">=16.8.0" + } + }, "node_modules/@react-stately/calendar": { "version": "3.4.1", "resolved": "https://registry.npmjs.org/@react-stately/calendar/-/calendar-3.4.1.tgz", @@ -5329,6 +5342,14 @@ "node": "14 || >=16.14" } }, + "node_modules/lucide-react": { + "version": "0.378.0", + "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.378.0.tgz", + "integrity": "sha512-u6EPU8juLUk9ytRcyapkWI18epAv3RU+6+TC23ivjR0e+glWKBobFeSgRwOIJihzktILQuy6E0E80P2jVTDR5g==", + "peerDependencies": { + "react": "^16.5.1 || ^17.0.0 || ^18.0.0" + } + }, "node_modules/merge2": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", @@ -5853,6 +5874,21 @@ } } }, + "node_modules/react-hook-form": { + "version": "7.51.4", + "resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.51.4.tgz", + "integrity": "sha512-V14i8SEkh+V1gs6YtD0hdHYnoL4tp/HX/A45wWQN15CYr9bFRmmRdYStSO5L65lCCZRF+kYiSKhm9alqbcdiVA==", + "engines": { + "node": ">=12.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/react-hook-form" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17 || ^18" + } + }, "node_modules/react-icons": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/react-icons/-/react-icons-5.1.0.tgz", @@ -6631,6 +6667,14 @@ "engines": { "node": ">= 14" } + }, + "node_modules/zod": { + "version": "3.23.8", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.23.8.tgz", + "integrity": "sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } } } } diff --git a/package.json b/package.json index 621350a..9ab455d 100644 --- a/package.json +++ b/package.json @@ -9,19 +9,23 @@ "lint": "next lint" }, "dependencies": { - "next": "14.2.3", - "react": "^18", - "react-dom": "^18", "@chakra-ui/icons": "^2.1.1", "@chakra-ui/next-js": "^2.2.0", "@chakra-ui/react": "^2.8.2", "@emotion/react": "^11.11.4", "@emotion/styled": "^11.11.5", "@nextui-org/react": "^2.3.6", + "@react-oauth/google": "^0.12.1", "framer-motion": "^11.1.7", + "lucide-react": "^0.378.0", + "next": "14.2.3", + "react": "^18", + "react-dom": "^18", + "react-hook-form": "^7.51.4", "react-icons": "^5.1.0", "typewriter-effect": "^2.21.0", - "web-vitals": "^3.5.2" + "web-vitals": "^3.5.2", + "zod": "^3.23.8" }, "devDependencies": { "autoprefixer": "^10.4.19", diff --git a/src/Components/Navbar/Navbar.css b/src/Components/Navbar/Navbar.css index 70ebace..c1439ab 100644 --- a/src/Components/Navbar/Navbar.css +++ b/src/Components/Navbar/Navbar.css @@ -10,7 +10,6 @@ #navFix { position: sticky; top: 0; - z-index: 20; width: 90%; } diff --git a/src/Components/Navbar/Navbar.jsx b/src/Components/Navbar/Navbar.jsx index 582d93a..7591d81 100644 --- a/src/Components/Navbar/Navbar.jsx +++ b/src/Components/Navbar/Navbar.jsx @@ -39,8 +39,6 @@ export default function Navbar() { const { colorMode, toggleColorMode } = useColorMode(); const { isOpen, onOpen, onClose } = useDisclosure(); - - return (