-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature(website): mobile app download page (#860)
- Loading branch information
Showing
6 changed files
with
141 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"title": "Mobile App für Empfänger:innen", | ||
"subtitle": "Mit der App kannst du Zahlungen von Social Income einfach verwalten, Umfragen ausfüllen und deine Daten aktualisieren.", | ||
"android": "Hast du ein Android Telefon?", | ||
"apple": "Hast du ein iPhone?" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"title": "Mobile App for Recipients", | ||
"subtitle": "Recipients with a smartphone can easily manage their payments, complete surveys and update their personal information all in one place.", | ||
"android": "Recipients with an Android phone", | ||
"apple": "Recipients with an iPhone" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"title": "App mobile per destinatari", | ||
"subtitle": "I destinatari con uno smartphone possono gestire facilmente i loro pagamenti, completare sondaggi e aggiornare le loro informazioni personali tutto in un unico posto.", | ||
"android": "Destinatari con un telefono Android", | ||
"apple": "Destinatari con un iPhone" | ||
} |
46 changes: 46 additions & 0 deletions
46
website/src/app/[lang]/[region]/(website)/app/(assets)/applestore.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions
22
website/src/app/[lang]/[region]/(website)/app/(assets)/playstore.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
import { DefaultPageProps } from '@/app/[lang]/[region]'; | ||
import { Translator } from '@socialincome/shared/src/utils/i18n'; | ||
import { BaseContainer, Typography } from '@socialincome/ui'; | ||
import Image from 'next/image'; | ||
import Link from 'next/link'; | ||
import Applestore from './(assets)/applestore.svg'; | ||
import Playstore from './(assets)/playstore.svg'; | ||
|
||
export default async function Page({ params }: DefaultPageProps) { | ||
const translator = await Translator.getInstance({ | ||
language: params.lang, | ||
namespaces: ['website-app'], | ||
}); | ||
|
||
return ( | ||
<BaseContainer className="flex flex-col items-start space-y-8 pt-16"> | ||
<div className="flex flex-col space-y-8"> | ||
<Typography as="h1" size="5xl" weight="bold" className="mx-auto text-center"> | ||
{translator.t('title')} | ||
</Typography> | ||
<Typography as="h2" size="xl" className="mx-auto w-2/3 text-center"> | ||
{translator.t('subtitle')} | ||
</Typography> | ||
</div> | ||
<div className="container mx-auto pb-24 pt-1 md:pt-6"> | ||
<div className="flex flex-col md:flex-row"> | ||
<div className="m-2 flex flex-col items-center justify-center p-4 md:w-1/2"> | ||
<Typography as="h2" size="xl" className="pb-4"> | ||
{translator.t('android')} | ||
</Typography> | ||
<Link | ||
href="https://play.google.com/store/apps/details?id=org.socialincome.app" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
<Image src={Playstore} width={150} height={50} alt="Playstore Button" /> | ||
</Link> | ||
</div> | ||
<div className="m-2 flex flex-col items-center justify-center p-4 md:w-1/2"> | ||
<Typography as="h2" size="xl" className="pb-4"> | ||
{translator.t('apple')} | ||
</Typography> | ||
<Link | ||
href="https://apps.apple.com/app/social-income/id6444860109" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
<Image src={Applestore} width={150} height={50} alt="Appstore Button" /> | ||
</Link> | ||
</div> | ||
</div> | ||
</div> | ||
</BaseContainer> | ||
); | ||
} |