-
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #128 from covidpass-org/dev
Swedish translation and layout improvements
- Loading branch information
Showing
27 changed files
with
274 additions
and
100 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
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,21 @@ | ||
interface ButtonProps { | ||
text?: string, | ||
icon?: string, | ||
onClick: () => void, | ||
} | ||
|
||
function Button(props: ButtonProps): JSX.Element { | ||
return ( | ||
<button | ||
type="button" | ||
onClick={props.onClick} | ||
className="focus:outline-none h-20 bg-gray-400 dark:bg-gray-600 hover:bg-gray-500 text-white font-semibold rounded-md items-center flex justify-center"> | ||
{ | ||
props.icon && <img src={props.icon} className="w-12 h-12 mr-2 -ml-4" /> | ||
} | ||
{props.text} | ||
</button> | ||
) | ||
} | ||
|
||
export default Button; |
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 |
---|---|---|
@@ -1,20 +1,16 @@ | ||
import {useTranslation} from 'next-i18next'; | ||
|
||
interface CheckProps { | ||
text: string; | ||
} | ||
|
||
function Check(props: CheckProps): JSX.Element { | ||
const { t } = useTranslation(["index"]); | ||
|
||
return ( | ||
<li className="flex flex-row space-x-4 items-center"> | ||
<svg xmlns="http://www.w3.org/2000/svg" className="h-5 w-5 mx-2 fill-current text-green-500" viewBox="0 0 20 20" fill="currentColor"> | ||
<path fillRule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clipRule="evenodd" /> | ||
</svg> | ||
{props.text} | ||
</li> | ||
) | ||
return ( | ||
<li className="flex flex-row space-x-4 items-center"> | ||
<svg xmlns="http://www.w3.org/2000/svg" className="h-5 w-5 mx-2 fill-current text-green-500" viewBox="0 0 20 20" fill="currentColor"> | ||
<path fillRule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clipRule="evenodd" /> | ||
</svg> | ||
{props.text} | ||
</li> | ||
) | ||
} | ||
|
||
export default Check; |
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
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
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 |
---|---|---|
@@ -1,6 +1,3 @@ | ||
/// <reference types="next" /> | ||
/// <reference types="next/types/global" /> | ||
/// <reference types="next/image-types/global" /> | ||
|
||
// NOTE: This file should not be edited | ||
// see https://nextjs.org/docs/basic-features/typescript for more information. |
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
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 |
---|---|---|
|
@@ -12,14 +12,10 @@ function Imprint(): JSX.Element { | |
<Card step="§" heading={t('common:imprint')} content={ | ||
<div className="space-y-3"> | ||
<p className="font-bold">{t('imprint:heading')}</p> | ||
<p> | ||
Marvin Sextro<br /> | ||
Wilhelm-Busch-Str. 8A<br /> | ||
30167 Hannover<br /> | ||
</p> | ||
<p>Marvin Sextro</p> | ||
<p className="font-bold">{t('imprint:contact')}</p> | ||
<p> | ||
<a href="mailto:[email protected]" className="underline">[email protected]</a> | ||
<a href="mailto:[email protected]" className="underline">[email protected]</a> | ||
</p> | ||
<p className="font-bold">{t('imprint:euDisputeResolution')}</p> | ||
<p>{t('imprint:euDisputeResolutionParagraph')}</p> | ||
|
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
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 |
---|---|---|
|
@@ -49,12 +49,11 @@ function Privacy(): JSX.Element { | |
</div> | ||
<p className="font-bold">{t('privacy:contact')}</p> | ||
<p> | ||
Marvin Sextro<br/> | ||
Wilhelm-Busch-Str. 8A<br/> | ||
30167 Hannover<br/> | ||
Marvin Sextro | ||
<br/> | ||
{t('privacy:email')}: | ||
| ||
<a href="mailto:[email protected]">[email protected]</a> | ||
<a href="mailto:[email protected]" className="underline">[email protected]</a> | ||
<br/> | ||
{t('privacy:website')}: | ||
| ||
|
@@ -137,9 +136,9 @@ function Privacy(): JSX.Element { | |
</a> | ||
</li> | ||
<li> | ||
PayPal: | ||
Ko-fi: | ||
| ||
<a href="https://www.paypal.com/de/webapps/mpp/ua/privacy-full?locale.x=en_EN" className="underline"> | ||
<a href="https://more.ko-fi.com/privacy" className="underline"> | ||
{t('common:privacyPolicy')} | ||
</a> | ||
</li> | ||
|
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
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
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
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
Oops, something went wrong.