diff --git a/public/pdf/design-department.pdf b/public/pdf/design-department.pdf new file mode 100644 index 00000000..3a8307c1 Binary files /dev/null and b/public/pdf/design-department.pdf differ diff --git a/public/pdf/product-department.pdf b/public/pdf/product-department.pdf new file mode 100644 index 00000000..69cd25e6 Binary files /dev/null and b/public/pdf/product-department.pdf differ diff --git a/public/pdf/research-development.pdf b/public/pdf/research-development.pdf new file mode 100644 index 00000000..a77a9311 Binary files /dev/null and b/public/pdf/research-development.pdf differ diff --git a/public/pdf/software-department.pdf b/public/pdf/software-department.pdf new file mode 100644 index 00000000..768ce2cc Binary files /dev/null and b/public/pdf/software-department.pdf differ diff --git a/src/components/docs/departmental-docs.md b/src/components/docs/departmental-docs.md new file mode 100644 index 00000000..9cda4a43 --- /dev/null +++ b/src/components/docs/departmental-docs.md @@ -0,0 +1,42 @@ + +Before selecting a department in the SAST joining form, please read the departmental documents carefully. +Each department plays a vital role in SAST’s ecosystem β€” from software development to creative design and R&D innovations. + +--- + +## Tech Department +Develop and maintain web platforms, backend systems, and automation tools for SAST projects. +[πŸ“„ View PDF](/pdf/software-department.pdf) + +--- + +## Research & Development +Focus on CubeSat prototypes, experiments, and aerospace innovation through research-driven projects. +[πŸ“„ View PDF](/pdf/research-development.pdf) + +--- + +## Product Department +Bridge design, software, and R&D teams to ensure smooth product development and delivery. +[πŸ“„ View PDF](/pdf/product-department.pdf) + +--- + +## Design Department +Design visually stunning UI/UX, posters, and visuals that represent SAST’s brand identity. +[πŸ“„ View PDF](/pdf/design-department.pdf) + +--- + +## Documentation Department +Maintain records, write project reports, and ensure all initiatives are properly documented. +[πŸ“„ View PDF](/pdf/documentation-department.pdf) + +--- + +## βš™οΈ Electronics & Engineering +Work with sensors, hardware modules, and embedded systems that bring SAST’s space projects to life. +[πŸ“„ View PDF](/pdf/electronics-engineering.pdf) + +--- + diff --git a/src/pages/DocsHub.jsx b/src/pages/DocsHub.jsx index 2c633b66..ba33b287 100644 --- a/src/pages/DocsHub.jsx +++ b/src/pages/DocsHub.jsx @@ -12,7 +12,6 @@ import remarkGfm from "remark-gfm"; import rehypeRaw from "rehype-raw"; import { FileText, Search, Book, ArrowLeft, CheckCircle } from "lucide-react"; -// Import all markdown files import aboutSast from "../components/docs/about-sast.md?raw"; import codeOfConduct from "../components/docs/code-of-conduct.md?raw"; import communityRoles from "../components/docs/community-roles.md?raw"; @@ -24,18 +23,60 @@ import guidelines from "../components/docs/guidelines.md?raw"; import learning from "../components/docs/learning.md?raw"; import memberNames from "../components/docs/member-names.md?raw"; +// βœ… NEW: single doc that lists all department PDFs +import departmentalDocs from "../components/docs/departmental-docs.md?raw"; + // Map of all docs with their content const DOCS_MAP = { - "about-sast": { title: "About SAST", content: aboutSast, category: "Introduction" }, - guidelines: { title: "Guidelines", content: guidelines, category: "Getting Started" }, - contribution: { title: "Contribution Guide", content: contribution, category: "Getting Started" }, - "code-of-conduct": { title: "Code of Conduct", content: codeOfConduct, category: "Getting Started" }, - "github-process": { title: "GitHub Process", content: githubProcess, category: "Development" }, - "community-roles": { title: "Community Roles", content: communityRoles, category: "Community" }, + "about-sast": { + title: "About SAST", + content: aboutSast, + category: "Introduction", + }, + guidelines: { + title: "Guidelines", + content: guidelines, + category: "Getting Started", + }, + contribution: { + title: "Contribution Guide", + content: contribution, + category: "Getting Started", + }, + "code-of-conduct": { + title: "Code of Conduct", + content: codeOfConduct, + category: "Getting Started", + }, + "github-process": { + title: "GitHub Process", + content: githubProcess, + category: "Development", + }, + "community-roles": { + title: "Community Roles", + content: communityRoles, + category: "Community", + }, faqs: { title: "FAQs", content: faqs, category: "Help" }, learning: { title: "Learning Resources", content: learning, category: "Resources" }, - "contributors-name": { title: "Contributors", content: contributorsName, category: "Community" }, - "member-names": { title: "Members", content: memberNames, category: "Community" }, + "contributors-name": { + title: "Contributors", + content: contributorsName, + category: "Community", + }, + "member-names": { + title: "Members", + content: memberNames, + category: "Community", + }, + + // βœ… NEW entry + "departmental-docs": { + title: "SAST Departmental Docs", + content: departmentalDocs, + category: "Departments", + }, }; // Header Component @@ -48,18 +89,15 @@ function DocsHeader() {

Community Handbook

- Your comprehensive guide to contributing, learning, and growing with - SAST. + Your comprehensive guide to contributing, learning, and growing with SAST.

- {["Open Source", "Community Guidelines", "Best Practices"].map( - (tag) => ( - - {tag} - - ) - )} + {["Open Source", "Community Guidelines", "Best Practices"].map((tag) => ( + + {tag} + + ))}
); @@ -264,4 +302,4 @@ export default function DocsHub() { ); -} \ No newline at end of file +}