diff --git a/package-lock.json b/package-lock.json index 78bde5d..73e5756 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,6 +14,7 @@ "@google/generative-ai": "^0.17.1", "@huggingface/inference": "^2.8.0", "@huggingface/transformers": "^3.0.0-alpha.9", + "@mui/icons-material": "^5.16.7", "@mui/material": "^5.16.7", "@pinecone-database/pinecone": "^3.0.1", "@radix-ui/react-avatar": "^1.1.0", @@ -22,9 +23,10 @@ "cheerio": "^1.0.0", "class-variance-authority": "^0.7.0", "clsx": "^2.1.1", - "framer-motion": "^11.3.29", + "framer-motion": "^11.3.30", "gemini-api": "^2.0.4", "lucide-react": "^0.429.0", + "mini-svg-data-uri": "^1.4.4", "next": "14.2.6", "node-cache": "^5.1.2", "node-fetch": "^3.3.2", @@ -32,9 +34,9 @@ "overlayscrollbars-react": "^0.5.6", "pinecone-client": "^2.0.0", "puppeteer": "^23.1.1", - "react": "^18", + "react": "^18.3.1", "react-circular-progressbar": "^2.1.0", - "react-dom": "^18", + "react-dom": "^18.3.1", "react-icons": "^5.3.0", "react-markdown": "^9.0.1", "simplex-noise": "^4.0.3", @@ -43,13 +45,13 @@ }, "devDependencies": { "@types/node": "^20", - "@types/react": "^18", - "@types/react-dom": "^18", + "@types/react": "^18.3.4", + "@types/react-dom": "^18.3.0", "eslint": "^8", "eslint-config-next": "14.2.6", "postcss": "^8", "tailwindcss": "^3.4.1", - "typescript": "^5" + "typescript": "^5.5.4" } }, "node_modules/@alloc/quick-lru": { @@ -462,6 +464,7 @@ "version": "11.13.3", "resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.13.3.tgz", "integrity": "sha512-lIsdU6JNrmYfJ5EbUCf4xW1ovy5wKQ2CkPRM4xogziOxH1nXxBSjpC9YqbFAP7circxMfYp+6x676BqWcEiixg==", + "license": "MIT", "dependencies": { "@babel/runtime": "^7.18.3", "@emotion/babel-plugin": "^11.12.0", @@ -502,6 +505,7 @@ "version": "11.13.0", "resolved": "https://registry.npmjs.org/@emotion/styled/-/styled-11.13.0.tgz", "integrity": "sha512-tkzkY7nQhW/zC4hztlwucpT8QEZ6eUzpXDRhww/Eej4tFfO0FxQYWRyg/c5CCXa4d/f174kqeXYjuQRnhzf6dA==", + "license": "MIT", "dependencies": { "@babel/runtime": "^7.18.3", "@emotion/babel-plugin": "^11.12.0", @@ -1123,10 +1127,37 @@ "url": "https://opencollective.com/mui-org" } }, + "node_modules/@mui/icons-material": { + "version": "5.16.7", + "resolved": "https://registry.npmjs.org/@mui/icons-material/-/icons-material-5.16.7.tgz", + "integrity": "sha512-UrGwDJCXEszbDI7yV047BYU5A28eGJ79keTCP4cc74WyncuVrnurlmIRxaHL8YK+LI1Kzq+/JM52IAkNnv4u+Q==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.23.9" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@mui/material": "^5.0.0", + "@types/react": "^17.0.0 || ^18.0.0", + "react": "^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, "node_modules/@mui/material": { "version": "5.16.7", "resolved": "https://registry.npmjs.org/@mui/material/-/material-5.16.7.tgz", "integrity": "sha512-cwwVQxBhK60OIOqZOVLFt55t01zmarKJiJUWbk0+8s/Ix5IaUzAShqlJchxsIQ4mSrWqgcKCCXKtIlG5H+/Jmg==", + "license": "MIT", "dependencies": { "@babel/runtime": "^7.23.9", "@mui/core-downloads-tracker": "^5.16.7", @@ -1914,6 +1945,7 @@ "version": "18.3.4", "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.4.tgz", "integrity": "sha512-J7W30FTdfCxDDjmfRM+/JqLHBIyl7xUIp9kwK637FGmY7+mkSFSe6L4jpZzhj5QMfLssSDP4/i75AKkrdC7/Jw==", + "license": "MIT", "dependencies": { "@types/prop-types": "*", "csstype": "^3.0.2" @@ -1924,6 +1956,7 @@ "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.0.tgz", "integrity": "sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==", "devOptional": true, + "license": "MIT", "dependencies": { "@types/react": "*" } @@ -4461,9 +4494,9 @@ } }, "node_modules/framer-motion": { - "version": "11.3.29", - "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-11.3.29.tgz", - "integrity": "sha512-uyDuUOeOElJEA3kbkbyoTNEf75Jih1EUg0ouLKYMlGDdt/LaJPmO+FyOGAGxM2HwKhHcAoKFNveR5A8peb7yhw==", + "version": "11.3.30", + "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-11.3.30.tgz", + "integrity": "sha512-9VmqGe9OIjfMoCcs+ZsKXlv6JaG5QagKX2F1uSbkG3Z33wgjnz60Kw+CngC1M49rDYau+Y9aL+8jGagAwrbVyw==", "license": "MIT", "dependencies": { "tslib": "^2.4.0" @@ -6446,6 +6479,15 @@ "node": ">= 0.6" } }, + "node_modules/mini-svg-data-uri": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/mini-svg-data-uri/-/mini-svg-data-uri-1.4.4.tgz", + "integrity": "sha512-r9deDe9p5FJUPZAk3A59wGH7Ii9YrjjWw0jmw/liSbHl2CHiyXj6FcDXDu2K3TjVAXqiJdaw3xxwlZZr9E6nHg==", + "license": "MIT", + "bin": { + "mini-svg-data-uri": "cli.js" + } + }, "node_modules/minimatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", @@ -7594,6 +7636,7 @@ "version": "18.3.1", "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", + "license": "MIT", "dependencies": { "loose-envify": "^1.1.0" }, @@ -7613,6 +7656,7 @@ "version": "18.3.1", "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", + "license": "MIT", "dependencies": { "loose-envify": "^1.1.0", "scheduler": "^0.23.2" @@ -8873,6 +8917,7 @@ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz", "integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==", "devOptional": true, + "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" diff --git a/package.json b/package.json index 594e56b..42b5423 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "@google/generative-ai": "^0.17.1", "@huggingface/inference": "^2.8.0", "@huggingface/transformers": "^3.0.0-alpha.9", + "@mui/icons-material": "^5.16.7", "@mui/material": "^5.16.7", "@pinecone-database/pinecone": "^3.0.1", "@radix-ui/react-avatar": "^1.1.0", @@ -23,9 +24,10 @@ "cheerio": "^1.0.0", "class-variance-authority": "^0.7.0", "clsx": "^2.1.1", - "framer-motion": "^11.3.29", + "framer-motion": "^11.3.30", "gemini-api": "^2.0.4", "lucide-react": "^0.429.0", + "mini-svg-data-uri": "^1.4.4", "next": "14.2.6", "node-cache": "^5.1.2", "node-fetch": "^3.3.2", @@ -33,9 +35,9 @@ "overlayscrollbars-react": "^0.5.6", "pinecone-client": "^2.0.0", "puppeteer": "^23.1.1", - "react": "^18", + "react": "^18.3.1", "react-circular-progressbar": "^2.1.0", - "react-dom": "^18", + "react-dom": "^18.3.1", "react-icons": "^5.3.0", "react-markdown": "^9.0.1", "simplex-noise": "^4.0.3", @@ -44,12 +46,12 @@ }, "devDependencies": { "@types/node": "^20", - "@types/react": "^18", - "@types/react-dom": "^18", + "@types/react": "^18.3.4", + "@types/react-dom": "^18.3.0", "eslint": "^8", "eslint-config-next": "14.2.6", "postcss": "^8", "tailwindcss": "^3.4.1", - "typescript": "^5" + "typescript": "^5.5.4" } } diff --git a/src/app/(routes)/(home)/home/page.tsx b/src/app/(routes)/(home)/home/page.tsx index a3f7de5..4b32e5e 100644 --- a/src/app/(routes)/(home)/home/page.tsx +++ b/src/app/(routes)/(home)/home/page.tsx @@ -1,14 +1,16 @@ import React from 'react' +import { Navbar } from '@/components/Navbar' import { Chat } from './chat' import { Footer } from '@/components/Footer' -import { Navbar } from '@/components/Navbar' type Props = {} -export default function Home({}: Props) { +export default function Home({ }: Props) { return ( - <><> + <><> +