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

View file

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

View file

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

View file

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