diff --git a/src/atoms/Icons/Remote.tsx b/src/atoms/Icons/Remote.tsx new file mode 100644 index 000000000..48abac016 --- /dev/null +++ b/src/atoms/Icons/Remote.tsx @@ -0,0 +1,14 @@ +import { Base, BaseProps } from './Base' + +export function Remote(props: BaseProps): JSX.Element { + return ( + + + + ) +} + +Remote.displayName = 'Remote' diff --git a/src/atoms/Icons/Time.tsx b/src/atoms/Icons/Time.tsx new file mode 100644 index 000000000..353012cb3 --- /dev/null +++ b/src/atoms/Icons/Time.tsx @@ -0,0 +1,14 @@ +import { Base, BaseProps } from './Base' + +export function Time(props: BaseProps): JSX.Element { + return ( + + + + ) +} + +Time.displayName = 'Time' diff --git a/src/atoms/Icons/index.tsx b/src/atoms/Icons/index.tsx index 77b57493c..b5c97b413 100644 --- a/src/atoms/Icons/index.tsx +++ b/src/atoms/Icons/index.tsx @@ -11,7 +11,9 @@ export * from './GoBack' export * from './Multimedia' export * from './Loader' export * from './Profile' +export * from './Remote' export * from './Schedule' +export * from './Time' export * from './TinyAlertInfo' export * from './TinyAlertError' export * from './TinyAlertWarning' diff --git a/src/documentation/pages/Organisms/CalendarDropdown.tsx b/src/documentation/pages/Organisms/CalendarDropdown.tsx index 90580aa16..e69a5d92b 100644 --- a/src/documentation/pages/Organisms/CalendarDropdown.tsx +++ b/src/documentation/pages/Organisms/CalendarDropdown.tsx @@ -271,7 +271,7 @@ const events = [ start: '2027-01-01T02:59:00.000Z', end: '2027-01-01T03:59:00.000Z', duration_in_minutes: 60, - type: 'answers-schedule-deadline', + type: 'cv-events', id_resource: 853909, associated_resource: { id: 1, @@ -299,7 +299,7 @@ const events = [ start: '2027-01-01T02:59:00.000Z', end: '2027-01-01T03:59:00.000Z', duration_in_minutes: 60, - type: 'answers-schedule-deadline', + type: 'in-person', id_resource: 848781, associated_resource: { id: 1, diff --git a/src/documentation/pages/Organisms/EventsList.tsx b/src/documentation/pages/Organisms/EventsList.tsx index 8a23ffa34..36efec0f2 100644 --- a/src/documentation/pages/Organisms/EventsList.tsx +++ b/src/documentation/pages/Organisms/EventsList.tsx @@ -80,6 +80,7 @@ export const EventsListPage = (): JSX.Element => { type="in-person" showCourse courseName="[Pruebas TI] - Herramientas para la Gestión Estratégica de Procesos" + duration={40} /> @@ -123,6 +124,7 @@ interface IEventList { color?: string // Color del curso asociado day: string // Día de la semana date: string // Fecha + duration_in_minutes?: number // Duración del evento en minutos time: string // Hora name: string // Nombre del evento hasNotification?: boolean // Indica si el evento tiene notificación diff --git a/src/molecules/Buttons/BtnTertiary.tsx b/src/molecules/Buttons/BtnTertiary.tsx index c32099130..6a095ad7b 100644 --- a/src/molecules/Buttons/BtnTertiary.tsx +++ b/src/molecules/Buttons/BtnTertiary.tsx @@ -11,6 +11,8 @@ import { Multimedia, AcademicRecord, Download, + Time, + Remote, } from '@/atoms/Icons' type XOR = T | U extends object @@ -31,6 +33,8 @@ export interface propsTertiaryBtn { | 'multimedia' | 'record' | 'download' + | 'time' + | 'remote' | 'noIcon' m?: string onClick?: (e: React.MouseEvent) => void @@ -90,6 +94,8 @@ export function BtnTertiary({ multimedia: , password: , record: , + time: