use the hashtag in the filenames, to acompany for non-hashtags
|
@ -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>
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |