Skip to content

Commit

Permalink
Minor website
Browse files Browse the repository at this point in the history
  • Loading branch information
fgatti675 committed Jan 7, 2024
1 parent 0023375 commit a73c678
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 23 deletions.
3 changes: 1 addition & 2 deletions packages/firebase_firecms/src/types/auth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { Role } from "./roles";
* @group Firebase
*/
export type FirebaseSignInProvider =
// | 'email'
| "password"
| "phone"
| "anonymous"
Expand Down Expand Up @@ -80,7 +79,7 @@ export type FirebaseAuthController =
*/
export type Authenticator<UserType extends User = User> = ({ user }: {
/**
* Logged in user or null
* Logged-in user or null
*/
user: UserType | null;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
id: custom_entity_views
id: entity_views
title: Entity views
sidebar_label: Entity views
---
Expand Down
41 changes: 26 additions & 15 deletions website/firebase.json
Original file line number Diff line number Diff line change
@@ -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"
}
]
}
}
]
}
}
9 changes: 5 additions & 4 deletions website/src/partials/UsageExamples.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export function UsageExamples() {
"absolute z-10 md:w-[800px] bg-gray-900"
}>

<img loading="lazy" src={overlay}
<img loading="lazy" src={overlay}
className={"rounded-xl"}
style={{
// aspectRatio: 1280 / 700,
Expand All @@ -99,9 +99,10 @@ export function UsageExamples() {
top: 140 + 40 * parallaxOffset,
}}>
<PhoneFrame>
<img loading="lazy" src={MMApp}
<img loading="lazy"
src={MMApp}
style={{
aspectRatio: 272 / 570,
aspectRatio: 654 / 1336,
}}
alt="MedicalMotion App"
className=""/>
Expand All @@ -119,7 +120,7 @@ export function UsageExamples() {
"absolute z-30 w-96 md:w-[720px] bg-gray-100"
}>

<img loading="lazy" src={editorWhite}
<img loading="lazy" src={editorWhite}
className={"rounded-xl"}
style={{
aspectRatio: 1280 / 700,
Expand Down
2 changes: 1 addition & 1 deletion website/src/partials/home/Companies.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function Companies() {

return <Panel color={"light"}>

<h2 className={"text-2xl text-center text-gray-400"}>
<h2 className={"text-2xl text-center text-gray-600 dark:text-gray-400"}>
Trusted by
</h2>
<div
Expand Down

0 comments on commit a73c678

Please sign in to comment.