Skip to content

Commit e20e276

Browse files
committed
added info about Loofi arch
1 parent 2ce1561 commit e20e276

File tree

4 files changed

+455
-47
lines changed

4 files changed

+455
-47
lines changed

src/App.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,12 +422,14 @@ svg {
422422
#version .MuiIconButton-root {
423423
padding: 10px !important;
424424
}
425-
#version a {
425+
#version a,
426+
.link {
426427
cursor: pointer;
427428
color: #3090ff;
428429
text-decoration: none;
429430
}
430-
#version a:hover {
431+
#version a:hover,
432+
.link:hover {
431433
text-decoration: underline;
432434
}
433435
#version svg {

src/components/download.component.tsx

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import 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';
44
import axios from 'axios';
55

66
const 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&#39;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
);

src/components/experimental.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const Experimental = () => {
88
return (
99
<div className="p-10" id="version">
1010
<Alert
11-
severity="warning"
11+
severity="error"
1212
className="w-100 border-box alert-transparent"
1313
>
1414
<AlertTitle>Experimental Features</AlertTitle>

0 commit comments

Comments
 (0)