Skip to content

Commit 56fec73

Browse files
committed
Website SEO updates
1 parent 20e10b4 commit 56fec73

39 files changed

+105
-97
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ const userManagement = useBuildUserManagement({
371371

372372
The first beta release of FireCMS v3.0.0.
373373
Check all the new features and improvements in the [documentation](./what_is_new_v3)
374-
and the [migration guide](./docs/migrating_from_v2).
374+
and the [migration guide](./cloud/migrating_from_v2).
375375

376376
## [2.2.0] - 2023-11-09
377377

website/blog/2021-10-09-exciting_times.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ We have also added a lot of minor performance tweaks as well as design tweaks
6262
and improvements, including a very awesome new **dark mode**!
6363

6464
If you are using `FirebaseCMSApp` (previously `CMSApp`), so FireCMS as a
65-
standalone app, you will need to update some APIs (see the [Migrating from alpha versions](../docs/1.0.0/migrating_from_alpha_versions)).
65+
standalone app, you will need to update some APIs.
6666

6767
But, but, but...
6868
If you need more customisation you can now completely
@@ -84,18 +84,18 @@ behind their respective interfaces. This means you can replace any of those
8484
parts with your custom implementation!
8585

8686
We have three new types that abstract away the services provided by Firebase:
87-
- [`AuthDelegate`](/docs/1.0.0/api/types/authdelegate), in charge of handling
87+
- AuthDelegate, in charge of handling
8888
the auth operation such as login or sign out, and build the logged-in user.
89-
- [`DataSource`](/docs/1.0.0/api/interfaces/datasource), in charge of handling data
89+
- DataSource, in charge of handling data
9090
operation (fetch, listen, save, delete).
91-
- [`StorageSource`](/docs/1.0.0/api/interfaces/storagesource), in charge of dealing
91+
- StorageSource, in charge of dealing
9292
with file storage operations.
9393

9494
We provide implementation for using Firebase Auth, Firestore and Firebase Storage,
9595
assigned by default if you use `FirebaseCMSApp`.
9696

9797
This means that you are now able to use FireCMS with any backend, auth or storage
98-
solution. If you want to go this way, you can check an [example implementation](../docs/1.0.0/custom_cms_app)
98+
solution. If you want to go this way, you can check an example implementation
9999
of FireCMS that uses the internal components instead of `FirebaseCMSApp`
100100

101101
:::note How did it go?

website/blog/2024-01-31-beta_launch_3_0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ provide support, and a live web app where you can find your projects.
185185

186186
### How to get started?
187187

188-
Go to [app.firecms.co](http://app.firecms.co/) and create your project.
188+
Go to [app.firecms.co](https://app.firecms.co/) and create your project.
189189

190190
### What are you going to build?
191191

website/docs/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ const userManagement = useBuildUserManagement({
375375

376376
The first beta release of FireCMS v3.0.0.
377377
Check all the new features and improvements in the [documentation](./what_is_new_v3)
378-
and the [migration guide](./docs/migrating_from_v2).
378+
and the [migration guide](./cloud/migrating_from_v2).
379379

380380
## [2.2.0] - 2023-11-09
381381

website/docs/api_index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
In this section you will find all the possible configurations and types
22
related to FireCMS.
33

4-
For a general overview of the library it's better to start in the [docs](./index.mdx)
5-
section

website/docs/cloud/cloud_quickstart.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ have already created in the Cloud version... Awesome!
6565

6666
If you want to deploy to FireCMS Cloud your module must export a
6767
`FireCMSAppConfig` object. You can find more information about this object
68-
in the [App config section](./cloud/app_config) reference.
68+
in the [App config section](./app_config) reference.
6969

7070
:::important
7171
Vite uses the default url `http://127.0.0.1:5173` for the development server

website/docs/cloud/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ Just sign up and start using it!
3939
<DocsCloudCTA/>
4040

4141
After you have created your FireCMS project, you can either use it directly or [customize it
42-
by uploading your own code](./cloud/quickstart).
42+
by uploading your own code](./quickstart).
4343

website/docs/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ FireCMS imposes **no data structure restrictions**, allowing seamless integratio
2626
FireCMS **3.0** is the latest version of FireCMS. It can be used in different ways:
2727
- As a managed service in the Cloud: [**FireCMS Cloud**](https://app.firecms.co). In this version you can create and
2828
manage your content in a user-friendly interface, and use it as a no-code tool, or extend its functionality with code.
29-
- You also have self-hosted options in the [**PRO**](/docs/pro) plan and community plan. In this versions, you need to deploy FireCMS to
29+
- You also have self-hosted options in the [**PRO**](/pro) plan and community plan. In this versions, you need to deploy FireCMS to
3030
your server, and you have full control over the code, with many customization options.
3131

3232
### Navigation
@@ -43,5 +43,5 @@ for more information.
4343

4444
You have two main ways of creating the top-level views in FireCMS, either creating **entity collections** that get
4545
mapped to CMS views, or create your own top-level **React views**:
46-
- Check all the possible configurations for defining [**collections**](./collections/collections)
46+
- Check all the possible configurations for defining [**collections**](./collections)
4747
- Otherwise, you can define your own [**custom top-level views**](./custom_top_level_views.mdx).

website/docs/pro/entity_history.mdx

Lines changed: 30 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,15 @@ import React from "react";
2929
import { FirebaseCMSApp } from "@firecms/core";
3030
import { useEntityHistoryPlugin } from "@firecms/entity_history";
3131

32-
// Basic setup with default options
33-
const entityHistoryPlugin = useEntityHistoryPlugin();
3432

3533
export default function App() {
34+
35+
// Basic setup with default options
36+
const entityHistoryPlugin = useEntityHistoryPlugin({
37+
// This can be overridden by setting `history: false` in a specific collection
38+
defaultEnabled: true
39+
});
40+
3641
return <FirebaseCMSApp
3742
name={"My Online Shop"}
3843
plugins={[entityHistoryPlugin]}
@@ -64,34 +69,34 @@ const productsCollection = buildCollection({
6469

6570
## Advanced Configuration
6671

67-
You can customize the plugin's behavior by passing props to `useEntityHistoryPlugin`:
72+
You can customize the plugin's behavior by passing props to `useEntityHistoryPlugin`.
73+
If you are using the user management plugin, you can provide a function to resolve user details from a UID.
74+
You can also pass your own custom `getUser` function to fetch user details.
6875

6976
```tsx
7077
import { useEntityHistoryPlugin } from "@firecms/entity_history";
7178
import { User } from "@firecms/core";
7279

73-
// Example function to fetch user details
74-
const myGetUserFunction = (uid: string): User | null => {
75-
// Replace with your actual user fetching logic
76-
if (uid === "user123") {
77-
return {
78-
uid: "user123",
79-
displayName: "John Doe",
80-
email: "john.doe@example.com",
81-
photoURL: "url_to_photo"
82-
} as User;
83-
}
84-
return null;
85-
};
86-
87-
const entityHistoryPlugin = useEntityHistoryPlugin({
88-
// Enable history for all collections by default
89-
// This can be overridden by setting `history: false` in a specific collection
90-
defaultEnabled: true,
91-
92-
// Provide a function to resolve user details from a UID
93-
getUser: myGetUserFunction
94-
});
80+
export function App() {
81+
82+
// ...
83+
84+
const userManagement = useBuildUserManagement({
85+
dataSourceDelegate: firestoreDelegate,
86+
authController: authController
87+
});
88+
89+
const entityHistoryPlugin = useEntityHistoryPlugin({
90+
// Enable history for all collections by default
91+
// This can be overridden by setting `history: false` in a specific collection
92+
defaultEnabled: true,
93+
94+
// Provide a function to resolve user details from a UID
95+
getUser: userManagement.getUser
96+
});
97+
98+
// ...
99+
}
95100
```
96101

97102
## Configuration Options

website/docs/pro/sample_pro.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,4 +285,4 @@ the routing, but you are free to replace it with your own routing system.
285285
```
286286

287287

288-
Find more details about the main components in the [Main Components](main_components) section.
288+
Find more details about the main components in the [Main Components](../self/main_components) section.

website/docs/properties/conditional_fields.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ description: In FireCMS, conditional fields allow for dynamic property configura
77

88
When defining the properties of a collection, you can choose to use a builder
99
[`PropertyBuilder`](../api/type-aliases/PermissionsBuilder), instead of assigning the
10-
property configuration directly. In the builder you
11-
receive [`PropertyBuilderProps`](../api/type-aliases/PermissionsBuilderProps)
12-
and return your property.
10+
property configuration directly.
1311

1412
This is useful for changing property configurations like available values on the
1513
fly, based on other values.

website/docs/properties/config/array.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,5 +159,4 @@ Based on your configuration the form field widgets that are created are:
159159
- [`BlockFieldBinding`](../../api/functions/BlockFieldBinding) if the `oneOf` property is specified
160160

161161
Links:
162-
- [API](../../api/interfaces/arrayproperty)
163-
162+
- [API](../../api/interfaces/ArrayProperty)

website/docs/properties/config/boolean.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ The widget that gets created is
2626
- [`SwitchFieldBinding`](../../api/functions/SwitchFieldBinding) simple boolean switch
2727

2828
Links:
29-
- [API](../../api/interfaces/booleanproperty)
29+
- [API](../../api/interfaces/BooleanProperty)

website/docs/properties/config/string.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ Based on your configuration the form field widgets that are created are:
225225
- [`StorageUploadFieldBinding`](../../api/functions/StorageUploadFieldBinding)
226226
the property has a
227227
storage configuration.
228-
- [`MarkdownFieldBinding.`](../../api/functions/MarkdownFieldBinding) the
228+
- [`MarkdownEditorFieldBinding.`](../../api/functions/MarkdownEditorFieldBinding) the
229229
property has a
230230
markdown configuration.
231231

website/docs/properties/fields/text_fields.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ buildProperty({
8484
The data type is [`string`](../config/string).
8585

8686
Internally the component used
87-
is [`MarkdownFieldBinding`](../../api/functions/MarkdownFieldBinding).
87+
is [`MarkdownEditorFieldBinding`](../../api/functions/MarkdownEditorFieldBinding).
8888

8989

9090
### Url text field

website/docs/self/migrating_from_v3_beta.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ If you are migrating from previous beta versions of FireCMS PRO, you will need t
1010
The main components have changed theis composition. Instead of having a single `Scaffold` components with all the configuration,
1111
you have additionally an `AppBar` and a `Drawer` component.
1212

13-
More information about the main components can be found in the [Main Components](/docs/pro/main_components) section.
13+
More information about the main components can be found in the [Main Components](/docs/self/main_components) section.
1414

1515
### User management auth controller
1616

website/docusaurus.config.js

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ module.exports = {
2020
favicon: "img/favicon.ico",
2121
organizationName: "FireCMS S.L.",
2222
projectName: "FireCMS",
23+
trailingSlash: false,
2324
customFields: {
2425
env: process.env.NODE_ENV,
2526
docSearchApiKey: process.env.REACT_APP_DOC_SEARCH_KEY,
2627
docSearchAppId: process.env.REACT_APP_DOC_SEARCH_APP_ID
2728
},
2829
future: {
29-
// experimental_faster: false,
3030
experimental_faster: {
3131
swcJsLoader: true,
3232
swcJsMinimizer: true,
@@ -200,10 +200,6 @@ module.exports = {
200200
{
201201
name: "twitter:card",
202202
content: "summary"
203-
},
204-
{
205-
name: "keywords",
206-
content: "firebase, cms, gui, react, react cms, custom cms, firestore, firebase cms, headless cms, firebase admin, firebase admin sdk, strapi, sanity io, contentful, rowy, forest admin, ghost cms, keystone, wordpress, payload"
207203
}
208204
],
209205
colorMode:
@@ -501,6 +497,14 @@ module.exports = {
501497
item.priority = 0.9;
502498
} else if (item.url.startsWith("https://firecms.co/ui")) {
503499
item.priority = 0.8;
500+
} else if (item.url.startsWith("https://firecms.co/features")) {
501+
item.priority = 0.8;
502+
} else if (item.url.startsWith("https://firecms.co/agencies")) {
503+
item.priority = 0.8;
504+
} else if (item.url.startsWith("https://firecms.co/developers")) {
505+
item.priority = 0.8;
506+
} else if (item.url.startsWith("https://firecms.co/startups")) {
507+
item.priority = 0.8;
504508
} else if (item.url.startsWith("https://firecms.co/docs/api")) {
505509
item.priority = 0.3;
506510
} else if (item.url.startsWith("https://firecms.co/docs")) {

website/src/css/custom.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,10 @@ article {
295295
padding: 0 !important;
296296
}
297297

298+
article ol, article ul, article menu {
299+
padding: revert;
300+
}
301+
298302
@media (min-width: 768px) {
299303
article {
300304
padding: 32px !important;

website/src/pages/agencies.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function Agencies() {
4141
<meta property="og:title" content="FireCMS for Agencies - Build Better, Faster"/>
4242
<meta property="og:description"
4343
content="The open-source Headless CMS and Admin Panel builder for agencies using Firebase or MongoDB. Deliver powerful back-office tools for clients efficiently."/>
44-
<meta property="og:image" content="/img/firecms_logo.svg"/>
44+
<meta property="og:image" content="https://firecms.co/img/firecms_logo.svg"/>
4545
</Head>
4646

4747
<div className="flex flex-col min-h-screen">

website/src/pages/developers.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function DevelopersPage() {
2525
<meta property="og:title" content="FireCMS for Developers - Firestore/Firebase headless CMS"/>
2626
<meta property="og:description"
2727
content="FireCMS helps developers rapidly build internal tools, CRUD interfaces, and back-offices without the frontend hassle"/>
28-
<meta property="og:image" content="/img/firecms_logo.svg"/>
28+
<meta property="og:image" content="https://firecms.co/img/firecms_logo.svg"/>
2929
</Head>
3030

3131
<div className="flex flex-col min-h-screen">
@@ -81,7 +81,7 @@ function DevelopersPage() {
8181
className=""
8282
src={pricePreview}
8383
width="500"
84-
alt="Element"
84+
alt="Price textfield preview"
8585
/>
8686
</div>
8787
</div>

website/src/pages/features.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function FeaturesPage() {
2323
<meta property="og:title" content="FireCMS - Firestore/Firebase headless CMS"/>
2424
<meta property="og:description"
2525
content="FireCMS includes all the features you need to kickstart your project and all the customization options you may need."/>
26-
<meta property="og:image" content="/img/firecms_logo.svg"/>
26+
<meta property="og:image" content="https://firecms.co/img/firecms_logo.svg"/>
2727
{/*<script type="text/javascript">*/}
2828
{/* {clarityScript}*/}
2929
{/*</script>*/}

website/src/pages/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function Home() {
2828
<meta property="og:title" content="FireCMS - Firestore/Firebase headless CMS"/>
2929
<meta property="og:description"
3030
content="Headless CMS based on Firestore/Firebase, React and tailwindcss, and completely open-source"/>
31-
<meta property="og:image" content="/img/firecms_logo.svg"/>
31+
<meta property="og:image" content="https://firecms.co/img/firecms_logo.svg"/>
3232
<script type="application/ld+json">
3333
{JSON.stringify(softwareApplicationSchema)}
3434
</script>

website/src/pages/pricing.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@ function FeaturesPage() {
5252
<meta property="og:title" content="Pricing - FireCMS"/>
5353
<meta property="og:description"
5454
content="Self-hosted version and free Cloud tier, adaptive pricing for everyone"/>
55-
<meta property="og:image" content="/img/firecms_logo.svg"/>
55+
<meta property="og:image" content="https://firecms.co/img/firecms_logo.svg"/>
5656
{/*<script type="text/javascript">*/}
5757
{/* {clarityScript}*/}
5858
{/*</script>*/}
5959
</Head>
60-
<script type="application/ld+json">
61-
{JSON.stringify(schemaMarkup)}
62-
</script>
60+
{/*<script type="application/ld+json">*/}
61+
{/* {JSON.stringify(schemaMarkup)}*/}
62+
{/*</script>*/}
6363

6464
<Hero
6565
title={

website/src/pages/pro.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function ProPage() {
2323
<meta property="og:title" content="PRO - FireCMS"/>
2424
<meta property="og:description"
2525
content="FireCMS PRO is the CMS aimed at companies and agencies that need a high degree of customization and support."/>
26-
<meta property="og:image" content="/img/firecms_logo.svg"/>
26+
<meta property="og:image" content="https://firecms.co/img/firecms_logo.svg"/>
2727
{/*<script type="text/javascript">*/}
2828
{/* {clarityScript}*/}
2929
{/*</script>*/}

website/src/pages/startups.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function StartupsPage() {
5454
<meta property="og:title" content="FireCMS for Startups - Move Fast, Scale Smart"/>
5555
<meta property="og:description"
5656
content="The open-source Headless CMS and Admin Panel builder for startups using Firebase or MongoDB. Build powerful back-office tools 10x faster."/>
57-
<meta property="og:image" content="/img/firecms_logo.svg"/>
57+
<meta property="og:image" content="https://firecms.co/img/firecms_logo.svg"/>
5858
</Head>
5959

6060
<div className="flex flex-col min-h-screen">

website/src/pages/ui.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const UIPage: React.FC = () => {
1616
<meta property="og:title" content="FireCMS UI, batteries included"/>
1717
<meta property="og:description"
1818
content="A complete UI kit to develop apps in no time"/>
19-
<meta property="og:image" content="/img/firecms_logo.svg"/>
19+
<meta property="og:image" content="https://firecms.co/img/firecms_logo.svg"/>
2020
{/*<script type="text/javascript">*/}
2121
{/* {clarityScript}*/}
2222
{/*</script>*/}

website/src/partials/Quotes.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@ const reviewSchema = quotes.map((quote, index) => ({
7474
export const QuotesSection: React.FC = () => {
7575
return (
7676
<Panel color={"lighter"} includePadding={false} container={false}>
77-
<Head>
78-
<script type="application/ld+json">
79-
{JSON.stringify(reviewSchema)}
80-
</script>
81-
</Head>
77+
{/*<Head>*/}
78+
{/* <script type="application/ld+json">*/}
79+
{/* {JSON.stringify(reviewSchema)}*/}
80+
{/* </script>*/}
81+
{/*</Head>*/}
8282
<div
8383
className="py-16 px-8 flex flex-row gap-4 overflow-auto no-scrollbar">
8484
{
@@ -106,7 +106,7 @@ export const QuotesSection: React.FC = () => {
106106
<img loading="lazy"
107107
className="w-10 h-10 mt-4 rounded-full object-cover"
108108
src={avatar}
109-
alt="Element"/>
109+
alt={author}/>
110110
<cite
111111
className="not-italic block mt-4 text-sm font-bold uppercase text-center">~ {author}</cite>
112112
<cite

0 commit comments

Comments
 (0)