diff --git a/packages/firebase_firecms/src/types/auth.tsx b/packages/firebase_firecms/src/types/auth.tsx index e1e0b3f19..f166b507a 100644 --- a/packages/firebase_firecms/src/types/auth.tsx +++ b/packages/firebase_firecms/src/types/auth.tsx @@ -7,7 +7,6 @@ import { Role } from "./roles"; * @group Firebase */ export type FirebaseSignInProvider = -// | 'email' | "password" | "phone" | "anonymous" @@ -80,7 +79,7 @@ export type FirebaseAuthController = */ export type Authenticator = ({ user }: { /** - * Logged in user or null + * Logged-in user or null */ user: UserType | null; diff --git a/website/docs/collections/custom_entity_views.md b/website/docs/collections/entity_views.md similarity index 99% rename from website/docs/collections/custom_entity_views.md rename to website/docs/collections/entity_views.md index f57897bc5..555d1e0e4 100644 --- a/website/docs/collections/custom_entity_views.md +++ b/website/docs/collections/entity_views.md @@ -1,5 +1,5 @@ --- -id: custom_entity_views +id: entity_views title: Entity views sidebar_label: Entity views --- diff --git a/website/firebase.json b/website/firebase.json index 3546ef1c7..11856970e 100644 --- a/website/firebase.json +++ b/website/firebase.json @@ -1,18 +1,29 @@ { - "hosting": { - "public": "build", - "site": "firecms-landing-2", - "trailingSlash": false, - "ignore": [ - "firebase.json", - "**/.*", - "**/node_modules/**" - ], - "rewrites": [ - { - "source": "**", - "destination": "/index.html" - } + "hosting": { + "public": "build", + "site": "firecms-landing-2", + "trailingSlash": false, + "ignore": [ + "firebase.json", + "**/.*", + "**/node_modules/**" + ], + "rewrites": [ + { + "source": "**", + "destination": "/index.html" + } + ], + "headers": [ + { + "source": "/assets/**", + "headers": [ + { + "key": "Cache-Control", + "value": "public, max-age=31536000, s-maxage=31536000" + } ] - } + } + ] + } } diff --git a/website/src/partials/UsageExamples.tsx b/website/src/partials/UsageExamples.tsx index 6e7cacd23..65065d4ff 100644 --- a/website/src/partials/UsageExamples.tsx +++ b/website/src/partials/UsageExamples.tsx @@ -84,7 +84,7 @@ export function UsageExamples() { "absolute z-10 md:w-[800px] bg-gray-900" }> - - MedicalMotion App @@ -119,7 +120,7 @@ export function UsageExamples() { "absolute z-30 w-96 md:w-[720px] bg-gray-100" }> - -

+

Trusted by