diff --git a/docs/ai-python/.gitignore b/docs/ai-python/.gitignore new file mode 100644 index 00000000..dc245b9b --- /dev/null +++ b/docs/ai-python/.gitignore @@ -0,0 +1,29 @@ +# dependencies +node_modules + +# generated content +.source + +# test and build output +coverage +.next +out +build +dist +*.tsbuildinfo + +# local environment +.env*.local +.vercel + +# logs +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* + +# system files +.DS_Store + +# Turborepo +.turbo diff --git a/docs/ai-python/app/[lang]/(home)/components/centered-section.tsx b/docs/ai-python/app/[lang]/(home)/components/centered-section.tsx new file mode 100644 index 00000000..1e323cca --- /dev/null +++ b/docs/ai-python/app/[lang]/(home)/components/centered-section.tsx @@ -0,0 +1,26 @@ +import type { ReactNode } from "react"; + +interface CenteredSectionProps { + children: ReactNode; + description: string; + title: string; +} + +export const CenteredSection = ({ + title, + description, + children, +}: CenteredSectionProps) => ( +
+ {description} +
+{badge}
++ {description} +
++ {description} +
++ {description} +
++ {item.description} +
+{item.description}
+code]:grid [&>code]:min-w-max",
+ className,
+ props.className
+ )}
+ ref={ref}
+ style={style}
+ tabIndex={tabIndex}
+ >
+ {children}
+
+ ),
+ [children, style, tabIndex, className]
+ );
+
+ if (!title) {
+ return (
+ Thank you for your feedback!
+