Skip to content

Commit

Permalink
chore: Update screenshots on README (#238)
Browse files Browse the repository at this point in the history
* Remove githubUrl from app.json

* Add screenshots

* Add new screenshot on README
  • Loading branch information
amaury1093 committed Oct 2, 2019
1 parent 9e86a1f commit 45ce94a
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 13 deletions.
18 changes: 12 additions & 6 deletions App/Screens/About/About.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,21 +48,27 @@ export const aboutSections = {
aboutWhyIsTheStationSoFarTitle: 'aboutWhyIsTheStationSoFarTitle'
};

const handleOpenAmaury = () =>
const handleOpenAmaury = () => {
Linking.openURL('https://twitter.com/amaurymartiny');
};

const handleOpenAqi = () => Linking.openURL('http:https://aqicn.org/');
const handleOpenAqi = () => {
Linking.openURL('http:https://aqicn.org/');
};

const handleOpenArticle = () =>
const handleOpenArticle = () => {
Linking.openURL(
'http:https://berkeleyearth.org/air-pollution-and-cigarette-equivalence/'
);
};

const handleOpenGithub = () =>
Linking.openURL(Constants.manifest.extra.githubUrl);
const handleOpenGithub = () => {
Linking.openURL('https://github.com/amaurymartiny/shoot-i-smoke');
};

const handleOpenMarcelo = () =>
const handleOpenMarcelo = () => {
Linking.openURL('https://www.behance.net/marceloscoelho');
};

interface AboutProps
extends NavigationInjectedProps<{
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ Know how many cigarettes you smoke based on the pollution of your location. :poo
## :camera: Screenshots

<p float="left">
<img src="https://lh3.googleusercontent.com/_5krR5h3Swz3rVYwIEX1xBI6rcKzqoagRkmHxk1gn3dyF8NAUO3CRLHyi9WrySf1Rd0=w2836-h1506" alt="screenshot-1" width="150">
<img src="https://lh3.googleusercontent.com/LdpBxKgzW-1DjItGLXYZFoZWMTQ-kztkZ71Er17ccF2vH2tyAdmrQGUVoo8te6Irzwo=w2836-h1506" alt="screenshot-2" width="150">
<img src="https://lh3.googleusercontent.com/qfn2N3e2MzMzB1dow033ZhTzOOwlkleIrf7mHmzqjP31MoAhhbr9OL2NMJz0mPqcioDI=w2836-h1506" alt="screenshot-3" width="150">
<img src="https://lh3.googleusercontent.com/5195BJzKqOx70RHIUlevBoiAuDbYdTaL0c38khQynDNKQCpSc317lBHzatjH-F2dsQ=w2836-h1506" alt="screenshot-4" width="150">
<img src="https://lh3.googleusercontent.com/_5krR5h3Swz3rVYwIEX1xBI6rcKzqoagRkmHxk1gn3dyF8NAUO3CRLHyi9WrySf1Rd0=w2836-h1506" alt="screenshot-5" width="150">
<img src="./assets/screenshots/ios/iPhone-X-1.png" alt="screenshot-1" width="150">
<img src="./assets/screenshots/ios/iPhone-X-2.png" alt="screenshot-2" width="150">
<img src="./assets/screenshots/ios/iPhone-X-3.png" alt="screenshot-3" width="150">
<img src="./assets/screenshots/ios/iPhone-X-4.png" alt="screenshot-4" width="150">
<img src="./assets/screenshots/ios/iPhone-X-5.png" alt="screenshot-5" width="150">
</p>

## :iphone: Try it on Expo
Expand All @@ -40,7 +40,7 @@ Before developing the app, you need to fetch your own API tokens for the followi
| Google Maps for iOS | https://developers.google.com/maps/documentation/ios-sdk/start | Optional in development. |
| Google Maps for Android | https://developers.google.com/maps/documentation/android-api/ | Optional in development. |
| Sentry Bug Tracking | https://sentry.io | Optional. |
| Amplitude Analytics | https://amplitude.com | Optional. Note: we **never** track PII. |
| Amplitude Analytics | https://amplitude.com | Optional. Note: we **never** track PII. |

Then run the following commands:

Expand Down
1 change: 0 additions & 1 deletion app.example.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"algoliaApiKey": "YOUR_KEY",
"algoliaApplicationId": "YOUR_KEY",
"amplitudeApiKey": "YOUR_KEY",
"githubUrl": "https://github.com/amaurymartiny/shoot-i-smoke",
"sentryPublicDsn": "YOUR_KEY",
"waqiToken": "YOUR_KEY"
},
Expand Down
Binary file added assets/screenshots/ios/iPhone-X-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/screenshots/ios/iPhone-X-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/screenshots/ios/iPhone-X-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/screenshots/ios/iPhone-X-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/screenshots/ios/iPhone-X-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 45ce94a

Please sign in to comment.