diff --git a/docs/src/components/copy-command.astro b/docs/src/components/copy-command.astro new file mode 100644 index 000000000..b561e5337 --- /dev/null +++ b/docs/src/components/copy-command.astro @@ -0,0 +1,39 @@ +--- +const { command, label = 'Copy' } = Astro.props; +--- +
+ + {command} + +
+ + diff --git a/docs/src/components/generator-carousel.astro b/docs/src/components/generator-carousel.astro new file mode 100644 index 000000000..ed398cfc9 --- /dev/null +++ b/docs/src/components/generator-carousel.astro @@ -0,0 +1,134 @@ +--- +import { Code } from '@astrojs/starlight/components'; + +const slides = [ + { + title: 'Multi-Agent AI App', + description: 'TypeScript and Python Strands agents and an MCP server.', + commands: [ + 'pnpm nx g @aws/nx-plugin:ts#project', + 'pnpm nx g @aws/nx-plugin:ts#strands-agent', + 'pnpm nx g @aws/nx-plugin:py#project', + 'pnpm nx g @aws/nx-plugin:py#strands-agent', + 'pnpm nx g @aws/nx-plugin:ts#mcp-server', + 'pnpm nx g @aws/nx-plugin:connection', + ], + }, + { + title: 'tRPC Web App with CDK', + description: 'A type-safe tRPC API with a React frontend, Cognito auth, and CDK.', + commands: [ + 'pnpm nx g @aws/nx-plugin:ts#react-website', + 'pnpm nx g @aws/nx-plugin:ts#react-website#auth', + 'pnpm nx g @aws/nx-plugin:ts#trpc-api', + 'pnpm nx g @aws/nx-plugin:ts#infra', + 'pnpm nx g @aws/nx-plugin:connection', + ], + }, + { + title: 'FastAPI Web App with Terraform', + description: 'A Python FastAPI with a React frontend, Cognito auth, and Terraform.', + commands: [ + 'pnpm nx g @aws/nx-plugin:py#fast-api', + 'pnpm nx g @aws/nx-plugin:ts#react-website', + 'pnpm nx g @aws/nx-plugin:ts#react-website#auth', + 'pnpm nx g @aws/nx-plugin:terraform#project', + 'pnpm nx g @aws/nx-plugin:connection', + ], + }, + { + title: 'AG-UI Web App', + description: 'A React app with Cognito auth and an AG-UI Strands agent.', + commands: [ + 'pnpm nx g @aws/nx-plugin:ts#react-website', + 'pnpm nx g @aws/nx-plugin:ts#react-website#auth', + 'pnpm nx g @aws/nx-plugin:py#project', + 'pnpm nx g @aws/nx-plugin:py#strands-agent', + 'pnpm nx g @aws/nx-plugin:ts#infra', + 'pnpm nx g @aws/nx-plugin:connection', + ], + }, +]; + +const generatorIdHighlight = /\:([^\s]+)/g; +--- + + + diff --git a/docs/src/content/docs/en/index.mdx b/docs/src/content/docs/en/index.mdx index 3d0c54f5e..26148757b 100644 --- a/docs/src/content/docs/en/index.mdx +++ b/docs/src/content/docs/en/index.mdx @@ -1,9 +1,9 @@ --- title: '@aws/nx-plugin' -description: Rapidly scaffold and build projects on AWS +description: Rapidly scaffold and build production-ready apps on AWS. template: splash hero: - tagline: Rapidly scaffold and build projects on AWS + tagline: Build full-stack AWS apps in minutes, not days. image: light: ../assets/bulb-black.svg dark: ../assets/bulb-white.svg @@ -11,103 +11,67 @@ hero: - text: Get started link: get_started/quick-start icon: right-arrow - - text: Concepts - link: get_started/concepts - icon: right-arrow + variant: primary + - text: Build with AI + link: get_started/building-with-ai + icon: rocket variant: secondary - - text: Read the NX docs - link: https://nx.dev/getting-started/intro - icon: external - variant: minimal --- -

- - Apache 2.0 License - - - - - - Gitpod ready-to-code - - - Release badge - - - Commit activity - -

- +import { CardGrid, Card, Icon, LinkButton } from '@astrojs/starlight/components'; import { ContributorList } from 'starlight-contributor-list'; -import { VideoPlayer } from 'starlight-videos/components'; -import { - CardGrid, - Card, - Icon, - LinkButton, -} from '@astrojs/starlight/components'; -import { Image } from 'astro:assets'; -import websiteGeneratorGif from '@assets/website-generator.gif'; +import CopyCommand from '@components/copy-command.astro'; +import GeneratorCarousel from '@components/generator-carousel.astro'; -
-##### A collection of Nx Generators for rapidly building cloud-native applications on AWS +
+

+ A collection of Nx generators for rapidly building cloud-native applications on AWS — type-safe, locally runnable, and ready to deploy. +

- - - - - - - - - - - +
+ Create a new workspace + +
-
- -{/* TODO: Replace the below gif with the watch and learn series */} -{/* ##### Watch and learn series */} -{/* */} -{/* */} -{/* */} - -
- A short example of using a generator + +
+

Why @aws/nx-plugin?

+ + + Website, API, auth, agents and infrastructure — all scaffolded and wired together. + + + An MCP server ships with the plugin so your AI assistant can scaffold and connect projects for you. + + + Shared types flow from your API through to your frontend. Refactor with confidence. + + + Generators give you a head start, not a framework. The code is yours to read, modify, and extend. + +
-
- ##### Join the community - +
+

Join the community

Have questions or want to share feedback?

-

Join us on the #nx-plugin-for-aws Slack channel to connect with other users and contributors.

- - Join us on Slack +

+ Join us on the #nx-plugin-for-aws Slack channel to connect with other users and contributors. +

+ + Join us on Slack +
-
- ##### Thank you to our amazing contributors! +
+

Thank you to our amazing contributors!

diff --git a/docs/src/content/docs/es/index.mdx b/docs/src/content/docs/es/index.mdx index f681c42df..0d9b8febd 100644 --- a/docs/src/content/docs/es/index.mdx +++ b/docs/src/content/docs/es/index.mdx @@ -1,9 +1,9 @@ --- title: "@aws/nx-plugin" -description: "Cree e implemente proyectos en AWS rápidamente" +description: "Cree e implemente aplicaciones listas para producción en AWS rápidamente." template: splash hero: - tagline: "Cree e implemente proyectos en AWS rápidamente" + tagline: "Cree aplicaciones AWS full-stack en minutos, no en días." image: light: ../assets/bulb-black.svg dark: ../assets/bulb-white.svg @@ -11,94 +11,67 @@ hero: - text: Comenzar link: get_started/quick-start icon: right-arrow - - text: Conceptos - link: get_started/concepts - icon: right-arrow + variant: primary + - text: Construir con IA + link: get_started/building-with-ai + icon: rocket variant: secondary - - text: Leer la documentación de NX - link: https://nx.dev/getting-started/intro - icon: external - variant: minimal --- -

- - Licencia Apache 2.0 - - - - - - Gitpod listo para codificar - - - Insignia de lanzamiento - - - Actividad de commits - -

- +import { CardGrid, Card, Icon, LinkButton } from '@astrojs/starlight/components'; import { ContributorList } from 'starlight-contributor-list'; -import { VideoPlayer } from 'starlight-videos/components'; -import { - CardGrid, - Card, - Icon, - LinkButton, -} from '@astrojs/starlight/components'; -import { Image } from 'astro:assets'; -import websiteGeneratorGif from '@assets/website-generator.gif'; +import CopyCommand from '@components/copy-command.astro'; +import GeneratorCarousel from '@components/generator-carousel.astro'; -
-##### Una colección de Generadores Nx para construir rápidamente aplicaciones nativas en la nube en AWS +
+

+ Una colección de generadores Nx para construir rápidamente aplicaciones nativas en la nube en AWS — con tipado seguro, ejecutables localmente y listas para desplegar. +

- - - - - - - - - - - +
+ Crear un nuevo espacio de trabajo + +
-
- -{/* TODO: Reemplazar el gif inferior por la serie de videos instructivos */} -{/* ##### Serie Mira y aprende */} -{/* */} -{/* */} -{/* */} + -
- Un breve ejemplo del uso de un generador +
+

¿Por qué @aws/nx-plugin?

+ + + Sitio web, API, autenticación, agentes e infraestructura — todo generado y conectado. + + + Un servidor MCP se incluye con el plugin para que tu asistente de IA pueda generar y conectar proyectos por ti. + + + Los tipos compartidos fluyen desde tu API hasta tu frontend. Refactoriza con confianza. + + + Los generadores te dan una ventaja inicial, no un framework. El código es tuyo para leer, modificar y extender. + +
+
+

Únete a la comunidad

+

¿Tienes preguntas o quieres compartir comentarios?

+

+ Únete a nosotros en el canal de Slack #nx-plugin-for-aws para conectar con otros usuarios y colaboradores. +

+ + Únete a nosotros en Slack +
-
- ##### ¡Gracias a nuestros increíbles colaboradores! +
+

¡Gracias a nuestros increíbles colaboradores!

\ No newline at end of file diff --git a/docs/src/content/docs/fr/index.mdx b/docs/src/content/docs/fr/index.mdx index f0944498a..93be9db70 100644 --- a/docs/src/content/docs/fr/index.mdx +++ b/docs/src/content/docs/fr/index.mdx @@ -1,9 +1,9 @@ --- title: "@aws/nx-plugin" -description: "Créez et construisez rapidement des projets sur AWS" +description: "Créez et construisez rapidement des applications prêtes pour la production sur AWS." template: splash hero: - tagline: "Créez et construisez rapidement des projets sur AWS" + tagline: "Créez des applications AWS full-stack en quelques minutes, pas en plusieurs jours." image: light: ../assets/bulb-black.svg dark: ../assets/bulb-white.svg @@ -11,94 +11,67 @@ hero: - text: Commencer link: get_started/quick-start icon: right-arrow - - text: Concepts - link: get_started/concepts - icon: right-arrow + variant: primary + - text: Construire avec l'IA + link: get_started/building-with-ai + icon: rocket variant: secondary - - text: Lire la documentation NX - link: https://nx.dev/getting-started/intro - icon: external - variant: minimal --- -

- - Licence Apache 2.0 - - - - - - Gitpod prêt à coder - - - Badge de version - - - Activité des commits - -

- +import { CardGrid, Card, Icon, LinkButton } from '@astrojs/starlight/components'; import { ContributorList } from 'starlight-contributor-list'; -import { VideoPlayer } from 'starlight-videos/components'; -import { - CardGrid, - Card, - Icon, - LinkButton, -} from '@astrojs/starlight/components'; -import { Image } from 'astro:assets'; -import websiteGeneratorGif from '@assets/website-generator.gif'; +import CopyCommand from '@components/copy-command.astro'; +import GeneratorCarousel from '@components/generator-carousel.astro'; -
-##### Une collection de générateurs Nx pour créer rapidement des applications cloud-natives sur AWS +
+

+ Une collection de générateurs Nx pour créer rapidement des applications cloud-natives sur AWS — typées de manière sûre, exécutables localement et prêtes à déployer. +

- - - - - - - - - - - +
+ Créer un nouveau workspace + +
-
- -{/* TODO: Replace the below gif with the watch and learn series */} -{/* ##### Série de vidéos éducatives */} -{/* */} -{/* */} -{/* */} + -
- Un court exemple d'utilisation d'un générateur +
+

Pourquoi @aws/nx-plugin ?

+ + + Site web, API, authentification, agents et infrastructure — tout est généré et interconnecté. + + + Un serveur MCP est fourni avec le plugin pour que votre assistant IA puisse générer et connecter des projets pour vous. + + + Les types partagés circulent de votre API jusqu'à votre frontend. Refactorisez en toute confiance. + + + Les générateurs vous donnent une longueur d'avance, pas un framework. Le code vous appartient pour le lire, le modifier et l'étendre. + +
+
+

Rejoignez la communauté

+

Vous avez des questions ou souhaitez partager vos retours ?

+

+ Rejoignez-nous sur le canal Slack #nx-plugin-for-aws pour échanger avec d'autres utilisateurs et contributeurs. +

+ + Rejoignez-nous sur Slack +
-
- ##### Un grand merci à nos incroyables contributeurs ! +
+

Un grand merci à nos incroyables contributeurs !

\ No newline at end of file diff --git a/docs/src/content/docs/it/index.mdx b/docs/src/content/docs/it/index.mdx index 3e6f45fa7..f2f7a6803 100644 --- a/docs/src/content/docs/it/index.mdx +++ b/docs/src/content/docs/it/index.mdx @@ -1,9 +1,9 @@ --- title: '@aws/nx-plugin' -description: Crea e sviluppa rapidamente progetti su AWS +description: Crea e sviluppa rapidamente app pronte per la produzione su AWS. template: splash hero: - tagline: Crea e sviluppa rapidamente progetti su AWS + tagline: Crea app AWS full-stack in pochi minuti, non giorni. image: light: ../assets/bulb-black.svg dark: ../assets/bulb-white.svg @@ -11,94 +11,67 @@ hero: - text: Inizia link: get_started/quick-start icon: right-arrow - - text: Concetti - link: get_started/concepts - icon: right-arrow + variant: primary + - text: Costruisci con l'IA + link: get_started/building-with-ai + icon: rocket variant: secondary - - text: Leggi la documentazione NX - link: https://nx.dev/getting-started/intro - icon: external - variant: minimal --- -

- - Licenza Apache 2.0 - - - - - - Pronto per codificare con Gitpod - - - Badge di rilascio - - - Attività dei commit - -

- +import { CardGrid, Card, Icon, LinkButton } from '@astrojs/starlight/components'; import { ContributorList } from 'starlight-contributor-list'; -import { VideoPlayer } from 'starlight-videos/components'; -import { - CardGrid, - Card, - Icon, - LinkButton, -} from '@astrojs/starlight/components'; -import { Image } from 'astro:assets'; -import websiteGeneratorGif from '@assets/website-generator.gif'; +import CopyCommand from '@components/copy-command.astro'; +import GeneratorCarousel from '@components/generator-carousel.astro'; -
-##### Una raccolta di generatori Nx per costruire rapidamente applicazioni cloud-native su AWS +
+

+ Una raccolta di generatori Nx per costruire rapidamente applicazioni cloud-native su AWS — type-safe, eseguibili localmente e pronte per il deploy. +

- - - - - - - - - - - +
+ Crea un nuovo workspace + +
-
- -{/* TODO: Sostituire la gif sottostante con la serie watch and learn */} -{/* ##### Guarda e impara */} -{/* */} -{/* */} -{/* */} + -
- Un breve esempio di utilizzo di un generatore +
+

Perché @aws/nx-plugin?

+ + + Sito web, API, autenticazione, agenti e infrastruttura — tutto generato e collegato insieme. + + + Un server MCP è incluso nel plugin così il tuo assistente AI può generare e collegare progetti per te. + + + I tipi condivisi fluiscono dalla tua API fino al frontend. Refactorizza con fiducia. + + + I generatori ti danno un vantaggio iniziale, non un framework. Il codice è tuo da leggere, modificare ed estendere. + +
+
+

Unisciti alla community

+

Hai domande o vuoi condividere feedback?

+

+ Unisciti a noi sul canale Slack #nx-plugin-for-aws per connetterti con altri utenti e collaboratori. +

+ + Unisciti a noi su Slack +
-
- ##### Grazie ai nostri fantastici collaboratori! +
+

Grazie ai nostri fantastici collaboratori!

\ No newline at end of file diff --git a/docs/src/content/docs/jp/index.mdx b/docs/src/content/docs/jp/index.mdx index 5f37f6615..00574cec3 100644 --- a/docs/src/content/docs/jp/index.mdx +++ b/docs/src/content/docs/jp/index.mdx @@ -1,9 +1,9 @@ --- title: '@aws/nx-plugin' -description: 'AWS上でプロジェクトを迅速にスキャフォールドおよび構築' +description: 'AWS上で本番環境対応のアプリを迅速にスキャフォールドおよび構築' template: splash hero: - tagline: 'AWS上でプロジェクトを迅速にスキャフォールドおよび構築' + tagline: '数日ではなく数分でフルスタックAWSアプリを構築' image: light: ../assets/bulb-black.svg dark: ../assets/bulb-white.svg @@ -11,94 +11,67 @@ hero: - text: はじめに link: get_started/quick-start icon: right-arrow - - text: コンセプト - link: get_started/concepts - icon: right-arrow + variant: primary + - text: AIで構築 + link: get_started/building-with-ai + icon: rocket variant: secondary - - text: NXドキュメントを読む - link: https://nx.dev/getting-started/intro - icon: external - variant: minimal --- -

- - Apache 2.0 License - - - - - - Gitpod ready-to-code - - - Release badge - - - Commit activity - -

- +import { CardGrid, Card, Icon, LinkButton } from '@astrojs/starlight/components'; import { ContributorList } from 'starlight-contributor-list'; -import { VideoPlayer } from 'starlight-videos/components'; -import { - CardGrid, - Card, - Icon, - LinkButton, -} from '@astrojs/starlight/components'; -import { Image } from 'astro:assets'; -import websiteGeneratorGif from '@assets/website-generator.gif'; +import CopyCommand from '@components/copy-command.astro'; +import GeneratorCarousel from '@components/generator-carousel.astro'; -
-##### AWS上でクラウドネイティブアプリケーションを迅速に構築するためのNxジェネレーターコレクション +
+

+ AWS上でクラウドネイティブアプリケーションを迅速に構築するためのNxジェネレーターコレクション — 型安全で、ローカル実行可能、デプロイ準備完了。 +

- - - - - - - - - - - +
+ 新しいワークスペースを作成 + +
-
- -{/* TODO: Replace the below gif with the watch and learn series */} -{/* ##### 動画チュートリアルシリーズ */} -{/* */} -{/* */} -{/* */} + -
- ジェネレーター使用例のショートデモ +
+

なぜ @aws/nx-plugin なのか?

+ + + ウェブサイト、API、認証、エージェント、インフラストラクチャ — すべてがスキャフォールドされ、接続されます。 + + + MCPサーバーがプラグインに同梱されているため、AIアシスタントがプロジェクトのスキャフォールドと接続を代行できます。 + + + 共有型がAPIからフロントエンドまで流れます。自信を持ってリファクタリングできます。 + + + ジェネレーターはフレームワークではなく、スタートダッシュを提供します。コードはあなたのもので、読み、修正し、拡張できます。 + +
+
+

コミュニティに参加

+

質問やフィードバックをお持ちですか?

+

+ #nx-plugin-for-aws Slackチャンネルに参加して、他のユーザーやコントリビューターとつながりましょう。 +

+ + Slackで参加 +
-
- ##### 素晴らしいコントリビューターの皆さんに感謝します! +
+

素晴らしいコントリビューターの皆さんに感謝します!

\ No newline at end of file diff --git a/docs/src/content/docs/ko/index.mdx b/docs/src/content/docs/ko/index.mdx index 938b7704c..765707410 100644 --- a/docs/src/content/docs/ko/index.mdx +++ b/docs/src/content/docs/ko/index.mdx @@ -1,9 +1,9 @@ --- title: '@aws/nx-plugin' -description: 'AWS에서 프로젝트를 빠르게 스캐폴드하고 빌드' +description: 'AWS에서 프로덕션 준비가 완료된 앱을 빠르게 스캐폴드하고 빌드' template: splash hero: - tagline: 'AWS에서 프로젝트를 빠르게 스캐폴드하고 빌드' + tagline: '며칠이 아닌 몇 분 만에 풀스택 AWS 앱을 빌드하세요.' image: light: ../assets/bulb-black.svg dark: ../assets/bulb-white.svg @@ -11,94 +11,67 @@ hero: - text: 시작하기 link: get_started/quick-start icon: right-arrow - - text: 개념 - link: get_started/concepts - icon: right-arrow + variant: primary + - text: AI로 빌드하기 + link: get_started/building-with-ai + icon: rocket variant: secondary - - text: NX 문서 읽기 - link: https://nx.dev/getting-started/intro - icon: external - variant: minimal --- -

- - Apache 2.0 라이선스 - - - - - - Gitpod ready-to-code - - - 릴리스 배지 - - - 커밋 활동 - -

- +import { CardGrid, Card, Icon, LinkButton } from '@astrojs/starlight/components'; import { ContributorList } from 'starlight-contributor-list'; -import { VideoPlayer } from 'starlight-videos/components'; -import { - CardGrid, - Card, - Icon, - LinkButton, -} from '@astrojs/starlight/components'; -import { Image } from 'astro:assets'; -import websiteGeneratorGif from '@assets/website-generator.gif'; +import CopyCommand from '@components/copy-command.astro'; +import GeneratorCarousel from '@components/generator-carousel.astro'; -
-##### AWS에서 클라우드 네이티브 애플리케이션을 빠르게 구축하기 위한 Nx 제너레이터 모음 +
+

+ AWS에서 클라우드 네이티브 애플리케이션을 빠르게 구축하기 위한 Nx 제너레이터 모음 — 타입 안정성, 로컬 실행 가능, 배포 준비 완료. +

- - - - - - - - - - - +
+ 새 워크스페이스 생성 + +
-
- -{/* TODO: 아래 gif를 watch and learn 시리즈로 교체 */} -{/* ##### 시청 및 학습 시리즈 */} -{/* */} -{/* */} -{/* */} + -
- 제너레이터 사용 예시 +
+

왜 @aws/nx-plugin인가요?

+ + + 웹사이트, API, 인증, 에이전트 및 인프라 — 모두 스캐폴딩되고 연결됩니다. + + + 플러그인에 MCP 서버가 포함되어 있어 AI 어시스턴트가 프로젝트를 스캐폴딩하고 연결할 수 있습니다. + + + 공유 타입이 API에서 프론트엔드까지 흐릅니다. 자신감 있게 리팩토링하세요. + + + 제너레이터는 프레임워크가 아닌 빠른 시작을 제공합니다. 코드는 읽고, 수정하고, 확장할 수 있는 여러분의 것입니다. + +
+
+

커뮤니티에 참여하세요

+

질문이 있거나 피드백을 공유하고 싶으신가요?

+

+ #nx-plugin-for-aws Slack 채널에 참여하여 다른 사용자 및 기여자와 소통하세요. +

+ + Slack에서 참여하기 +
-
- ##### 우리의 놀라운 기여자분들께 감사드립니다! +
+

우리의 놀라운 기여자분들께 감사드립니다!

\ No newline at end of file diff --git a/docs/src/content/docs/pt/index.mdx b/docs/src/content/docs/pt/index.mdx index 28abaec55..9a0facf43 100644 --- a/docs/src/content/docs/pt/index.mdx +++ b/docs/src/content/docs/pt/index.mdx @@ -1,9 +1,9 @@ --- title: "@aws/nx-plugin" -description: "Crie e construa projetos rapidamente na AWS" +description: "Crie e construa aplicações prontas para produção rapidamente na AWS." template: splash hero: - tagline: "Crie e construa projetos rapidamente na AWS" + tagline: "Construa aplicações AWS full-stack em minutos, não em dias." image: light: ../assets/bulb-black.svg dark: ../assets/bulb-white.svg @@ -11,94 +11,67 @@ hero: - text: Começar link: get_started/quick-start icon: right-arrow - - text: Conceitos - link: get_started/concepts - icon: right-arrow + variant: primary + - text: Construir com IA + link: get_started/building-with-ai + icon: rocket variant: secondary - - text: Ler documentação do NX - link: https://nx.dev/getting-started/intro - icon: external - variant: minimal --- -

- - Licença Apache 2.0 - - - - - - Gitpod pronto para codar - - - Badge de release - - - Atividade de commits - -

- +import { CardGrid, Card, Icon, LinkButton } from '@astrojs/starlight/components'; import { ContributorList } from 'starlight-contributor-list'; -import { VideoPlayer } from 'starlight-videos/components'; -import { - CardGrid, - Card, - Icon, - LinkButton, -} from '@astrojs/starlight/components'; -import { Image } from 'astro:assets'; -import websiteGeneratorGif from '@assets/website-generator.gif'; +import CopyCommand from '@components/copy-command.astro'; +import GeneratorCarousel from '@components/generator-carousel.astro'; -
-##### Uma coleção de Geradores Nx para construir rapidamente aplicações nativas em nuvem na AWS +
+

+ Uma coleção de geradores Nx para construir rapidamente aplicações nativas em nuvem na AWS — com segurança de tipos, executáveis localmente e prontas para deploy. +

- - - - - - - - - - - +
+ Crie um novo workspace + +
-
- -{/* TODO: Replace the below gif with the watch and learn series */} -{/* ##### Série Assista e Aprenda */} -{/* */} -{/* */} -{/* */} + -
- Um breve exemplo de uso de um gerador +
+

Por que @aws/nx-plugin?

+ + + Site, API, autenticação, agentes e infraestrutura — tudo estruturado e conectado. + + + Um servidor MCP vem com o plugin para que seu assistente de IA possa estruturar e conectar projetos para você. + + + Tipos compartilhados fluem da sua API até o frontend. Refatore com confiança. + + + Os geradores te dão um ponto de partida, não um framework. O código é seu para ler, modificar e estender. + +
+
+

Junte-se à comunidade

+

Tem dúvidas ou quer compartilhar feedback?

+

+ Junte-se a nós no canal #nx-plugin-for-aws do Slack para se conectar com outros usuários e contribuidores. +

+ + Junte-se a nós no Slack +
-
- ##### Agradecimento aos nossos incríveis contribuidores! +
+

Agradecimento aos nossos incríveis contribuidores!

\ No newline at end of file diff --git a/docs/src/content/docs/vi/index.mdx b/docs/src/content/docs/vi/index.mdx index 22be75bd3..81bb16396 100644 --- a/docs/src/content/docs/vi/index.mdx +++ b/docs/src/content/docs/vi/index.mdx @@ -1,9 +1,9 @@ --- title: "@aws/nx-plugin" -description: "Khởi tạo nhanh chóng và xây dựng các dự án trên AWS" +description: "Khởi tạo nhanh chóng và xây dựng các ứng dụng sẵn sàng cho production trên AWS." template: splash hero: - tagline: "Khởi tạo nhanh chóng và xây dựng các dự án trên AWS" + tagline: "Xây dựng ứng dụng AWS full-stack trong vài phút, không phải vài ngày." image: light: ../assets/bulb-black.svg dark: ../assets/bulb-white.svg @@ -11,94 +11,67 @@ hero: - text: Bắt đầu link: get_started/quick-start icon: right-arrow - - text: Khái niệm - link: get_started/concepts - icon: right-arrow + variant: primary + - text: Xây dựng với AI + link: get_started/building-with-ai + icon: rocket variant: secondary - - text: Đọc tài liệu NX - link: https://nx.dev/getting-started/intro - icon: external - variant: minimal --- -

- - Apache 2.0 License - - - - - - Gitpod ready-to-code - - - Release badge - - - Commit activity - -

- +import { CardGrid, Card, Icon, LinkButton } from '@astrojs/starlight/components'; import { ContributorList } from 'starlight-contributor-list'; -import { VideoPlayer } from 'starlight-videos/components'; -import { - CardGrid, - Card, - Icon, - LinkButton, -} from '@astrojs/starlight/components'; -import { Image } from 'astro:assets'; -import websiteGeneratorGif from '@assets/website-generator.gif'; +import CopyCommand from '@components/copy-command.astro'; +import GeneratorCarousel from '@components/generator-carousel.astro'; -
-##### Bộ sưu tập các Nx Generator để xây dựng nhanh ứng dụng cloud-native trên AWS +
+

+ Bộ sưu tập các Nx generator để xây dựng nhanh các ứng dụng cloud-native trên AWS — an toàn kiểu dữ liệu, chạy được cục bộ và sẵn sàng triển khai. +

- - - - - - - - - - - +
+ Tạo workspace mới + +
-
- -{/* TODO: Replace the below gif with the watch and learn series */} -{/* ##### Watch and learn series */} -{/* */} -{/* */} -{/* */} + -
- Ví dụ ngắn về cách sử dụng generator +
+

Tại sao chọn @aws/nx-plugin?

+ + + Website, API, xác thực, agent và cơ sở hạ tầng — tất cả được scaffold và kết nối với nhau. + + + Một MCP server đi kèm với plugin để trợ lý AI của bạn có thể scaffold và kết nối các dự án cho bạn. + + + Các kiểu dữ liệu được chia sẻ từ API của bạn đến frontend. Refactor với sự tự tin. + + + Generator giúp bạn khởi đầu nhanh, không phải một framework. Mã nguồn là của bạn để đọc, sửa đổi và mở rộng. + +
+
+

Tham gia cộng đồng

+

Có câu hỏi hoặc muốn chia sẻ phản hồi?

+

+ Tham gia với chúng tôi trên kênh Slack #nx-plugin-for-aws để kết nối với người dùng và người đóng góp khác. +

+ + Tham gia trên Slack +
-
- ##### Cảm ơn những người đóng góp tuyệt vời của chúng tôi! +
+

Cảm ơn những người đóng góp tuyệt vời của chúng tôi!

\ No newline at end of file diff --git a/docs/src/content/docs/zh/index.mdx b/docs/src/content/docs/zh/index.mdx index fe2e27173..7f403a798 100644 --- a/docs/src/content/docs/zh/index.mdx +++ b/docs/src/content/docs/zh/index.mdx @@ -1,9 +1,9 @@ --- title: '@aws/nx-plugin' -description: '在 AWS 上快速搭建和构建项目' +description: '在 AWS 上快速搭建和构建生产就绪的应用程序。' template: splash hero: - tagline: '在 AWS 上快速搭建和构建项目' + tagline: '在几分钟内构建全栈 AWS 应用,而非数天。' image: light: ../assets/bulb-black.svg dark: ../assets/bulb-white.svg @@ -11,94 +11,67 @@ hero: - text: 开始使用 link: get_started/quick-start icon: right-arrow - - text: 概念 - link: get_started/concepts - icon: right-arrow + variant: primary + - text: 使用 AI 构建 + link: get_started/building-with-ai + icon: rocket variant: secondary - - text: 阅读 NX 文档 - link: https://nx.dev/getting-started/intro - icon: external - variant: minimal --- -

- - Apache 2.0 License - - - - - - Gitpod ready-to-code - - - Release badge - - - Commit activity - -

- +import { CardGrid, Card, Icon, LinkButton } from '@astrojs/starlight/components'; import { ContributorList } from 'starlight-contributor-list'; -import { VideoPlayer } from 'starlight-videos/components'; -import { - CardGrid, - Card, - Icon, - LinkButton, -} from '@astrojs/starlight/components'; -import { Image } from 'astro:assets'; -import websiteGeneratorGif from '@assets/website-generator.gif'; +import CopyCommand from '@components/copy-command.astro'; +import GeneratorCarousel from '@components/generator-carousel.astro'; -
-##### 用于在 AWS 上快速构建云原生应用的 Nx 生成器集合 +
+

+ 用于在 AWS 上快速构建云原生应用的 Nx 生成器集合——类型安全、可本地运行、随时可部署。 +

- - - - - - - - - - - +
+ 创建新工作空间 + +
-
- -{/* TODO: 替换下方gif为观看学习系列 */} -{/* ##### 观看学习系列 */} -{/* */} -{/* */} -{/* */} + -
- 使用生成器的简短示例 +
+

为什么选择 @aws/nx-plugin?

+ + + 网站、API、身份验证、代理和基础设施——全部搭建并连接完成。 + + + 插件自带 MCP 服务器,让您的 AI 助手为您搭建和连接项目。 + + + 共享类型从您的 API 流向前端。放心重构。 + + + 生成器为您提供起步优势,而非框架束缚。代码完全属于您,可随意阅读、修改和扩展。 + +
+
+

加入社区

+

有疑问或想分享反馈?

+

+ 加入我们的 #nx-plugin-for-aws Slack 频道,与其他用户和贡献者交流。 +

+ + 在 Slack 上加入我们 +
-
- ##### 感谢我们杰出的贡献者们! +
+

感谢我们杰出的贡献者们!

\ No newline at end of file diff --git a/docs/src/styles/custom.css b/docs/src/styles/custom.css index b53de3341..d6918bb00 100644 --- a/docs/src/styles/custom.css +++ b/docs/src/styles/custom.css @@ -1,9 +1,356 @@ @custom-variant dark (&:is(.dark *)); +.site-title span { + font-family: var(--__sl-font-mono), ui-monospace, monospace; + font-weight: 500; +} + +[data-has-hero] .hero h1 { + font-family: var(--__sl-font-mono), ui-monospace, monospace; + font-weight: 500; +} + +/* ============================================================ + * Brand accent (royal neon purple) + * Swap the --brand-* values below to change the accent palette. + * ============================================================ */ +:root { + --brand-50: oklch(0.97 0.02 290); + --brand-100: oklch(0.93 0.05 290); + --brand-200: oklch(0.85 0.1 290); + --brand-300: oklch(0.76 0.16 290); + --brand-400: oklch(0.66 0.22 290); + --brand-500: oklch(0.56 0.28 290); + --brand-600: oklch(0.48 0.28 290); + --brand-700: oklch(0.42 0.26 290); + --brand-800: oklch(0.36 0.22 290); + --brand-900: oklch(0.28 0.16 290); + --brand-950: oklch(0.18 0.1 290); + + --sl-color-accent-low: var(--brand-100); + --sl-color-accent: var(--brand-600); + --sl-color-accent-high: var(--brand-800); + --sl-color-text-accent: var(--brand-700); +} + +:root[data-theme='dark'] { + --sl-color-accent-low: var(--brand-950); + --sl-color-accent: var(--brand-500); + --sl-color-accent-high: var(--brand-200); + --sl-color-text-accent: var(--brand-400); +} + div.hero { margin-bottom: -50px !important; } +/* Splash hero tweaks */ +[data-has-hero] .hero > img, +[data-has-hero] .hero > .hero-html { + max-height: 240px; +} + +[data-has-hero] .hero h1 { + letter-spacing: -0.02em; +} + +[data-has-hero] .hero .tagline { + font-size: clamp(1.1rem, 2.5vw, 1.5rem); + max-width: 36ch; +} + +[data-has-hero] .hero .actions .sl-link-button.primary { + background: var(--sl-color-accent); + border-color: var(--sl-color-accent); + color: var(--sl-color-white); +} + +[data-has-hero] .hero .actions .sl-link-button.primary:hover { + background: var(--sl-color-accent-high); + border-color: var(--sl-color-accent-high); +} + +/* Landing page sections */ +.landing-section { + max-width: 72rem; + margin: 4rem auto; + padding: 0 1.5rem; + text-align: center; +} + +.landing-hero-extras { + margin-top: 1.5rem; + margin-bottom: 3rem; +} + +.landing-subline { + font-size: 1.05rem; + color: var(--sl-color-gray-2); + max-width: 48rem; + margin: 0 auto 2rem; + line-height: 1.6; +} + +.landing-heading { + font-size: clamp(1.5rem, 3vw, 2rem); + font-weight: 500; + letter-spacing: -0.015em; + margin-bottom: 0.75rem; +} + +.landing-lede { + color: var(--sl-color-gray-2); + max-width: 44rem; + margin: 0 auto 2rem; + line-height: 1.6; +} + +/* Copy-command bar */ +.landing-install { + display: flex; + flex-direction: column; + align-items: center; + gap: 0.6rem; +} + +.landing-install-label { + font-size: 0.8rem; + text-transform: uppercase; + letter-spacing: 0.08em; + color: var(--sl-color-gray-3); +} + +.copy-command { + display: inline-flex; + align-items: center; + gap: 0.75rem; + background: var(--sl-color-gray-6, #17191e); + border: 1px solid var(--sl-color-gray-5); + border-radius: 9999px; + padding: 0.55rem 0.6rem 0.55rem 1.2rem; + font-family: var(--__sl-font-mono), ui-monospace, monospace; + font-size: 0.95rem; + color: var(--sl-color-white); + max-width: 100%; + box-shadow: + 0 1px 0 rgba(255, 255, 255, 0.02) inset, + 0 8px 24px -12px rgba(0, 0, 0, 0.4); + transition: + border-color 150ms ease, + transform 150ms ease; +} + +.copy-command:hover { + border-color: var(--sl-color-accent); +} + +.copy-command-prompt { + color: var(--sl-color-accent); + font-weight: 500; + user-select: none; +} + +.copy-command-code { + background: transparent; + color: inherit; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.copy-command-btn { + position: relative; + display: inline-flex; + align-items: center; + justify-content: center; + width: 2rem; + height: 2rem; + border-radius: 9999px; + border: none; + background: var(--sl-color-gray-5); + color: var(--sl-color-white); + cursor: pointer; + transition: + background-color 150ms ease, + color 150ms ease; +} + +.copy-command-btn:hover { + background: var(--sl-color-accent); + color: var(--sl-color-white); +} + +.copy-command-icon-check { + position: absolute; + inset: 0; + margin: auto; + opacity: 0; + color: var(--brand-400); +} + +.copy-command.is-copied .copy-command-icon-copy { + opacity: 0; +} + +.copy-command.is-copied .copy-command-icon-check { + opacity: 1; +} + +/* Generator carousel */ +.gen-carousel { + display: flex; + flex-direction: column; + align-items: center; + gap: 1rem; + max-width: 52rem; + margin: 0 auto; +} + +.gen-carousel-window { + width: 100%; + background: #0d1117; + border: 1px solid var(--sl-color-gray-5); + border-radius: 12px; + overflow: hidden; + box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5); +} + +.gen-carousel-chrome { + display: flex; + align-items: center; + gap: 0.4rem; + padding: 0.6rem 0.9rem; + background: #161b22; + border-bottom: 1px solid var(--sl-color-gray-5); +} + +.gen-carousel-dot { + width: 0.65rem; + height: 0.65rem; + border-radius: 50%; + display: inline-block; +} + +.gen-carousel-dot--red { + background: #ff5f57; +} +.gen-carousel-dot--yellow { + background: #febc2e; +} +.gen-carousel-dot--green { + background: #28c840; +} + +.gen-carousel-chrome-title { + margin-left: 0.75rem; + font-size: 0.78rem; + color: #8b949e; + font-family: var(--__sl-font-mono), ui-monospace, monospace; +} + +.gen-carousel-track { + position: relative; + min-height: 270px; +} + +.gen-carousel-slide { + position: absolute; + inset: 0; + padding: 1.25rem 1.5rem; + opacity: 0; + transform: translateY(6px); + transition: + opacity 350ms ease, + transform 350ms ease; + pointer-events: none; + text-align: left; +} + +.gen-carousel-slide.is-active { + opacity: 1; + transform: none; + pointer-events: auto; +} + +.gen-carousel-caption { + color: #8b949e; + font-size: 0.85rem; + margin: 0 0 0.75rem; +} + +.gen-carousel-code .expressive-code { + margin: 0; +} + +.gen-carousel-code .expressive-code .frame { + box-shadow: none; + border: none; +} + +.gen-carousel-code .expressive-code .header { + display: none; +} + +.gen-carousel-code .expressive-code pre { + background: transparent !important; + border: none !important; + padding: 0 !important; +} + +.gen-carousel-code .expressive-code .copy { + top: 0; + right: 0; +} + +.gen-carousel-controls { + display: flex; + flex-wrap: wrap; + align-items: center; + justify-content: center; + gap: 0.5rem; +} + +.gen-carousel-pill { + box-sizing: border-box; + font-family: inherit; + font-size: 0.95rem; + font-weight: 500; + line-height: 1; + white-space: nowrap; + height: 2.25rem; + padding: 0 1.15rem; + border-radius: 9999px; + border: 1px solid var(--sl-color-gray-5); + background: transparent; + color: var(--sl-color-gray-2); + cursor: pointer; + transition: all 150ms ease; + margin: 0; +} + +.gen-carousel-pill:hover { + color: var(--sl-color-white); + border-color: var(--sl-color-gray-4); +} + +.gen-carousel-pill.is-active { + background: var(--sl-color-accent-low); + border-color: var(--sl-color-accent); + color: var(--sl-color-accent-high); +} + +.landing-community { + border-top: 1px solid var(--sl-color-gray-6); + border-bottom: 1px solid var(--sl-color-gray-6); + padding-top: 3rem; + padding-bottom: 3rem; +} + +.landing-community p { + margin: 0.25rem 0; + color: var(--sl-color-gray-2); +} + div.expressive-code { max-height: 600px; overflow: auto; @@ -278,7 +625,7 @@ p.badges > a { .drawer-title { margin: 0; font-size: 1.25rem; - font-weight: 600; + font-weight: 500; } .drawer-close {