Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Location icon should not contain text #82

Closed
amaury1093 opened this issue Apr 25, 2019 · 11 comments · Fixed by #232
Closed

Change Location icon should not contain text #82

amaury1093 opened this issue Apr 25, 2019 · 11 comments · Fixed by #232
Labels
good first issue Good for newcomers
Milestone

Comments

@amaury1093
Copy link
Member

amaury1093 commented Apr 25, 2019

https://github.com/amaurymartiny/shoot-i-smoke/blob/master/assets/images/changeLocation.png

Or else it's hard to translate! Instead, text should be below, as a RN <Text>

We already added FontAwesome in the app, so we just need to replace the image with FontAwesome location icon + orange circle background

@amaury1093 amaury1093 added this to the v2 milestone Apr 25, 2019
@amaury1093 amaury1093 added the good first issue Good for newcomers label May 2, 2019
@theNaut1lus
Copy link

happy to work on this as my first issue here, please give me the go ahead for this @amaurymartiny

@amaury1093
Copy link
Member Author

Yes, please go ahead @co16353sidak, thanks!

@theNaut1lus
Copy link

@amaurymartiny
instead of implementing a font-awesome setup I thought it would be better if we used a svg with the removed bottom text line, this will aid us in using the pre-existing <Image> layout and by just replacing the png with the svg.
we get all the respnsiveness of svg without the text line. I could create a sample svg and show some mockups here if you want to go ahead with this idea 😃

@amaury1093
Copy link
Member Author

Sounds good to me! Our designer Marcelo has already done the icon, here it is.

location-bt.zip

@lucienbl
Copy link
Contributor

lucienbl commented May 4, 2019

If you already have the icon as svg you can directly add the svg in the app which allows you to make the text translatable.

Edit: Using this to convert the SVG file into a react-native component and this library to use the react-native converted component, however, this requires expo ejecting.

@amaury1093
Copy link
Member Author

Hey @co16353sidak, are you still working on this? Do you need help?

@theNaut1lus
Copy link

theNaut1lus commented May 17, 2019

@amaurymartiny sorry for the delays, was going through my exams 🚀
Give me another day for this 😄
P.S: I will be pinging you if i get stuck

@kiranjd
Copy link

kiranjd commented May 18, 2019

@amaurymartiny Just downloaded the zip file containing the location icons. You can minify the images further using tinypng.
I have compressed the images by ~55% overall without compromising on quality.
Here are the compressed images,
location-png-minified.zip

@amaury1093
Copy link
Member Author

amaury1093 commented May 19, 2019

Thanks @kiranjd, I appreciate it!

@shakti97
Copy link

is this issue still incomplete or done but not marked closed?

@amaury1093
Copy link
Member Author

amaury1093 commented Sep 30, 2019

No, it's incomplete, feel free to take it @shakti97, it's part of Hacktoberfest by the way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants