Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CustomTooltip component to the sistent components page #6058

Merged
merged 9 commits into from
Nov 24, 2024
1 change: 1 addition & 0 deletions gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -733,6 +733,7 @@ exports.createPages = async ({ actions, graphql, reporter }) => {
"link",
"container",
"button-group",
"tooltip",
];

const createComponentPages = (createPage, components) => {
Expand Down
15 changes: 15 additions & 0 deletions src/components/SistentNavigation/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,19 @@ export const content = [
link: "/projects/sistent/components/button-group/code",
text: "Button Group",
},
{
id: 27,
link: "/projects/sistent/components/tooltip",
text: "Tooltip",
},
{
id: 25,
link: "/projects/sistent/components/tooltip/guidance",
text: "Tooltip",
},
{
id: 26,
link: "/projects/sistent/components/tooltip/code",
text: "Tooltip",
},
];
7 changes: 7 additions & 0 deletions src/sections/Projects/Sistent/components/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,13 @@ const componentsData = [
"Box is used as a flexible container for layout and styling, allowing quick customization and responsive design adjustments.",
url: "/projects/sistent/components/box",
},
{
id: 11,
name: "Tooltip",
description:
"The Tooltip component is a small pop-up box that appears when a user hovers over an element.",
url: "/projects/sistent/components/tooltip",
},
];

const SistentComponents = () => {
Expand Down
Loading