Feature/nym connect experimental software text (#2692)

* use experimental text
This commit is contained in:
Fouad
2022-12-14 13:04:54 +00:00
committed by GitHub
parent bb557985c0
commit 4ece8b7e8f
5 changed files with 18 additions and 10 deletions
+1 -1
View File
@@ -65,7 +65,7 @@
{
"title": "NymConnect",
"width": 240,
"height": 540,
"height": 575,
"resizable": false,
"decorations": false,
"transparent": true
+5 -1
View File
@@ -6,7 +6,11 @@ export const AppVersion = () => {
const { appVersion } = useClientContext();
return (
<Typography fontSize="small" textAlign="center" sx={{ color: 'grey.600' }}>
<Typography
fontSize="small"
textAlign="center"
sx={{ color: 'grey.600', position: 'absolute', bottom: 10, width: '100%' }}
>
Version {appVersion}
</Typography>
);
@@ -9,10 +9,9 @@ export const AppWindowFrame: React.FC = ({ children }) => (
display: 'grid',
borderRadius: '12px',
// screen height is 540px - These should add up to that
gridTemplateRows: '40px 470px 30px',
gridTemplateRows: '40px 1fr 30px',
bgcolor: 'nym.background.dark',
height: '100vh',
gridtemplateAreas: '"." "." "."',
}}
>
<CustomTitleBar />
@@ -76,9 +76,9 @@ export const ConnectionButton: React.FC<{
return (
<svg
opacity={disabled ? 0.75 : 1}
width="208"
height="208"
viewBox="0 0 208 208"
width="200"
height="200"
viewBox="0 0 200 200"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
+8 -3
View File
@@ -31,9 +31,14 @@ export const DefaultLayout: React.FC<{
<Box pt={1}>
{error && <InfoModal show title={error.title} description={error.message} onClose={clearError} />}
<ConnectionStatus status={ConnectionStatusKind.disconnected} />
<Typography fontWeight="400" fontSize="16px" textAlign="center" pt={2}>
Connect to the Nym <br /> mixnet for privacy.
</Typography>
<Box px={2}>
<Typography fontWeight="400" fontSize="16px" textAlign="center" mb={1}>
Connect to the Nym mixnet
</Typography>
<Typography textAlign="center" fontSize="small" sx={{ color: 'grey.500' }}>
This is experimental software. Do not rely on it for strong anonymity (yet).
</Typography>
</Box>
<ServiceProviderSelector services={services} onChange={handleServiceProviderChange} currentSp={currentSp} />
<ConnectionTimer />
<ConnectionButton