diff --git a/README.md b/README.md index 1acbd9f..3928190 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@

Tech Optimum Logo

Tech Optimum

-[**Our Learning Platform**](https://dashboard.techoptimum.org) +[**Learning Platform**](https://dashboard.techoptimum.org) Welcome to Tech Optimum, a nonprofit organization dedicated to helping students in computer science through accessible coding courses, publicizing internships for students, tech talks and more. If you are interested in joining our community, join [here](https://techoptimum.org/discord). If you would like to contribute to our repositories or join Tech Optimum as a staff member, please go [here.](https://techoptimum.org/join-team) diff --git a/package-lock.json b/package-lock.json index 5c4cf7f..a417c4f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3889,10 +3889,28 @@ "version": "0.16.3", "license": "MIT" }, + "node_modules/@types/stats.js": { + "version": "0.17.3", + "resolved": "https://registry.npmjs.org/@types/stats.js/-/stats.js-0.17.3.tgz", + "integrity": "sha512-pXNfAD3KHOdif9EQXZ9deK82HVNaXP5ZIF5RP2QG6OQFNTaY2YIetfrE9t528vEreGQvEPRDDc8muaoYeK0SxQ==", + "peer": true + }, "node_modules/@types/stylis": { "version": "4.2.0", "license": "MIT" }, + "node_modules/@types/three": { + "version": "0.158.3", + "resolved": "https://registry.npmjs.org/@types/three/-/three-0.158.3.tgz", + "integrity": "sha512-6Qs1rUvLSbkJ4hlIe6/rdwIf61j1x2UKvGJg7s8KjswYsz1C1qDTs6voVXXB8kYaI0hgklgZgbZUupfL1l9xdA==", + "peer": true, + "dependencies": { + "@types/stats.js": "*", + "@types/webxr": "*", + "fflate": "~0.6.10", + "meshoptimizer": "~0.18.1" + } + }, "node_modules/@types/unist": { "version": "2.0.6", "license": "MIT" @@ -7367,6 +7385,12 @@ "three": ">=0.137" } }, + "node_modules/meshoptimizer": { + "version": "0.18.1", + "resolved": "https://registry.npmjs.org/meshoptimizer/-/meshoptimizer-0.18.1.tgz", + "integrity": "sha512-ZhoIoL7TNV4s5B6+rx5mC//fw8/POGyNxS/DZyCJeiZ12ScLfVwRE/GfsxwiTkMYYD5DmK2/JXnEVXqL4rF+Sw==", + "peer": true + }, "node_modules/methods": { "version": "1.1.2", "license": "MIT", @@ -9985,6 +10009,19 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/typescript": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.2.tgz", + "integrity": "sha512-6l+RyNy7oAHDfxC4FzSJcz9vnjTKxrLpDG5M2Vu4SHRVNg6xzqZp6LYSR9zjqQTu8DU/f5xwxUdADOkbrIX2gQ==", + "peer": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, "node_modules/unbox-primitive": { "version": "1.0.2", "license": "MIT", diff --git a/src/app/page.js b/src/app/page.js index 0a87816..2c7c747 100644 --- a/src/app/page.js +++ b/src/app/page.js @@ -8,10 +8,9 @@ import Features from "@/components/features"; import Approach from "@/components/approach"; import Popup from "@/components/popup"; import { Box, Heading } from "@chakra-ui/react"; -import TechGuru from "@/components/tech-guru-show-off"; import Sponsors from "@/components/sponsors"; -import ProgressCheck from "@/components/progress-check-show-off"; -import ChapterContent from "@/components/chapter-content-show"; +import DashboardShowoff from "@/components/dashboard-showoff"; + const sponsorsData = [ { imagePath: "/sponsors/open-ai.png", link: "https://openai.com" }, { imagePath: "/sponsors/azure.png", link: "https://azure.microsoft.com" }, @@ -82,9 +81,8 @@ export default function Home() { - { /* - - */} + + diff --git a/src/components/chapter-content-show.jsx b/src/components/chapter-content-show.jsx index 22a3d52..b507c57 100644 --- a/src/components/chapter-content-show.jsx +++ b/src/components/chapter-content-show.jsx @@ -31,10 +31,12 @@ import ReactMarkdown from "react-markdown"; import style from "@/styles/react-highlighter"; const ChapterContent = ({ content, index }) => { + const [hasCopied, setHasCopied] = useState({}); + return ( { as={Button} rightIcon={} > - Variables + Getting Setup & Basics { as="a" textDecoration="none !important" > - lesson 1 + Lesson 1: Getting Setup & Basics @@ -98,7 +100,7 @@ const ChapterContent = ({ content, index }) => { { > Lesson 1: Getting Setup & Basics - +