Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 4194 | Rev 4196 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 4194 Rev 4195
Línea 39... Línea 39...
39
                        const eventStart = new Date(event.start).toLocaleString()
39
                        const eventStart = new Date(event.start).toLocaleString()
40
                        const eventEnd = new Date(event.end).toLocaleString()
40
                        const eventEnd = new Date(event.end).toLocaleString()
Línea 41... Línea 41...
41
 
41
 
42
                        return (
42
                        return (
43
                            <div
43
                            <div
44
                                className='d-flex align-items-center flex-column rounded'
44
                                className='d-flex align-items-center flex-column rounded p-3'
45
                                key={event.id}
45
                                key={event.id}
46
                                style={{ background: event.backgroundColor, gap: '.5rem' }}
46
                                style={{ background: event.backgroundColor, gap: '.5rem' }}
47
                            >
47
                            >
48
                                <h4 style={{ color: event.textColor }}>{event.title}</h4>
48
                                <h4 style={{ color: event.textColor }}>{event.title}</h4>
49
                                <span style={{ color: event.textColor }}>{`${eventStart} - ${eventEnd}`}</span>
49
                                <span style={{ color: event.textColor }}>{`${eventStart} - ${eventEnd}`}</span>
50
                                <a
50
                                <a
51
                                    className="btn btn-secondary"
51
                                    className="btn btn-primary"
52
                                    href={event.url}
52
                                    href={event.url}
53
                                >
53
                                >
54
                                    Ingresar
54
                                    Ingresar
55
                                </a>
55
                                </a>