Include virtual room urls and update strings

This commit is contained in:
Leonardo Murça 2022-12-19 22:10:56 -03:00
parent abd66a137e
commit e173034532
4 changed files with 22 additions and 12 deletions

View file

@ -72,15 +72,18 @@ function AnnouncementsTab({
sx={{ display: 'flex', justifyContent: 'row' }} sx={{ display: 'flex', justifyContent: 'row' }}
> >
<img src={jitsiLogo} alt="Jitsi Meet" /> <img src={jitsiLogo} alt="Jitsi Meet" />
<h3 style={{ fontWeight: 500 }}>Jitsi</h3> <h3 style={{ fontWeight: 500 }}>
Sala de aula virtual
</h3>
</Container> </Container>
<Button <Button
sx={{ marginTop: '15px' }}
variant="contained" variant="contained"
href="https://google.com" href={classroom.virtualRoom}
target="__blank" target="__blank"
> >
Entrar Iniciar aula
</Button> </Button>
</Stack> </Stack>
</Card> </Card>
@ -219,15 +222,14 @@ function AnnouncementsTab({
sx={{ display: 'flex', justifyContent: 'row' }} sx={{ display: 'flex', justifyContent: 'row' }}
> >
<img src={jitsiLogo} alt="Jitsi Meet" /> <img src={jitsiLogo} alt="Jitsi Meet" />
<h3 style={{ fontWeight: 500 }}>Jitsi</h3> <h3 style={{ fontWeight: 500 }}>Sala de aula virtual</h3>
</Container> </Container>
<Button <Button
variant="contained" variant="contained"
href="https://google.com" href={classroom.virtualRoom}
target="__blank" target="__blank"
> >
Entrar Iniciar aula
</Button> </Button>
</Stack> </Stack>
</Card> </Card>

View file

@ -10,12 +10,10 @@ const desktopPaper = classColor => ({
}); });
const desktopTabs = { const desktopTabs = {
display: 'flex',
marginLeft: '-20px', marginLeft: '-20px',
marginRight: '-20px', marginRight: '-20px',
marginBottom: '-20px', marginBottom: '-30px',
marginTop: '30px', marginTop: '30px',
padding: '10px',
}; };
const desktopAvatar = { const desktopAvatar = {

View file

@ -64,7 +64,9 @@ function AnnouncementsTab({ layoutType, announcementsTabData, classroom }) {
sx={{ display: 'flex', justifyContent: 'row' }} sx={{ display: 'flex', justifyContent: 'row' }}
> >
<img src={jitsiLogo} alt="Jitsi Meet" /> <img src={jitsiLogo} alt="Jitsi Meet" />
<h3 style={{ fontWeight: 500 }}>Jitsi</h3> <h3 style={{ fontWeight: 500 }}>
Sala de aula virtual
</h3>
</Container> </Container>
<Button <Button
@ -205,7 +207,7 @@ function AnnouncementsTab({ layoutType, announcementsTabData, classroom }) {
sx={{ display: 'flex', justifyContent: 'row' }} sx={{ display: 'flex', justifyContent: 'row' }}
> >
<img src={jitsiLogo} alt="Jitsi Meet" /> <img src={jitsiLogo} alt="Jitsi Meet" />
<h3 style={{ fontWeight: 500 }}>Jitsi</h3> <h3 style={{ fontWeight: 500 }}>Sala de aula virtual</h3>
</Container> </Container>
<Button <Button

View file

@ -4,6 +4,7 @@ const allClassrooms = [
name: 'Introdução à Ciência de Dados', name: 'Introdução à Ciência de Dados',
abbreviation: 'ICD', abbreviation: 'ICD',
color: '#006FF2', color: '#006FF2',
virtualRoom: 'https://meet.jit.si/ifmg-icd-321',
teachers: [ teachers: [
{ {
id: '2342', id: '2342',
@ -22,6 +23,7 @@ const allClassrooms = [
name: 'Gestão de Projetos', name: 'Gestão de Projetos',
abbreviation: 'GP', abbreviation: 'GP',
color: '#7900F2', color: '#7900F2',
virtualRoom: 'https://meet.jit.si/ifmg-gp-123',
teachers: [ teachers: [
{ {
id: '1234', id: '1234',
@ -45,6 +47,7 @@ const allClassrooms = [
name: 'Banco de Dados II', name: 'Banco de Dados II',
abbreviation: 'BDII', abbreviation: 'BDII',
color: '#FF7A00', color: '#FF7A00',
virtualRoom: 'https://meet.jit.si/ifmg-bdii-666',
teachers: [ teachers: [
{ {
id: '6781', id: '6781',
@ -63,6 +66,7 @@ const allClassrooms = [
name: 'Contabilidade Básica', name: 'Contabilidade Básica',
abbreviation: 'CB', abbreviation: 'CB',
color: '#BB0000', color: '#BB0000',
virtualRoom: 'https://meet.jit.si/ifmg-cb-765',
teachers: [ teachers: [
{ {
id: '4321', id: '4321',
@ -80,6 +84,7 @@ const allClassrooms = [
name: 'Linguagens de Programação', name: 'Linguagens de Programação',
abbreviation: 'LP', abbreviation: 'LP',
color: '#039200', color: '#039200',
virtualRoom: 'https://meet.jit.si/ifmg-lp-333',
teachers: [ teachers: [
{ {
id: '9999', id: '9999',
@ -101,6 +106,7 @@ const professorClassrooms = [
name: 'Introdução à Ciência de Dados', name: 'Introdução à Ciência de Dados',
abbreviation: 'ICD', abbreviation: 'ICD',
color: '#006FF2', color: '#006FF2',
virtualRoom: 'https://meet.jit.si/ifmg-icd-321',
course: 'BSI 2020', course: 'BSI 2020',
appointmentSlots: [ appointmentSlots: [
{ weekDay: 'Quarta-feira', start: '10:00', end: '11:40' }, { weekDay: 'Quarta-feira', start: '10:00', end: '11:40' },
@ -112,6 +118,7 @@ const professorClassrooms = [
name: 'Teoria dos Grafos', name: 'Teoria dos Grafos',
abbreviation: 'TDG', abbreviation: 'TDG',
color: '#d30000', color: '#d30000',
virtualRoom: 'https://meet.jit.si/ifmg-tdg-123',
course: 'BSI 2018', course: 'BSI 2018',
appointmentSlots: [ appointmentSlots: [
{ weekDay: 'Quarta-feira', start: '11:00', end: '12:00' }, { weekDay: 'Quarta-feira', start: '11:00', end: '12:00' },
@ -123,6 +130,7 @@ const professorClassrooms = [
name: 'Matemática Discreta', name: 'Matemática Discreta',
abbreviation: 'MD', abbreviation: 'MD',
color: '#149b00', color: '#149b00',
virtualRoom: 'https://meet.jit.si/ifmg-md-666',
course: 'BSI 2020', course: 'BSI 2020',
appointmentSlots: [ appointmentSlots: [
{ weekDay: 'Quarta-feira', start: '9:00', end: '10:00' }, { weekDay: 'Quarta-feira', start: '9:00', end: '10:00' },