diff --git a/component/layout/SectionEvents/SectionEvents.jsx b/component/layout/SectionEvents/SectionEvents.jsx index 4e74f95c..f85c0a6d 100644 --- a/component/layout/SectionEvents/SectionEvents.jsx +++ b/component/layout/SectionEvents/SectionEvents.jsx @@ -18,20 +18,28 @@ export default function SectionEvents({ events }) {
-
- -
-

- {events?.title} -

-

{events?.event_time && moment(events?.event_time).format("MMMM Do YYYY, h:mm a")}

-
-
+ {events?.length > 0 ? ( +
+ +
+

+ {events?.title} +

+

+ {moment(events?.event_time).format("MMMM Do YYYY, h:mm a")} +

+
+
+ ) : ( +
+ There's no events yet! +
+ )}
diff --git a/component/layout/SectionVideos/SectionVideos.jsx b/component/layout/SectionVideos/SectionVideos.jsx index 37bfa61b..16fe0463 100644 --- a/component/layout/SectionVideos/SectionVideos.jsx +++ b/component/layout/SectionVideos/SectionVideos.jsx @@ -11,13 +11,13 @@ export default function SectionVideos() {
Video1 - +

- All you need to know about Supabase + What is (Simple Notification Service) SNS? | Nullcast

@@ -52,13 +52,13 @@ export default function SectionVideos() {
Video2 - +
-

All you need to know about Supabase

+

What is Zapier?

@@ -91,13 +91,13 @@ export default function SectionVideos() {
Video3 - +
-

All you need to know about Supabase

+

IoT Communication Protocol | Nullcast

diff --git a/public/images/temp/video1.png b/public/images/temp/video1.png deleted file mode 100644 index 8b14be30..00000000 Binary files a/public/images/temp/video1.png and /dev/null differ diff --git a/public/images/temp/video2.png b/public/images/temp/video2.png deleted file mode 100644 index defe106e..00000000 Binary files a/public/images/temp/video2.png and /dev/null differ diff --git a/public/images/temp/video3.png b/public/images/temp/video3.png deleted file mode 100644 index c8042ff4..00000000 Binary files a/public/images/temp/video3.png and /dev/null differ diff --git a/public/images/temp/yvideo1.png b/public/images/temp/yvideo1.png new file mode 100644 index 00000000..cfc0c474 Binary files /dev/null and b/public/images/temp/yvideo1.png differ diff --git a/public/images/temp/yvideo2.png b/public/images/temp/yvideo2.png new file mode 100644 index 00000000..3f053e2c Binary files /dev/null and b/public/images/temp/yvideo2.png differ diff --git a/public/images/temp/yvideo3.png b/public/images/temp/yvideo3.png new file mode 100644 index 00000000..4b52be7c Binary files /dev/null and b/public/images/temp/yvideo3.png differ