diff --git a/src/components/KeployCloud.js b/src/components/KeployCloud.js index 1650346c8..a8b7651db 100644 --- a/src/components/KeployCloud.js +++ b/src/components/KeployCloud.js @@ -1,31 +1,40 @@ import React from "react"; +import Link from "@docusaurus/Link"; export const KeployCloud = () => { return ( -
-
-

Questions? 🤔💭

-

- For any support please{" "} - - join keploy slack community - {" "} - to get help from fellow users, or{" "} - - book a demo - {" "} - if you're exploring enterprise use cases. -

-
-
+
+ {/* Questions Card */} +
+

+ Questions ? +

+ +
+

+ Stuck with a question? Our Slack community is here to help. +

+ + + + +
+ +
+

+ Exploring enterprise use cases? Book a demo with us. +

+ + + + +
+
+
+ ); }; diff --git a/src/components/WhatIsKeploy.js b/src/components/WhatIsKeploy.js index ce6034143..d04f0ef5d 100644 --- a/src/components/WhatIsKeploy.js +++ b/src/components/WhatIsKeploy.js @@ -44,7 +44,7 @@ const cards = [ id: "comparison", title: "Keploy vs traditional testing tools", description: "Where record–replay and AI-generated flows fit vs Postman, contract testing, and mocking libraries.", - link: "/docs/keploy-explained/why-keploy/", + link: "/keploy-explained/why-keploy/", tone: "secondary", icon: ( diff --git a/src/css/custom.css b/src/css/custom.css index a719f5d91..f2477c6ae 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -2598,4 +2598,46 @@ html[data-theme="dark"] div[class^="sidebar_"] > nav > ul > li > .menu__list-ite } } +/* Card */ +.questions-card { + @apply w-full rounded-2xl p-10 mt-8 + bg-gray-50 dark:bg-[rgb(19,19,19)] + shadow-lg transition-colors; +} + +/* Title */ +.questions-title { + @apply text-3xl font-bold text-center mb-10 + text-black dark:text-white; +} + +/* Rows */ +.questions-row { + @apply flex flex-col + gap-4 + lg:flex-row + lg:items-center + lg:justify-between + mb-6; +} + +.questions-row a { + @apply self-center lg:self-auto; +} + +/* Text */ +.questions-text { + @apply text-lg font-medium + text-gray-900 dark:text-gray-200; +} +/* Buttons */ +.questions-btn { + @apply bg-orange-500 hover:bg-orange-600 + text-white font-semibold + py-2 px-6 rounded-full + shadow-md transition + cursor-pointer + active:scale-95 + lg:hover:scale-105; +} \ No newline at end of file diff --git a/src/theme/DocPaginator/index.js b/src/theme/DocPaginator/index.js new file mode 100644 index 000000000..a282edf1e --- /dev/null +++ b/src/theme/DocPaginator/index.js @@ -0,0 +1,69 @@ +import React from 'react'; +import Link from '@docusaurus/Link'; +import Translate, {translate} from '@docusaurus/Translate'; + +function PaginatorNavLink({permalink, title, subLabel, isNext}) { + return ( + + {subLabel && ( +
+ {subLabel} +
+ )} +
+ {title} +
+ + ); +} + +export default function DocPaginator(props) { + const {previous, next} = props; + if (!previous && !next) { + return null; + } + return ( + + ); +} \ No newline at end of file