1
0
Fork 0
mirror of https://github.com/voltbonn/profile-picture-generator.git synced 2024-12-22 07:45:04 +00:00

use the hashtag in the filenames, to acompany for non-hashtags

This commit is contained in:
thomasrosen 2021-02-12 16:44:12 +01:00
parent 32be20abb3
commit 907673e06e
21 changed files with 21 additions and 21 deletions

View file

@ -10,27 +10,27 @@ function HashtagChooser({ onChange, getString }) {
Promise.all( Promise.all(
[ [
'', '',
'VoteVolt', '#VoteVolt',
'JoinTheChange', '#JoinTheChange',
'RejoinEU', '#RejoinEU',
'DeineWahl', '#DeineWahl',
'JetztBistDuDran', '#JetztBistDuDran',
'VoltEuropa', '#VoltEuropa',
'VoltRLP', '#VoltRLP',
'Volt21', '#Volt21',
'Volt', '#Volt',
'paneuropäisch', '#paneuropäisch',
'pragmatisch', '#pragmatisch',
'progressiv', '#progressiv',
'Europa', '#Europa',
'democracy', '#democracy',
'EUReform', '#EUReform',
'European', '#European',
'EuropeCares', '#EuropeCares',
'FutureMadeInEurope', '#FutureMadeInEurope',
'ValuesOverPower', '#ValuesOverPower',
'ZukunftMadeInEurope', '#ZukunftMadeInEurope',
] ]
.map(async frame_filename => { .map(async frame_filename => {
return { return {
@ -62,7 +62,7 @@ function HashtagChooser({ onChange, getString }) {
const frame_src_path = frame.src.default const frame_src_path = frame.src.default
const isChoosen = choosenFrame === frame_src_path const isChoosen = choosenFrame === frame_src_path
return <button key={frame.name} data-src={frame_src_path} className={isChoosen ? 'isInRow choosen' : 'isInRow'} onClick={handleImageChoosing}> return <button key={frame.name} data-src={frame_src_path} className={isChoosen ? 'isInRow choosen' : 'isInRow'} onClick={handleImageChoosing}>
{frame.name === '' ? getString('button_no_hashtag') : '#'+frame.name} {frame.name === '' ? getString('button_no_hashtag') : frame.name}
</button> </button>
}) })
} }

View file

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View file

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View file

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View file

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View file

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View file

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

View file

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

View file

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View file

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View file

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

View file

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View file

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

View file

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View file

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View file

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View file

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

View file

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View file

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

View file

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

View file

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB