Skip to content
Open
Show file tree
Hide file tree
Changes from 3 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
3 changes: 3 additions & 0 deletions src/components/QuickStartFilter.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import Link from "@docusaurus/Link";
import {FaGolang} from "react-icons/fa6";
import {FaJava, FaLaptopCode, FaDocker, FaPython, FaCheck, FaArrowRight, FaArrowLeft} from "react-icons/fa";
import {TbBrandCSharp} from "react-icons/tb";
import { TbBrandRust } from "react-icons/tb";
Comment thread
Gagan202005 marked this conversation as resolved.
Outdated
import {IoLogoJavascript} from "react-icons/io5";
import {useColorMode} from "@docusaurus/theme-common";

Expand All @@ -28,6 +29,8 @@ export default function QuickstartFilter({defaultLanguage = null}) {
{name: "Java", icon: <FaJava size={24} />, color: "#007396"},
{name: "JS/TS", icon: <IoLogoJavascript size={24} />, color: "#F7DF1E"},
{name: "C#", icon: <TbBrandCSharp size={24} />, color: "#512BD4"},
{name: "Rust", icon: <TbBrandRust size={24} />, color: "#DEA584"},

];

const servers = [
Expand Down
20 changes: 20 additions & 0 deletions src/components/QuickStartList.js
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,26 @@ const quickstarts = [
"A sample app to demonstrate Keploy integration capabilities using TypeScript and Nhost.",
link: "/docs/quickstart/samples-typescript/#running-the-app-using-docker",
},

// rust list
{
title: "Rust + MongoDB",
language: "Rust",
server: "Local",
description:
"A sample Rust CRUD notes application using MongoDB to demonstrate how Keploy records API calls and database interactions automatically and replays them without manual test writing.",
link: "/docs/quickstart/samples-rust-mongodb/#running-app-locally",
},
{
title: "Rust + MongoDB",
language: "Rust",
server: "Docker",
description:
"A sample Rust CRUD notes application using MongoDB to demonstrate Keploy record & replay workflows using Docker Compose.",
link: "/docs/quickstart/samples-rust-mongodb/#using-docker-compose",
},


];

export default quickstarts;
13 changes: 9 additions & 4 deletions src/components/SidebarCategoryIcon.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ import {
import {
SiKubernetes,
SiDocker,
SiGithubactions
SiGithubactions,
} from 'react-icons/si';
import { TbBrandRust } from 'react-icons/tb';
Comment thread
Gagan202005 marked this conversation as resolved.
Outdated

/**
* SidebarCategoryIcon - Icon component for sidebar top-level categories
Expand All @@ -48,12 +49,13 @@ const categoryIcons = {
'security': FaShieldAlt,
'operation': FaTools,

// Language/Framework categories
// Language / Framework categories
'java': FaCode,
'golang': FaCode,
'python': FaCode,
'javascript': FaCode,
'typescript': FaCode,
'rust': FaCode,

// Infrastructure
'docker': SiDocker,
Expand All @@ -79,7 +81,11 @@ export function getCategoryIcon(categoryLabel) {
return categoryIcons[key] || null;
}

export default function SidebarCategoryIcon({ category, size = 16, className = '' }) {
export default function SidebarCategoryIcon({
category,
size = 16,
className = '',
}) {
const Icon = getCategoryIcon(category);

if (!Icon) return null;
Expand Down Expand Up @@ -113,4 +119,3 @@ export default function SidebarCategoryIcon({ category, size = 16, className = '

// Export icon mapping for use in sidebar configuration
export { categoryIcons };

Loading