Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added public/pdf/design-department.pdf
Binary file not shown.
Binary file added public/pdf/product-department.pdf
Binary file not shown.
Binary file added public/pdf/research-development.pdf
Binary file not shown.
Binary file added public/pdf/software-department.pdf
Binary file not shown.
42 changes: 42 additions & 0 deletions src/components/docs/departmental-docs.md
Original file line number Diff line number Diff line change
@@ -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)

---

76 changes: 57 additions & 19 deletions src/pages/DocsHub.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -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
Expand All @@ -48,18 +89,15 @@ function DocsHeader() {
</div>
<h1 className="docs-header-title">Community Handbook</h1>
<p className="docs-header-description">
Your comprehensive guide to contributing, learning, and growing with
SAST.
Your comprehensive guide to contributing, learning, and growing with SAST.
</p>
<div className="docs-header-divider"></div>
<div className="docs-header-tags">
{["Open Source", "Community Guidelines", "Best Practices"].map(
(tag) => (
<span key={tag} className="docs-header-tag">
{tag}
</span>
)
)}
{["Open Source", "Community Guidelines", "Best Practices"].map((tag) => (
<span key={tag} className="docs-header-tag">
{tag}
</span>
))}
</div>
</header>
);
Expand Down Expand Up @@ -264,4 +302,4 @@ export default function DocsHub() {
</div>
</section>
);
}
}
Loading