From ca12e95853f500b33b59b607219e06f673de3fd1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 9 Nov 2024 14:51:03 +0000 Subject: [PATCH 1/2] Update repo structure --- PROJECT_STRUCTURE.md | 11 +++++++++++ repo_structure.txt | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/PROJECT_STRUCTURE.md b/PROJECT_STRUCTURE.md index 7b5ff1f..6de3a05 100644 --- a/PROJECT_STRUCTURE.md +++ b/PROJECT_STRUCTURE.md @@ -47,6 +47,9 @@ │ ├── devprod4.png │ ├── devprod5.jpeg │ ├── devprod6.jpeg +│ ├── doodl3.png +│ ├── doodle1.png +│ ├── doodle2.jpeg │ ├── exp1.png │ ├── exp2.jpeg │ ├── exp3.jpeg @@ -217,10 +220,16 @@ │ │ │ │ └── page.jsx │ │ │ ├── distributed-hybrid/ │ │ │ │ └── page.jsx +│ │ │ ├── doodle/ +│ │ │ │ └── page.jsx +│ │ │ ├── easter-egg/ +│ │ │ │ └── page.jsx │ │ │ ├── expertdev/ │ │ │ │ └── page.jsx │ │ │ ├── explore/ │ │ │ │ └── page.jsx +│ │ │ ├── garage/ +│ │ │ │ └── page.jsx │ │ │ ├── gen-studio/ │ │ │ │ └── page.jsx │ │ │ ├── genai/ @@ -249,6 +258,8 @@ │ │ │ │ └── page.jsx │ │ │ ├── join-partner/ │ │ │ │ └── page.jsx +│ │ │ ├── lens-page/ +│ │ │ │ └── page.jsx │ │ │ ├── localdev/ │ │ │ │ └── page.jsx │ │ │ ├── moonshots/ diff --git a/repo_structure.txt b/repo_structure.txt index b383e52..2d2e522 100644 --- a/repo_structure.txt +++ b/repo_structure.txt @@ -43,6 +43,9 @@ │ ├── devprod4.png │ ├── devprod5.jpeg │ ├── devprod6.jpeg +│ ├── doodl3.png +│ ├── doodle1.png +│ ├── doodle2.jpeg │ ├── exp1.png │ ├── exp2.jpeg │ ├── exp3.jpeg @@ -213,10 +216,16 @@ │ │ │ │ └── page.jsx │ │ │ ├── distributed-hybrid/ │ │ │ │ └── page.jsx +│ │ │ ├── doodle/ +│ │ │ │ └── page.jsx +│ │ │ ├── easter-egg/ +│ │ │ │ └── page.jsx │ │ │ ├── expertdev/ │ │ │ │ └── page.jsx │ │ │ ├── explore/ │ │ │ │ └── page.jsx +│ │ │ ├── garage/ +│ │ │ │ └── page.jsx │ │ │ ├── gen-studio/ │ │ │ │ └── page.jsx │ │ │ ├── genai/ @@ -245,6 +254,8 @@ │ │ │ │ └── page.jsx │ │ │ ├── join-partner/ │ │ │ │ └── page.jsx +│ │ │ ├── lens-page/ +│ │ │ │ └── page.jsx │ │ │ ├── localdev/ │ │ │ │ └── page.jsx │ │ │ ├── moonshots/ From 16077802da03cba8e833213dd95f3908e298bd1a Mon Sep 17 00:00:00 2001 From: MIGHTY1o1 Date: Sat, 9 Nov 2024 23:16:59 +0530 Subject: [PATCH 2/2] add tech stack page --- src/app/(pages)/tech-stack-explorer/page.jsx | 149 +++++++++++++++++++ 1 file changed, 149 insertions(+) create mode 100644 src/app/(pages)/tech-stack-explorer/page.jsx diff --git a/src/app/(pages)/tech-stack-explorer/page.jsx b/src/app/(pages)/tech-stack-explorer/page.jsx new file mode 100644 index 0000000..75749f7 --- /dev/null +++ b/src/app/(pages)/tech-stack-explorer/page.jsx @@ -0,0 +1,149 @@ +"use client"; +import React, { useState } from 'react'; +import { motion } from 'framer-motion'; +import Image from 'next/image'; + +// Sample data for tech stacks +const sampleTechStacks = [ + { + id: 1, + name: "Frontend Stack", + description: "Technologies for building user interfaces.", + tags: ["HTML", "CSS", "JavaScript", "React", "Angular"], + details: { + components: ["HTML5", "CSS3", "JavaScript", "React", "Vue.js", "Angular"], + useCases: ["Web Development", "UI/UX Design", "Single Page Applications"], + tutorials: ["https://reactjs.org/docs/getting-started.html", "https://angular.io/start"] + }, + }, + { + id: 2, + name: "Backend Stack", + description: "Technologies for server-side development.", + tags: ["Node.js", "Express", "MongoDB", "SQL"], + details: { + components: ["Node.js", "Express", "Django", "MongoDB", "PostgreSQL"], + useCases: ["REST APIs", "Database Management", "Authentication"], + tutorials: ["https://nodejs.org/en/docs/guides/getting-started-guide/", "https://www.djangoproject.com/start/"] + }, + }, + // Additional stacks can be added here +]; + +// Header Section +const TechStackHeader = () => { + return ( + +
+ + Tech Stack Explorer + +

+ Discover and explore popular tech stacks, learn about their components, and find tutorials to get started! +

+
+
+ ); +}; + +// Tech Stack Cards Section +const TechStackCards = ({ stacks, onExpand }) => { + return ( + +
+ {stacks.map((stack) => ( +
onExpand(stack)} + > +

{stack.name}

+

{stack.description}

+
+ {stack.tags.map((tag, index) => ( + + {tag} + + ))} +
+
+ ))} +
+
+ ); +}; + +// Expanded Tech Stack Details Modal +const TechStackModal = ({ stack, onClose }) => { + return ( +
+ + +

{stack.name}

+

{stack.description}

+
+

Components:

+
    + {stack.details.components.map((component, index) => ( +
  • {component}
  • + ))} +
+
+
+

Use Cases:

+
    + {stack.details.useCases.map((useCase, index) => ( +
  • {useCase}
  • + ))} +
+
+
+

Tutorials:

+
    + {stack.details.tutorials.map((tutorial, index) => ( +
  • {tutorial}
  • + ))} +
+
+
+
+ ); +}; + +// Main Tech Stack Explorer Page Component +const TechStackExplorerPage = () => { + const [selectedStack, setSelectedStack] = useState(null); + + const handleExpandStack = (stack) => { + setSelectedStack(stack); + }; + + const handleCloseModal = () => { + setSelectedStack(null); + }; + + return ( +
+ + + {selectedStack && } +
+ ); +}; + +export default TechStackExplorerPage;