Skip to content

Commit

Permalink
Change banner
Browse files Browse the repository at this point in the history
  • Loading branch information
pivilartisant committed Apr 19, 2024
1 parent b2975cc commit 1a3a2df
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 36 deletions.
2 changes: 1 addition & 1 deletion web/massastation/src/i18n/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"link": "Go back to the Welcome page!"
},
"index": {
"title-banner": "Decentralization made easy",
"title-banner": "Securely explore Massa's blockchain universe",
"buttons": {
"search": "Search Massa ecosystem",
"explore": "Explore module store"
Expand Down
3 changes: 1 addition & 2 deletions web/massastation/src/pages/Index/Dashboard/Explorer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ import Intl from '@/i18n/i18n';

export function Explorer() {
return (
<motion.div className="h-full" whileHover={{ scale: 1.05 }}>
<motion.div className="h-full" whileHover={{ scale: 1.03 }}>
<RedirectTile
size="cs"
url="https://explorer.massa.net/"
className="bg-brand rounded-md p-0 hover:bg-[#2EB688] hover:cursor-pointer h-full"
>
Expand Down
2 changes: 1 addition & 1 deletion web/massastation/src/pages/Index/Dashboard/Foundation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export function Foundation() {
<motion.div whileHover={{ scale: 1.05 }}>
<RedirectTile
url="https://massa.foundation/"
className="bg-neutral text-primary rounded-md p-0 hover:bg-c-hover hover:cursor-pointer h-fit"
className="bg-neutral text-primary rounded-md p-0 hover:bg-c-hover hover:cursor-pointer h-full"
>
<div className="h-full flex flex-col gap-4 p-4">
<p className="mas-subtitle">Massa Foundation</p>
Expand Down
2 changes: 1 addition & 1 deletion web/massastation/src/pages/Index/Dashboard/Massalabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Intl from '@/i18n/i18n';

export function MassaLabs() {
return (
<motion.div className="h-full" whileHover={{ scale: 1.05 }}>
<motion.div className="h-full" whileHover={{ scale: 1.03 }}>
<RedirectTile
style={{
backgroundImage: `url(${massaNodes})`,
Expand Down
60 changes: 29 additions & 31 deletions web/massastation/src/pages/Index/Index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,38 +79,36 @@ function NestedIndex({
<>
<div className="bg-primary text-f-primary pt-24">
<h1 className="mas-banner mb-10"> {Intl.t('index.title-banner')}</h1>
<div className="overflow-auto">
<div className="w-fit ">
<div className="flex gap-8 pb-10">
<Button
preIcon={<FiGlobe />}
customClass="w-96"
onClick={() => navigate(routeFor('search'))}
>
<div className="flex items-center mas-buttons">
{Intl.t('index.buttons.search')}
</div>
</Button>
<Button
variant="secondary"
preIcon={<FiCodepen />}
customClass="w-96"
onClick={() => navigate(routeFor('store'))}
>
<div className="flex items-center mas-buttons">
{Intl.t('index.buttons.explore')}
</div>
</Button>
</div>
<DashboardStation
massaPlugins={massaPlugins}
pluginWalletIsInstalled={pluginWalletIsInstalled}
urlPlugin={urlPlugin}
isLoading={isLoading}
handleInstallPlugin={handleInstallPlugin}
theme={theme}
/>
<div className="w-fit max-w-[1760px] ">
<div className="flex gap-8 pb-10">
<Button
preIcon={<FiGlobe />}
customClass="w-96"
onClick={() => navigate(routeFor('search'))}
>
<div className="flex items-center mas-buttons">
{Intl.t('index.buttons.search')}
</div>
</Button>
<Button
variant="secondary"
preIcon={<FiCodepen />}
customClass="w-96"
onClick={() => navigate(routeFor('store'))}
>
<div className="flex items-center mas-buttons">
{Intl.t('index.buttons.explore')}
</div>
</Button>
</div>
<DashboardStation
massaPlugins={massaPlugins}
pluginWalletIsInstalled={pluginWalletIsInstalled}
urlPlugin={urlPlugin}
isLoading={isLoading}
handleInstallPlugin={handleInstallPlugin}
theme={theme}
/>
</div>
</div>
</>
Expand Down

0 comments on commit 1a3a2df

Please sign in to comment.