Skip to content

Commit e7c908b

Browse files
authored
feat: framer app (calcom#24204)
* added framer app * new 1.jpeg * Update packages/app-store/framer/config.json
1 parent ad35e19 commit e7c908b

14 files changed

Lines changed: 83 additions & 0 deletions

File tree

packages/app-store/apps.metadata.generated.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ import facetime_config_json from "./facetime/config.json";
3333
import fathom_config_json from "./fathom/config.json";
3434
import { metadata as feishucalendar__metadata_ts } from "./feishucalendar/_metadata";
3535
import fonio_ai_config_json from "./fonio-ai/config.json";
36+
import framer_config_json from "./framer/config.json";
3637
import ga4_config_json from "./ga4/config.json";
3738
import { metadata as giphy__metadata_ts } from "./giphy/_metadata";
3839
import { metadata as googlecalendar__metadata_ts } from "./googlecalendar/_metadata";
@@ -142,6 +143,7 @@ export const appStoreMetadata = {
142143
fathom: fathom_config_json,
143144
feishucalendar: feishucalendar__metadata_ts,
144145
"fonio-ai": fonio_ai_config_json,
146+
framer: framer_config_json,
145147
ga4: ga4_config_json,
146148
giphy: giphy__metadata_ts,
147149
googlecalendar: googlecalendar__metadata_ts,

packages/app-store/apps.server.generated.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export const apiHandlers = {
3333
fathom: import("./fathom/api"),
3434
feishucalendar: import("./feishucalendar/api"),
3535
"fonio-ai": import("./fonio-ai/api"),
36+
framer: import("./framer/api"),
3637
ga4: import("./ga4/api"),
3738
giphy: import("./giphy/api"),
3839
googlecalendar: import("./googlecalendar/api"),
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
items:
3+
- 1.jpeg
4+
- 2.jpg
5+
- 3.jpg
6+
- 4.jpg
7+
---
8+
9+
{DESCRIPTION}
10+
11+
Introducing the official Cal.com component, now available in the Insert Panel under Forms.
12+
13+
Cal is a fully customizable scheduling software for individuals, businesses taking calls, and developers building scheduling platforms.
14+
15+
We’ve collaborated with the team to make it incredibly easy to let people schedule meetings via your Framer site.
16+
17+
This new component supports multiple layouts, theming, and light customization options to make the embeds match any design. Available now.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import { createDefaultInstallation } from "@calcom/app-store/_utils/installation";
2+
import type { AppDeclarativeHandler } from "@calcom/types/AppHandler";
3+
4+
import appConfig from "../config.json";
5+
6+
const handler: AppDeclarativeHandler = {
7+
appType: appConfig.type,
8+
variant: appConfig.variant,
9+
slug: appConfig.slug,
10+
supportsMultipleInstalls: false,
11+
handlerType: "add",
12+
redirect: {
13+
newTab: true,
14+
url: "https://www.framer.com/updates/cal-com",
15+
},
16+
createCredential: ({ appType, user, slug, teamId }) =>
17+
createDefaultInstallation({ appType, user: user, slug, key: {}, teamId }),
18+
};
19+
20+
export default handler;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default as add } from "./add";

packages/app-store/framer/components/.gitkeep

Whitespace-only changes.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"/*": "Don't modify slug - If required, do it using cli edit command",
3+
"name": "Framer",
4+
"slug": "framer",
5+
"type": "framer_other",
6+
"logo": "icon-dark.svg",
7+
"url": "https://www.framer.com/updates/cal-com",
8+
"variant": "other",
9+
"categories": ["other"],
10+
"publisher": "Framer B.V.",
11+
"email": "benjamin@framer.com",
12+
"description": "Add Cal.com to Framer, the design tool for websites. Design freely, publish fast, and scale with CMS, SEO, analytics, and more.",
13+
"isTemplate": false,
14+
"__createdUsingCli": true,
15+
"__template": "link-as-an-app"
16+
}

packages/app-store/framer/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * as api from "./api";
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"$schema": "https://json.schemastore.org/package.json",
3+
"private": true,
4+
"name": "@calcom/framer",
5+
"version": "0.0.0",
6+
"main": "./index.ts",
7+
"dependencies": {
8+
"@calcom/lib": "workspace:*"
9+
},
10+
"devDependencies": {
11+
"@calcom/types": "workspace:*"
12+
},
13+
"description": "Add Cal.com to Framer, the design tool for websites. Design freely, publish fast, and scale with CMS, SEO, analytics, and more.\r\r\r\r"
14+
}
67.4 KB
Loading

0 commit comments

Comments
 (0)