From 9dbd1401fc190b7e355b41ee763ea1473a43ddc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Mur=C3=A7a?= Date: Fri, 5 Aug 2022 18:12:57 -0300 Subject: [PATCH] Add jitsi card --- src/assets/jitsi.svg | 4 ++ src/screens/Classroom/View.js | 81 +++++++++++++++++++++++++++++++---- 2 files changed, 76 insertions(+), 9 deletions(-) create mode 100644 src/assets/jitsi.svg diff --git a/src/assets/jitsi.svg b/src/assets/jitsi.svg new file mode 100644 index 0000000..21179c3 --- /dev/null +++ b/src/assets/jitsi.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/screens/Classroom/View.js b/src/screens/Classroom/View.js index 2fd6111..6dd0677 100644 --- a/src/screens/Classroom/View.js +++ b/src/screens/Classroom/View.js @@ -1,6 +1,7 @@ import { Avatar, AvatarGroup, + Button, Card, Container, Grid, @@ -17,6 +18,7 @@ import { TAB_OPTIONS } from './tabOptions'; import styles from './styles'; import AnnouncementCard from '../../components/AnnouncementCard'; import { createArrayFrom1ToN } from '../../utils/createArrayFrom1ToN'; +import jitsiLogo from '../../assets/jitsi.svg'; function View({ layoutType, @@ -77,7 +79,15 @@ function View({ {announcementsTabData === null ? ( - + {createArrayFrom1ToN(2).map(i => ( + + ))} {createArrayFrom1ToN(4).map(i => ( @@ -94,14 +104,37 @@ function View({ ) : ( - + -

Próximas Atividades

+ + Jitsi Meet +

Jitsi

+
+ + +
+
+ + +

Próximas Atividades

{announcementsTabData.upcomingAssignments.map(ua => ( {ua.title} @@ -109,7 +142,7 @@ function View({ ))}
-
+
- - + {createArrayFrom1ToN(2).map(i => ( + + ))} {createArrayFrom1ToN(4).map(i => ( - + -

Próximas Atividades

+ + Jitsi Meet +

Jitsi

+
+ + +
+
+ + +

Próximas Atividades

{announcementsTabData.upcomingAssignments.map(ua => ( {ua.title} @@ -225,7 +288,7 @@ function View({ ))}
-
+