Skip to content

Commit

Permalink
Merge pull request #81 from ergoplatform/feature/issue-74/fix_mobile_…
Browse files Browse the repository at this point in the history
…wallet_app

Update ergo wallet app page
  • Loading branch information
deadit authored Oct 31, 2022
2 parents 5f47a21 + b55a11e commit 4d42e22
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
6 changes: 3 additions & 3 deletions components/getErg/Wallets.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,18 +96,18 @@ export default function Wallets() {
</div>
</a>

<Link href="/mobile-wallets">
<Link href="/ergo-wallet-app">
<a
rel="noreferrer"
className="flex flex-row h-28 border-x-[1px] border-[#585858] lg:border-0"
>
<div className="w-1/5 p-1 my-auto flex flex-col lg:flex-row lg:justify-start lg:gap-4 lg:ml-4">
<Logo className="w-6 h-6 mx-auto lg:mx-0 lg:w-12 lg:h-12" viewBox="0 0 82 82" />
<p className="text-center lg:my-auto">Ergo Mobile</p>
<p className="text-center lg:my-auto">Ergo Wallet App</p>
</div>
<div className="w-1/5 p-1 my-auto">
<WalletMobile className="w-4 h-4 mx-auto lg:hidden" viewBox="0 0 12 18" />
<p className="text-center mt-2 text-[12px]">Mobile</p>
<p className="text-center mt-2 text-[12px]">Desktop, Mobile</p>
</div>
<div className="w-1/5 p-1 my-auto">
<RoadmapInProgress className="w-8 h-8 mx-auto lg:w-12 lg:h-12" viewBox="0 0 33 32" />
Expand Down
5 changes: 5 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ const nextConfig = {
destination: '/privacy-policy/',
permanent: true,
},
{
source: '/mobile-wallets/',
destination: '/ergo-wallet-app/',
permanent: true,
},
];
},
reactStrictMode: true,
Expand Down
13 changes: 5 additions & 8 deletions pages/mobile-wallets.tsx → pages/ergo-wallet-app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ export default function MobileWallets() {
<main className="mt-0 mx-auto max-w-7xl px-6 sm:mt-12 sm:px-6 md:mt-16 lg:mt-20 lg:px-8 xl:mt-28">
<div className="sm:text-center lg:text-left">
<h1 className="text-4xl tracking-tight font-extrabold text-gray-900 sm:text-5xl md:text-6xl">
<span className="block xl:inline">Ergo Mobile Wallet</span>
<span className="block xl:inline">Ergo Wallet App</span>
</h1>
<p className="mt-3 text-base text-gray-500 sm:mt-5 sm:text-lg sm:max-w-xl sm:mx-auto md:mt-5 md:text-xl lg:mx-0">
Official Ergo Mobile Wallet for Android and iOS. Lightweight and simple to use.
Official Ergo Wallet App. Lightweight and simple to use.
</p>
<div className="mt-5 sm:mt-8 sm:flex sm:justify-center lg:justify-start">
<a
Expand All @@ -41,14 +41,14 @@ export default function MobileWallets() {
</a>
</div>
<p className="mt-3 text-lg text-gray-500 sm:mt-5 sm:text-lg sm:max-w-xl sm:mx-auto md:mt-5 md:text-lg lg:mx-0">
Sources available on{' '}
Desktop downloads on{' '}
<a
className="text-red-500 dark:text-red-500"
href="https://github.com/ergoplatform/ergo-wallet-android"
href="https://github.com/ergoplatform/ergo-wallet-app/releases"
target="_blank"
rel="noreferrer"
>
GitHub
releases page
</a>
</p>
</div>
Expand Down Expand Up @@ -352,9 +352,6 @@ export default function MobileWallets() {
ERGO provides much. We are working to get more and more of its features available in
the app.{' '}
</p>
<p className="lg:text-lg text-gray-100 text-sm">
Be the first to get new features by joining the open beta on Google Play!{' '}
</p>

<div className="sm:flex sm:justify-center mt-10">
<a
Expand Down

0 comments on commit 4d42e22

Please sign in to comment.