There was an error while loading. Please reload this page.
1 parent 67920ff commit 011a221Copy full SHA for 011a221
1 file changed
snippets/AIStudioCards.mdx
@@ -1,5 +1,3 @@
1
-import { FeatureCards } from '/snippets/FeatureCards.mdx';
2
-
3
export const components = [
4
{
5
title: "Centralized AI Management",
@@ -23,4 +21,23 @@ export const components = [
23
21
}
24
22
];
25
+export const FeatureCards = ({ components }) => {
+ return (
26
+ <div className="feature-grid">
27
+ {components.map((item, index) => (
28
+ <div key={index} className="feature-item">
29
+ <div className="feature-icon">{item.icon}</div>
30
+ <div className="feature-title">{item.title}</div>
31
+ <p className="feature-description">{item.description}</p>
32
+ {item.path && (
33
+ <div className="feature-button">
34
+ <a href={item.path}>{item.button_text || 'Learn More'}</a>
35
+ </div>
36
+ )}
37
38
+ ))}
39
40
+ );
41
+};
42
+
43
<FeatureCards components={components} />
0 commit comments