@@ -6,15 +6,18 @@ import {
66 Button ,
77 Grid ,
88 Tooltip ,
9+ Divider ,
910} from "@mui/material" ;
1011import { Colors } from "design/theme" ;
1112import React , { useRef } from "react" ;
13+ import { Color } from "three" ;
1214
1315const AboutPage : React . FC = ( ) => {
1416 const searchVideoRef = useRef < HTMLDivElement | null > ( null ) ;
1517 const previewVideoRef = useRef < HTMLDivElement | null > ( null ) ;
1618 const downloadVideoRef = useRef < HTMLDivElement | null > ( null ) ;
1719 const apiVideoRef = useRef < HTMLDivElement | null > ( null ) ;
20+ const convertVideoRef = useRef < HTMLDivElement | null > ( null ) ;
1821
1922 const videoData = [
2023 {
@@ -45,6 +48,13 @@ const AboutPage: React.FC = () => {
4548 video : "download_video.mp4" ,
4649 ref : downloadVideoRef ,
4750 } ,
51+ {
52+ src : "download.png" ,
53+ alt : "download icon" ,
54+ tip : "Download tutotial video" ,
55+ video : "download_video.mp4" ,
56+ ref : convertVideoRef ,
57+ } ,
4858 ] ;
4959
5060 const TutorialVideoItem = ( {
@@ -261,21 +271,67 @@ const AboutPage: React.FC = () => {
261271 >
262272 Getting Started with NeuroJSON
263273 </ Typography >
274+
264275 < Grid container spacing = { 5 } sx = { { mt : 3 } } >
276+ < Grid item xs = { 12 } >
277+ < Divider
278+ sx = { {
279+ opacity : 1 ,
280+ mb : 2 ,
281+ "&::before, &::after" : {
282+ // borderTopWidth: 2, // make the line more thicker
283+ // borderColor: Colors.secondaryPurple, // change the default line color
284+ } ,
285+ } }
286+ >
287+ < Typography
288+ variant = "h6"
289+ sx = { { color : Colors . darkPurple , fontWeight : 600 } }
290+ >
291+ Search
292+ </ Typography >
293+ </ Divider >
294+ </ Grid >
265295 < Grid item xs = { 12 } sm = { 6 } ref = { searchVideoRef } >
266296 < TutorialVideoItem
267297 title = "Search tutorial"
268298 videoUrl = "https://neurojson.io/io/download/static/videos/search_video.mp4"
269299 />
270300 </ Grid >
271-
301+ </ Grid >
302+ < Grid container spacing = { 5 } sx = { { mt : 3 } } >
303+ < Grid item xs = { 12 } >
304+ < Divider
305+ sx = { { borderColor : Colors . darkPurple , opacity : 1 , mb : 2 } }
306+ >
307+ < Typography
308+ variant = "h6"
309+ sx = { { color : Colors . darkPurple , fontWeight : 600 } }
310+ >
311+ Preview
312+ </ Typography >
313+ </ Divider >
314+ </ Grid >
272315 < Grid item xs = { 12 } sm = { 6 } ref = { previewVideoRef } >
273316 < TutorialVideoItem
274317 title = "Preview tutorial"
275318 videoUrl = "https://neurojson.io/io/download/static/videos/preview.mp4"
276319 />
277320 </ Grid >
278-
321+ </ Grid >
322+ < Grid container spacing = { 5 } sx = { { mt : 3 } } >
323+ < Grid item xs = { 12 } >
324+ < Divider
325+ sx = { { borderColor : Colors . darkPurple , opacity : 1 , mb : 2 } }
326+ >
327+ < Typography
328+ variant = "h6"
329+ sx = { { color : Colors . darkPurple , fontWeight : 600 } }
330+ >
331+ Download
332+ </ Typography >
333+ </ Divider >
334+ </ Grid >
279335 < Grid item xs = { 12 } sm = { 6 } ref = { apiVideoRef } >
280336 < TutorialVideoItem
281337 title = "Rest API - Python tutorial"
@@ -297,6 +353,29 @@ const AboutPage: React.FC = () => {
297353 />
298354 </ Grid >
299355 </ Grid >
356+ < Grid container spacing = { 5 } sx = { { mt : 3 } } >
357+ < Grid item xs = { 12 } >
358+ < Divider
359+ sx = { {
360+ opacity : 1 ,
361+ mb : 2 ,
362+ } }
363+ >
364+ < Typography
365+ variant = "h6"
366+ sx = { { color : Colors . darkPurple , fontWeight : 600 } }
367+ >
368+ Convert And Upload
369+ </ Typography >
370+ </ Divider >
371+ </ Grid >
372+ < Grid item xs = { 12 } sm = { 6 } ref = { convertVideoRef } >
373+ < TutorialVideoItem
374+ title = "Convert tutorial"
375+ videoUrl = "https://neurojson.io/io/download/static/videos/search_video.mp4"
376+ />
377+ </ Grid >
378+ </ Grid >
300379 </ Container >
301380 </ Box >
302381 </ Box >
0 commit comments