diff --git a/apps/web/components/getting-started/components/CalendarItem.tsx b/apps/web/components/getting-started/components/CalendarItem.tsx index 67f2f76994..f04c503877 100644 --- a/apps/web/components/getting-started/components/CalendarItem.tsx +++ b/apps/web/components/getting-started/components/CalendarItem.tsx @@ -6,17 +6,17 @@ import { Button } from "@calcom/ui"; interface ICalendarItem { title: string; description?: string; - imageSrc: string; + logo: string; type: App["type"]; } const CalendarItem = (props: ICalendarItem) => { - const { title, imageSrc, type } = props; + const { title, logo, type } = props; const { t } = useLocale(); return (
- {title} + {title}

{title}

{ firstCalendar && firstCalendar.integration && firstCalendar.integration.title && - firstCalendar.integration.imageSrc && ( + firstCalendar.integration.logo && ( <> 0 ? firstCalendar.calendars[0].externalId @@ -59,12 +59,12 @@ const ConnectedCalendars = (props: IConnectCalendarsProps) => { {queryIntegrations.data && queryIntegrations.data.items.map((item) => (
  • - {item.title && item.imageSrc && ( + {item.title && item.logo && ( )}
  • diff --git a/packages/app-store/around/config.json b/packages/app-store/around/config.json index 8322367ae7..e695ea9590 100644 --- a/packages/app-store/around/config.json +++ b/packages/app-store/around/config.json @@ -4,7 +4,6 @@ "title": "Around", "slug": "around", "type": "around_video", - "imageSrc": "/api/app-store/around/icon.svg", "logo": "/api/app-store/around/icon.svg", "url": "https://cal.com/apps/around", "variant": "conferencing", diff --git a/packages/app-store/googlecalendar/_metadata.ts b/packages/app-store/googlecalendar/_metadata.ts index f8ad911793..3a36107423 100644 --- a/packages/app-store/googlecalendar/_metadata.ts +++ b/packages/app-store/googlecalendar/_metadata.ts @@ -9,7 +9,6 @@ export const metadata = { installed: !!(process.env.GOOGLE_API_CREDENTIALS && validJson(process.env.GOOGLE_API_CREDENTIALS)), type: "google_calendar", title: "Google Calendar", - imageSrc: "/api/app-store/googlecalendar/icon.svg", variant: "calendar", category: "calendar", categories: ["calendar"], diff --git a/packages/app-store/sylapsvideo/config.json b/packages/app-store/sylapsvideo/config.json index 76635d05be..e7ed99d558 100644 --- a/packages/app-store/sylapsvideo/config.json +++ b/packages/app-store/sylapsvideo/config.json @@ -4,8 +4,8 @@ "title": "Sylaps", "slug": "sylaps", "type": "sylaps_video", - "imageSrc": "/api/app-store/sylaps/icon.svg", - "logo": "/api/app-store/sylaps/icon.svg", + "imageSrc": "icon.svg", + "logo": "icon.svg", "url": "https://cal.com/apps/sylaps", "variant": "conferencing", "categories": ["video"], diff --git a/packages/app-store/templates/basic/config.json b/packages/app-store/templates/basic/config.json index e06dae2b5f..27c2ff6974 100644 --- a/packages/app-store/templates/basic/config.json +++ b/packages/app-store/templates/basic/config.json @@ -3,7 +3,6 @@ "name": "Basic", "slug": "basic", "type": "basic_other", - "imageSrc": "icon.svg", "logo": "icon.svg", "url": "https://example.com/link", "variant": "other", diff --git a/packages/app-store/templates/booking-pages-tag/config.json b/packages/app-store/templates/booking-pages-tag/config.json index 9f80aaf414..713f6cf8ad 100644 --- a/packages/app-store/templates/booking-pages-tag/config.json +++ b/packages/app-store/templates/booking-pages-tag/config.json @@ -2,7 +2,6 @@ "name": "Booking Pages Tag", "slug": "booking-pages-tag", "type": "booking-pages-tag_analytics", - "imageSrc": "icon.svg", "logo": "icon.svg", "url": "https://example.com/link", "variant": "analytics", diff --git a/packages/app-store/templates/event-type-app-card/config.json b/packages/app-store/templates/event-type-app-card/config.json index af1fd9917b..53ef28653a 100644 --- a/packages/app-store/templates/event-type-app-card/config.json +++ b/packages/app-store/templates/event-type-app-card/config.json @@ -2,7 +2,6 @@ "name": "EventType AppCard", "slug": "event-type-app-card", "type": "event-type-app-card_other", - "imageSrc": "icon.svg", "logo": "icon.svg", "url": "https://example.com/link", "variant": "other", diff --git a/packages/app-store/templates/event-type-location-video-static/config.json b/packages/app-store/templates/event-type-location-video-static/config.json index eb2afc9501..18b2d024e7 100644 --- a/packages/app-store/templates/event-type-location-video-static/config.json +++ b/packages/app-store/templates/event-type-location-video-static/config.json @@ -3,7 +3,6 @@ "name": "EventType Location Video - Static", "slug": "event-type-location-video-static", "type": "event-type-location-video-static_video", - "imageSrc": "icon.svg", "logo": "icon.svg", "url": "https://example.com/link", "variant": "conferencing", diff --git a/packages/app-store/templates/general-app-settings/config.json b/packages/app-store/templates/general-app-settings/config.json index 8cf6d0f3f1..8dc407a4dd 100644 --- a/packages/app-store/templates/general-app-settings/config.json +++ b/packages/app-store/templates/general-app-settings/config.json @@ -2,7 +2,6 @@ "name": "General App Settings", "slug": "general-app-settings", "type": "general-app-settings_other", - "imageSrc": "icon.svg", "logo": "icon.svg", "url": "https://example.com/link", "variant": "other", diff --git a/packages/app-store/templates/link-as-an-app/config.json b/packages/app-store/templates/link-as-an-app/config.json index bd695dbf55..86472367b8 100644 --- a/packages/app-store/templates/link-as-an-app/config.json +++ b/packages/app-store/templates/link-as-an-app/config.json @@ -3,7 +3,6 @@ "name": "Link as An App", "slug": "link-as-an-app", "type": "link-as-an-app_other", - "imageSrc": "icon.svg", "logo": "icon.svg", "url": "https://example.com/link", "variant": "other", diff --git a/packages/app-store/utils.ts b/packages/app-store/utils.ts index 109a7a6fb4..f10193941b 100644 --- a/packages/app-store/utils.ts +++ b/packages/app-store/utils.ts @@ -60,7 +60,7 @@ export function getLocationGroupedOptions(integrations: ReturnType= 2 ? app.categories.find((category) => category !== "video") : app.category; if (!category) category = "video"; - const option = { ...app.locationOption, icon: app.imageSrc }; + const option = { ...app.locationOption, icon: app.logo }; if (apps[category]) { apps[category] = [...apps[category], option]; } else {