11import React , { useEffect , useState } from 'react' ;
2- import { Button , Tooltip } from '@mui/material' ;
3- import { Windows , MacOS , Linux } from '../lib/icons.component' ;
2+ import { Alert , AlertTitle , Button , Tooltip } from '@mui/material' ;
3+ import { Windows , MacOS , Linux , ExternalLink } from '../lib/icons.component' ;
44import axios from 'axios' ;
55
66const About = ( ) => {
@@ -20,7 +20,18 @@ const About = () => {
2020
2121 return (
2222 < div >
23- < div className = "mt-30 col-3" id = "download" >
23+ < Alert
24+ severity = "info"
25+ className = "m-10 w-100 border-box alert-transparent"
26+ >
27+ < AlertTitle > INFO</ AlertTitle >
28+ Currently, Loofi doesn't support < code > 32-bit</ code > { ' ' }
29+ systems. If you are running a < code > 32-bit</ code > system, you
30+ can still use it Loofi via Web. By default, Loofi installation
31+ are on Intel < code > x86_64</ code > architecture. To install Loofi
32+ on ARM architecture, please refer to source code.
33+ </ Alert >
34+ < div className = "col-3" id = "download" >
2435 < div className = "m-10" >
2536 < div className = "large-card" >
2637 < Windows />
@@ -33,6 +44,7 @@ const About = () => {
3344 < Button
3445 variant = "outlined"
3546 className = "w-100"
47+ disabled = { properties . isLoading }
3648 href = {
3749 ( ! properties . isLoading &&
3850 properties . downloadURL [ 'windows-x86_64' ]
@@ -56,6 +68,7 @@ const About = () => {
5668 < Button
5769 variant = "outlined"
5870 className = "w-100"
71+ disabled = { properties . isLoading }
5972 href = {
6073 ( ! properties . isLoading &&
6174 properties . downloadURL [ 'darwin-x86_64' ]
@@ -79,6 +92,7 @@ const About = () => {
7992 < Button
8093 className = "w-100"
8194 variant = "outlined"
95+ disabled = { properties . isLoading }
8296 href = {
8397 ( ! properties . isLoading &&
8498 properties . downloadURL [ 'linux-x86_64' ]
@@ -90,6 +104,22 @@ const About = () => {
90104 </ Button >
91105 </ div >
92106 </ div >
107+ < div className = "m-10" >
108+ < a
109+ target = "_blank noreferrer"
110+ className = "link block mb-10"
111+ href = "https://github.com/stanleyowen/loofi/releases/latest"
112+ >
113+ Source Code < ExternalLink />
114+ </ a >
115+ < a
116+ target = "_blank noreferrer"
117+ className = "link block"
118+ href = "https://github.com/stanleyowen/loofi/tags"
119+ >
120+ Previous Releases < ExternalLink />
121+ </ a >
122+ </ div >
93123 </ div >
94124 </ div >
95125 ) ;
0 commit comments