Skip to content

Commit 5bc900b

Browse files
committed
feat: integrate chatbot component and temporary drawer layout
- Added a temporary drawer layout to manage the side navigation and chatbot. - Implemented a ChatbotComponent that utilizes the mongodb-chatbot-ui package. - Enhanced the template to include a toggle button for the drawer and integrated the chatbot within the drawer. - Removed unnecessary whitespace in layout-wrapper component.
1 parent eebb379 commit 5bc900b

File tree

6 files changed

+1823
-60
lines changed

6 files changed

+1823
-60
lines changed

.env.example

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
NEXT_PUBLIC_CONTENTSTACK_API_KEY='apikey'
2-
NEXT_PUBLIC_CONTENTSTACK_DELIVERY_TOKEN='token'
3-
NEXT_PUBLIC_GOOGLE_ANALYTICS='<Tracking_ID>'
4-
NEXT_PUBLIC_ENVIRONMENT='staging'
1+
NEXT_PUBLIC_CONTENTSTACK_API_KEY=<apikey>
2+
NEXT_PUBLIC_CONTENTSTACK_DELIVERY_TOKEN=<token>
3+
NEXT_PUBLIC_GOOGLE_ANALYTICS=<Tracking_ID>
4+
NEXT_PUBLIC_ENVIRONMENT=staging
55

6-
OKTA_OAUTH2_CLIENT_ID='<client_id>'
7-
OKTA_OAUTH2_CLIENT_SECRET='<client_secret>'
8-
OKTA_OAUTH2_ISSUER='<mongodb_okta_url>`
9-
NEXTAUTH_URL='<okta_redirect_url>'
10-
SECRET='<your_generated_secret>'
6+
OKTA_OAUTH2_CLIENT_ID=<client_id>
7+
OKTA_OAUTH2_CLIENT_SECRET=<client_secret>
8+
OKTA_OAUTH2_ISSUER=<mongodb_okta_url>
9+
NEXTAUTH_URL=<okta_redirect_url>
10+
SECRET=<your_generated_secret>
11+
12+
NEXT_PUBLIC_CHATBOT_ENDPOINT=http://localhost:3030/api/v1

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@
8686
"fuse.js": "^7.0.0",
8787
"lodash": "^4.17.21",
8888
"marked": "^12.0.2",
89+
"mongodb-chatbot-ui": "^0.14.1",
8990
"next": "14.2.25",
9091
"next-auth": "^5.0.0-beta.18",
9192
"polished": "^4.3.1",

0 commit comments

Comments
 (0)