diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.json index f043c66a4b8019..f8ffd5a4a609d3 100644 --- a/apps/web/public/static/locales/en/common.json +++ b/apps/web/public/static/locales/en/common.json @@ -1942,6 +1942,7 @@ "under_maintenance": "Down for maintenance", "under_maintenance_description": "The {{appName}} team are performing scheduled maintenance. If you have any questions, please contact support.", "event_type_seats": "{{numberOfSeats}} seats", + "event_type_insights": "{{numberOfBookings}} bookings", "booking_questions_title": "Booking questions", "booking_questions_description": "Customize the questions asked on the booking page", "add_a_booking_question": "Add a question", diff --git a/packages/features/eventtypes/components/EventTypeDescription.tsx b/packages/features/eventtypes/components/EventTypeDescription.tsx index b2ab67ca6f1d66..b77fd2446b84ee 100644 --- a/packages/features/eventtypes/components/EventTypeDescription.tsx +++ b/packages/features/eventtypes/components/EventTypeDescription.tsx @@ -1,4 +1,5 @@ import type { Prisma } from "@prisma/client"; +import Link from "next/link"; import { useMemo } from "react"; import type { z } from "zod"; @@ -70,6 +71,7 @@ export const EventTypeDescription = ({ )} + {eventType.schedulingType && eventType.schedulingType !== SchedulingType.MANAGED && (
  • @@ -128,6 +130,13 @@ export const EventTypeDescription = ({
  • ) : null} +
  • + + +

    {t("event_type_insights", { numberOfBookings: 42 })}

    +
    + +
  • diff --git a/packages/features/eventtypes/components/EventTypeLayout.tsx b/packages/features/eventtypes/components/EventTypeLayout.tsx index 4b2a69f05f1231..5fa600d760d9e8 100644 --- a/packages/features/eventtypes/components/EventTypeLayout.tsx +++ b/packages/features/eventtypes/components/EventTypeLayout.tsx @@ -189,6 +189,16 @@ function EventTypeSingleLayout({ )} )} + +