Conversation
There was a problem hiding this comment.
Tira esse componente de dentro de HomepageFeatures, escolhe colocar ele desses dois jeitos aqui:
- src/components/ChatWidget.tsx; ou
- src/components/ChatWidget/index.tsx;
Eu prefiro o primeiro jeito.
There was a problem hiding this comment.
Esse arquivo tu vai remover depois de mover o ChatWidget.
There was a problem hiding this comment.
Pull Request Overview
This PR introduces new service pages for "MVP de Apps", "Design UX/UI" and "Desenvolvimento Web", adds a global ChatWidget to the app, and updates the site navigation to include a "Serviços" menu item.
- Added a global ChatWidget component in the Root layout.
- Created individual service pages with details, galleries, and CTAs.
- Updated the navigation configuration to include a new "Serviços" entry.
Reviewed Changes
Copilot reviewed 14 out of 17 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/theme/Root.tsx | Wraps the application with a ChatWidget for support functionality |
| src/pages/servicos/mvp-apps.tsx | Introduces the MVP de Apps service page with descriptions and image previews |
| src/pages/servicos/design-ux-ui.tsx | Adds the Design UX/UI service page with detailed content and a simple gallery |
| src/pages/servicos/desenvolvimento-web.tsx | Implements the Desenvolvimento Web service page with an overview and CTA |
| src/pages/servicos.tsx | Provides an overview using ServiceCards for all services |
| src/components/HomepageFeatures/ChatWidget/ChatWidget.tsx | Implements the chat widget component with options for WhatsApp, Messenger, and internal chat |
| docusaurus.config.ts | Adds a new navigation entry to link to the Serviços overview page |
Files not reviewed (3)
- src/components/HomepageFeatures/ChatWidget/styles.module.css: Language not supported
- src/pages/index.module.css: Language not supported
- src/pages/servicos.module.css: Language not supported
joao1barbosa
left a comment
There was a problem hiding this comment.
Faz as correções que o Paulo Hernane citou. De resto não me parece ter nenhum problema.
|
@paulo-cardoso71 puxas o que tem de novo na main antes de continuar programando, e coloca os assets novos pf! |
There was a problem hiding this comment.
Pull Request Overview
This PR adds new service pages and integrates a chatbot widget into the Docusaurus site. Key changes include the addition of multiple service pages (MVP de Apps, Design UX/UI, Desenvolvimento Web), a new Root component that integrates the ChatWidget, and updates to the navigation configuration.
Reviewed Changes
Copilot reviewed 17 out of 17 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| src/theme/Root.tsx | Introduces the Root component wrapping the application and ChatWidget. |
| src/pages/servicos/mvp-apps.tsx | Adds the MVP de Apps service page with image gallery and service details. |
| src/pages/servicos/design-ux-ui.tsx | Implements the Design UX/UI service page with detailed content and image gallery. |
| src/pages/servicos/desenvolvimento-web.tsx | Creates the Desenvolvimento Web service page with descriptions and examples. |
| src/pages/servicos.tsx | Provides an overview page for services using ServiceCard components. |
| src/pages/servicos.module.css | Defines styles for the service pages and service cards. |
| src/ChatWidget/* | Introduces the ChatWidget component and associated styling. |
| docusaurus.config.ts | Updates navigation to add a link for the Services page. |
Comments suppressed due to low confidence (1)
src/pages/servicos/mvp-apps.tsx:1
- [nitpick] The file comment does not match the actual file name; consider updating it to 'mvp-apps.tsx' for clarity.
// src/pages/servicos/mvp-de-apps.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Coloca chatwidget dentro de components não na src
|
|
||
| const ChatWidget: React.FC<ChatWidgetProps> = ({ | ||
| whatsappNumber = '5562996641935', // Substitua pelo número real de WhatsApp | ||
| messengerPageId = '123456789', // Substitua pelo ID da página do Facebook |
| window.open(`https://m.me/${messengerPageId}`, '_blank'); | ||
| setIsOpen(false); | ||
| } | ||
| // Para a opção 'internal', mantemos o chat aberto e mostramos a interface |
There was a problem hiding this comment.
Tira esse chat interno e o message
| {children} | ||
| <ChatWidget | ||
| whatsappNumber="5562996641935" // Substitua pelo número real | ||
| messengerPageId="123456789" // Substitua pelo ID da página do Facebook |
There was a problem hiding this comment.
Tira esse messenger a gente não tem por enquanto
There was a problem hiding this comment.
Tira meu número por enquanto também.
No description provided.