Skip to content

Commit

Permalink
Ms Revamp QA Fixes (#1355)
Browse files Browse the repository at this point in the history
  • Loading branch information
pivilartisant authored Apr 26, 2024
1 parent ba149a9 commit 2c1135b
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 90 deletions.
12 changes: 6 additions & 6 deletions web/massastation/src/assets/dashboard/PurrfectCat.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 0 additions & 54 deletions web/massastation/src/assets/wallet/walletActive.svg

This file was deleted.

22 changes: 0 additions & 22 deletions web/massastation/src/assets/wallet/walletInactive.svg

This file was deleted.

4 changes: 2 additions & 2 deletions web/massastation/src/i18n/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@
"dusa": "Dusa",
"massa-wallet": {
"title": "Massa Wallet",
"desc": "Official Massa Wallet",
"desc": "Official Massa Wallet.",
"crash": "{title} can’t be opened. Reinstall it from the Module store.",
"installing": "{title} installation",
"launch": "Launch",
"install": "Install",
"update": "Update",
"updating": "Updating...",
"click": "Click here",
"no-update": " to launch it without update"
"no-update": " to launch it without updating."
}
}
}
2 changes: 1 addition & 1 deletion web/massastation/src/pages/Index/Dashboard/Explorer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export function Explorer() {
<motion.div className="h-full" whileHover={{ scale: 1.03 }}>
<RedirectTile
url="https://explorer.massa.net/"
className="bg-brand rounded-md p-0 hover:bg-[#2EB688] hover:cursor-pointer h-full"
className="bg-brand rounded-t-md rounded-b-lg p-0 hover:bg-[#2EB688] hover:cursor-pointer h-full"
>
<div className="flex flex-col justify-end h-full">
<div className="flex items-center gap-2 p-4 ml-4 h-8 bg-secondary w-48 rounded-t-md">
Expand Down
14 changes: 10 additions & 4 deletions web/massastation/src/pages/Index/Dashboard/MassaWallet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ export function ActivePlugin(props: MSPluginProps) {
className="w-full h-full p-4"
/>
</div>
<div className="w-full h-full text-f-primary bg-secondary flex flex-col gap-1 justify-evenly items-center pb-4">
<div
className="w-full h-full text-f-primary bg-secondary flex flex-col
gap-1 justify-evenly items-center pb-4 rounded-b-md"
>
<div className="mas-subtitle text-center">{title}</div>
<div className="mas-body2">{Intl.t('modules.massa-wallet.desc')}</div>
<div className="w-3/5">
Expand Down Expand Up @@ -74,7 +77,10 @@ export function Updateplugin(props: MSPluginProps) {
className="w-full h-full p-4"
/>
</div>
<div className="w-full h-full text-f-primary bg-secondary flex flex-col gap-1 pb-4 justify-evenly items-center">
<div
className="w-full h-full text-f-primary bg-secondary flex flex-col gap-1 pb-4
justify-evenly items-center rounded-b-md"
>
<div className="mas-subtitle text-center">{title}</div>
<div className="flex flex-col gap-2">
<Button onClick={onClickActive}>
Expand Down Expand Up @@ -151,7 +157,7 @@ export function CrashedPlugin(props: MSPluginProps) {
className="w-full h-full p-4"
/>
</div>
<div className="w-full h-full py-6 text-f-primary bg-secondary flex flex-col items-center">
<div className="w-full h-full py-6 text-f-primary bg-secondary flex flex-col items-center rounded-b-md">
<div className="w-4/5 px-4 py-2 mas-buttons lg:h-14 flex items-center justify-center">
<p className="text-center">
{' '}
Expand Down Expand Up @@ -182,7 +188,7 @@ export function LoadingPlugin(props: MSPluginProps) {
className="w-full h-full p-4"
/>
</div>
<div className="w-full text-f-primary bg-secondary flex flex-col items-center gap-4 py-4">
<div className="w-full text-f-primary bg-secondary flex flex-col items-center gap-4 py-4 rounded-b-md">
<div className="w-4/5 mas-buttons flex items-center justify-center">
<p className="text-center">
{Intl.t('modules.massa-wallet.installing', {
Expand Down
4 changes: 3 additions & 1 deletion web/massastation/src/pages/Index/Dashboard/Purrfect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ export function Purrfect() {
<div
style={{
backgroundImage: `url(${purrfectCat})`,
backgroundSize: 'cover',
backgroundSize: 'contain',
backgroundPositionY: 'bottom',
backgroundPositionX: 'center',
backgroundRepeat: 'no-repeat',
}}
className="h-full flex flex-col gap-4 p-4"
Expand Down

0 comments on commit 2c1135b

Please sign in to comment.