Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
fgatti675 committed Sep 11, 2024
1 parent 9af52e7 commit db85c96
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/firecms_core/src/components/EntityPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export const EntityPreviewContainer = React.forwardRef<HTMLDivElement, EntityPre
fullwidth ? "w-full" : "",
"items-center",
hover ? "hover:bg-slate-50 dark:hover:bg-gray-800 group-hover:bg-slate-50 dark:group-hover:bg-gray-800" : "",
size === "smallest" ? "p-1" : "p-2",
size === "smallest" ? "p-1" : "px-2 py-1",
"flex border rounded-lg",
onClick ? "cursor-pointer" : "",
defaultBorderMixin,
Expand Down
8 changes: 6 additions & 2 deletions website/blog/2024-09-10-hello_mongodb.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,16 @@ author_url: https://www.linkedin.com/in/marianmoldovan/
author_image_url: https://avatars.githubusercontent.com/u/1479084?v=4
---

![Dark mode](../static/img/mongo_header.png)


## Say Hi to MongoDB!

For FireCMS users, connecting to MongoDB just got a lot easier. While **FireCMS** has always offered the **flexibility** to integrate with various databases, we're thrilled to announce a dedicated package for seamless MongoDB integration.

How easy? **npm** easy `npm install @firecms/mongodb`.
How easy? **npm** easy `npm install @firecms/mongodb`, or **yarn** easy `yarn add @firecms/mongodb`.

This is part of our efforts to bring all the power of FireCMS with the [Pro](https://firecms.co/pro) version. The most advanced and flexible version of FireCMS.
This is part of our efforts to bring all the power of FireCMS with the [PRO](https://firecms.co/pro) version. The most advanced and flexible version of FireCMS.

### Why MongoDB?

Expand Down Expand Up @@ -71,6 +74,7 @@ const mongoDataSourceDelegate = useMongoDBDelegate({
```

And that's it. The rest of the job it's identical to any other FireCMS project.
Check the complete instruction in the [FireCMS MongoDB Documentation](https://firecms.co/docs/pro/mongodb).


### What are you going to build?
Expand Down
2 changes: 1 addition & 1 deletion website/docs/pro/mongodb.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
id: mongodb_integration
id: mongodb
title: Integrating MongoDB Atlas with FireCMS
sidebar_label: MongoDB Integration
---
Expand Down
2 changes: 1 addition & 1 deletion website/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module.exports = {
"pro/deployment",
"pro/app_check",
"firebase_setup",
"pro/mongodb_integration",
"pro/mongodb",
"pro/user_management",
"pro/custom_storage",
"pro/nextjs",
Expand Down
Binary file added website/static/img/mongo_header.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit db85c96

Please sign in to comment.