diff --git a/front-end/src/Pages/Downloads.jsx b/front-end/src/Pages/Downloads.jsx index d16b59d6..132f29da 100644 --- a/front-end/src/Pages/Downloads.jsx +++ b/front-end/src/Pages/Downloads.jsx @@ -1,10 +1,9 @@ import React, { useState, useEffect } from 'react'; import axios from 'axios'; import fileDownload from '../assets/download.png'; -import fileDownload1 from '../assets/download2.png'; import { loggedInUser } from '../Pages/Login'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; -import { faDownload ,faTrash } from '@fortawesome/free-solid-svg-icons'; +import { faDownload ,faTrash, faEye } from '@fortawesome/free-solid-svg-icons'; const FileUploadDownload = () => { @@ -47,7 +46,7 @@ const FileUploadDownload = () => { const handleUpload = async () => { if (!selectedFile && !youtubeLink) { - alert('Please select a file or enter a YouTube link!'); + alert('Please select a file or enter a URL for the file!'); return; } @@ -149,19 +148,6 @@ const FileUploadDownload = () => { -
- -
- {loggedInUser.isLoggedIn && (
@@ -199,7 +185,7 @@ const FileUploadDownload = () => { {errorMessage &&

{errorMessage}

}
-

Download Files here

+ {/*

Download Files here

*/} {visibleToAllFiles.length > 0 ? ( visibleToAllFiles.map(file => (
@@ -208,7 +194,7 @@ const FileUploadDownload = () => {

{file.displayName}

- Watch Video + {loggedInUser.isLoggedIn && (
)) ) : ( -

No files visible to all

+

No files visible to Public

)} {loggedInUser.isLoggedIn && ( <> -

Files for the CYCLE Team

+

Files Only for the CYCLE Team

{visibleToLoggedInFiles.length > 0 ? ( visibleToLoggedInFiles.map(file => (
@@ -250,7 +236,7 @@ const FileUploadDownload = () => {

{file.displayName}

- Watch Video +