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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ yarn-debug.log*
yarn-error.log*
updated_url_mappings.json
.claude/
screenshots/
22 changes: 21 additions & 1 deletion docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const config: Config = {

onBrokenLinks: "throw",
markdown: {
mermaid: true,
hooks: {
onBrokenMarkdownLinks: "throw",
},
Expand Down Expand Up @@ -96,7 +97,7 @@ const config: Config = {
],
],

themes: ["docusaurus-theme-openapi-docs"],
themes: ["docusaurus-theme-openapi-docs", "@docusaurus/theme-mermaid"],
stylesheets: [
"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap",
],
Expand Down Expand Up @@ -162,6 +163,7 @@ const config: Config = {
logo: {
alt: "TagoIO Logo",
src: "img/tagoio-official-logo.svg",
srcDark: "img/tagoio-official-logo-white.svg",
width: 110,
height: 26,
},
Expand Down Expand Up @@ -212,6 +214,24 @@ const config: Config = {
prism: {
theme: prismThemes.nightOwlLight,
darkTheme: prismThemes.nightOwl,
additionalLanguages: ["abnf", "yaml"],
},
mermaid: {
theme: {
light: "base",
dark: "dark",
},
options: {
themeVariables: {
primaryColor: "#2cb1bc",
primaryTextColor: "#ffffff",
primaryBorderColor: "transparent",
lineColor: "#707070",
edgeLabelBackground: "transparent",
clusterBkg: "transparent",
clusterBorder: "#2a2a2a",
},
},
},
} satisfies Preset.ThemeConfig,
};
Expand Down
29 changes: 29 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"dependencies": {
"@docusaurus/core": "3.9.2",
"@docusaurus/preset-classic": "3.9.2",
"@docusaurus/theme-mermaid": "^3.9.2",
"@mdx-js/react": "^3.1.0",
"clsx": "^2.0.0",
"docusaurus-plugin-openapi-docs": "^4.7.1",
Expand Down
13 changes: 5 additions & 8 deletions src/components/HomepageFeatures/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import Link from "@docusaurus/Link";
import useBaseUrl from "@docusaurus/useBaseUrl";
import Heading from "@theme/Heading";
import clsx from "clsx";
import type { ReactNode } from "react";
import styles from "./styles.module.css";

Expand All @@ -14,7 +13,7 @@ type FeatureItem = {

function Feature({ title, imgSrc, href, description }: FeatureItem) {
return (
<div className={clsx("col col--3", styles.featureCol)}>
<div className={styles.featureCol}>
<Link to={href} className={styles.featureLink}>
<div className={styles.featureCard}>
<div className="text--center">
Expand Down Expand Up @@ -103,12 +102,10 @@ export default function HomepageFeatures(): ReactNode {

return (
<section className={styles.features}>
<div className="container">
<div className="row">
{FeatureList.map((props) => (
<Feature key={props.title} {...props} />
))}
</div>
<div className={styles.featureRow}>
{FeatureList.map((props) => (
<Feature key={props.title} {...props} />
))}
</div>
</section>
);
Expand Down
58 changes: 44 additions & 14 deletions src/components/HomepageFeatures/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@
justify-content: center;
background: linear-gradient(
135deg,
rgba(0, 123, 255, 0.08) 0%,
rgba(0, 123, 255, 0.04) 100%
rgba(44, 177, 188, 0.08) 0%,
rgba(44, 177, 188, 0.04) 100%
);
border-radius: 16px;
margin-bottom: 1.5rem;
position: relative;
overflow: hidden;
border: 1px solid rgba(0, 123, 255, 0.1);
border: 1px solid rgba(44, 177, 188, 0.1);
}

/* Light mode specific stronger shine effect */
Expand All @@ -45,9 +45,9 @@
background: linear-gradient(
135deg,
transparent 0%,
rgba(0, 123, 255, 0.2) 30%,
rgba(44, 177, 188, 0.2) 30%,
rgba(255, 255, 255, 0.3) 50%,
rgba(0, 123, 255, 0.15) 70%,
rgba(44, 177, 188, 0.15) 70%,
transparent 100%
);
opacity: 0;
Expand All @@ -64,9 +64,20 @@ html[data-theme="dark"] .featureCard > :first-child::before {
);
}

/* Row layout for feature cards */
.featureRow {
display: flex;
flex-wrap: wrap;
justify-content: center;
max-width: 1600px;
margin: 0 auto;
padding: 0 1rem;
}

/* Column layout for feature cards */
.featureCol {
display: flex;
flex: 0 0 20%;
}

/* Remove link styling while maintaining block behavior */
Expand All @@ -78,7 +89,7 @@ html[data-theme="dark"] .featureCard > :first-child::before {

/* Card styling with stronger light mode effects */
.featureCard {
background: var(--ifm-background-surface-color);
background: var(--surface-elevated);
border-radius: 16px;
padding: 2.5rem 2rem;
margin: 1rem;
Expand All @@ -94,20 +105,39 @@ html[data-theme="dark"] .featureCard > :first-child::before {
height: 100%;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
/* Tablet responsive adjustments */
@media (max-width: 1100px) {
.featureCol {
flex: 0 0 33.333%;
max-width: 33.333%;
margin-bottom: 1rem;
}
}

@media (max-width: 768px) and (min-width: 577px) {
.featureCol {
flex: 0 0 50%;
max-width: 50%;
margin-bottom: 1rem;
}
}

@media (max-width: 576px) {
.featureCard {
margin: 0.5rem;
padding: 1.5rem;
}
.featureCol {
flex: 0 0 100%;
max-width: 100%;
margin-bottom: 1rem;
}
}

/* Dark theme specific adjustments */
html[data-theme="dark"] .featureCard {
border-color: rgba(255, 255, 255, 0.06);
background: var(--surface-elevated);
border-color: #363749;
box-shadow:
0 2px 20px rgba(0, 0, 0, 0.3),
0 1px 3px rgba(0, 0, 0, 0.4);
Expand All @@ -118,7 +148,7 @@ html[data-theme="dark"] .featureCard {
box-shadow:
0 12px 40px rgba(0, 0, 0, 0.16),
0 8px 24px rgba(0, 0, 0, 0.12);
border-color: rgba(0, 123, 255, 0.25);
border-color: rgba(44, 177, 188, 0.25);
}

/* More visible icon shadows on hover */
Expand All @@ -135,8 +165,8 @@ html[data-theme="dark"] .featureCard {
html[data-theme="dark"] .featureCard > :first-child {
background: linear-gradient(
135deg,
rgba(0, 123, 255, 0.08) 0%,
rgba(0, 123, 255, 0.03) 100%
rgba(44, 177, 188, 0.08) 0%,
rgba(44, 177, 188, 0.03) 100%
);
}

Expand All @@ -147,7 +177,7 @@ html[data-theme="dark"] .featureImg {

/* Dark theme hover effects - enhanced lighting only */
html[data-theme="dark"] .featureCard:hover {
border-color: rgba(0, 123, 255, 0.3);
border-color: rgba(44, 177, 188, 0.3);
box-shadow:
0 8px 32px rgba(0, 0, 0, 0.4),
0 4px 16px rgba(0, 0, 0, 0.3);
Expand All @@ -170,7 +200,7 @@ html[data-theme="dark"] .featureCard:hover .featureImg {

/* Title color change on hover */
.featureCard:hover h3 {
color: #007bff;
color: #2cb1bc;
}

/* Card description text styling */
Expand Down
Loading