From 907673e06e4992aecb5c1036475d7b8c6ad23778 Mon Sep 17 00:00:00 2001 From: thomasrosen Date: Fri, 12 Feb 2021 16:44:12 +0100 Subject: [PATCH] use the hashtag in the filenames, to acompany for non-hashtags --- src/HashtagChooser.js | 42 +++++++++--------- .../{DeineWahl.png => #DeineWahl.png} | Bin src/hashtags/{EUReform.png => #EUReform.png} | Bin src/hashtags/{Europa.png => #Europa.png} | Bin .../{EuropeCares.png => #EuropeCares.png} | Bin src/hashtags/{European.png => #European.png} | Bin ...deInEurope.png => #FutureMadeInEurope.png} | Bin ...tztBistDuDran.png => #JetztBistDuDran.png} | Bin .../{JoinTheChange.png => #JoinTheChange.png} | Bin src/hashtags/{RejoinEU.png => #RejoinEU.png} | Bin ...luesOverPower.png => #ValuesOverPower.png} | Bin src/hashtags/{Volt.png => #Volt.png} | Bin src/hashtags/{Volt21.png => #Volt21.png} | Bin .../{VoltEuropa.png => #VoltEuropa.png} | Bin src/hashtags/{VoltRLP.png => #VoltRLP.png} | Bin src/hashtags/{VoteVolt.png => #VoteVolt.png} | Bin ...eInEurope.png => #ZukunftMadeInEurope.png} | Bin .../{democracy.png => #democracy.png} | Bin .../{paneuropäisch.png => #paneuropäisch.png} | Bin .../{pragmatisch.png => #pragmatisch.png} | Bin .../{progressiv.png => #progressiv.png} | Bin 21 files changed, 21 insertions(+), 21 deletions(-) rename src/hashtags/{DeineWahl.png => #DeineWahl.png} (100%) rename src/hashtags/{EUReform.png => #EUReform.png} (100%) rename src/hashtags/{Europa.png => #Europa.png} (100%) rename src/hashtags/{EuropeCares.png => #EuropeCares.png} (100%) rename src/hashtags/{European.png => #European.png} (100%) rename src/hashtags/{FutureMadeInEurope.png => #FutureMadeInEurope.png} (100%) rename src/hashtags/{JetztBistDuDran.png => #JetztBistDuDran.png} (100%) rename src/hashtags/{JoinTheChange.png => #JoinTheChange.png} (100%) rename src/hashtags/{RejoinEU.png => #RejoinEU.png} (100%) rename src/hashtags/{ValuesOverPower.png => #ValuesOverPower.png} (100%) rename src/hashtags/{Volt.png => #Volt.png} (100%) rename src/hashtags/{Volt21.png => #Volt21.png} (100%) rename src/hashtags/{VoltEuropa.png => #VoltEuropa.png} (100%) rename src/hashtags/{VoltRLP.png => #VoltRLP.png} (100%) rename src/hashtags/{VoteVolt.png => #VoteVolt.png} (100%) rename src/hashtags/{ZukunftMadeInEurope.png => #ZukunftMadeInEurope.png} (100%) rename src/hashtags/{democracy.png => #democracy.png} (100%) rename src/hashtags/{paneuropäisch.png => #paneuropäisch.png} (100%) rename src/hashtags/{pragmatisch.png => #pragmatisch.png} (100%) rename src/hashtags/{progressiv.png => #progressiv.png} (100%) diff --git a/src/HashtagChooser.js b/src/HashtagChooser.js index 6ab69f4..897d46d 100644 --- a/src/HashtagChooser.js +++ b/src/HashtagChooser.js @@ -10,27 +10,27 @@ function HashtagChooser({ onChange, getString }) { Promise.all( [ '', - 'VoteVolt', - 'JoinTheChange', - 'RejoinEU', - 'DeineWahl', - 'JetztBistDuDran', - 'VoltEuropa', - 'VoltRLP', - 'Volt21', - 'Volt', - 'paneuropäisch', - 'pragmatisch', - 'progressiv', - 'Europa', + '#VoteVolt', + '#JoinTheChange', + '#RejoinEU', + '#DeineWahl', + '#JetztBistDuDran', + '#VoltEuropa', + '#VoltRLP', + '#Volt21', + '#Volt', + '#paneuropäisch', + '#pragmatisch', + '#progressiv', + '#Europa', - 'democracy', - 'EUReform', - 'European', - 'EuropeCares', - 'FutureMadeInEurope', - 'ValuesOverPower', - 'ZukunftMadeInEurope', + '#democracy', + '#EUReform', + '#European', + '#EuropeCares', + '#FutureMadeInEurope', + '#ValuesOverPower', + '#ZukunftMadeInEurope', ] .map(async frame_filename => { return { @@ -62,7 +62,7 @@ function HashtagChooser({ onChange, getString }) { const frame_src_path = frame.src.default const isChoosen = choosenFrame === frame_src_path return }) } diff --git a/src/hashtags/DeineWahl.png b/src/hashtags/#DeineWahl.png similarity index 100% rename from src/hashtags/DeineWahl.png rename to src/hashtags/#DeineWahl.png diff --git a/src/hashtags/EUReform.png b/src/hashtags/#EUReform.png similarity index 100% rename from src/hashtags/EUReform.png rename to src/hashtags/#EUReform.png diff --git a/src/hashtags/Europa.png b/src/hashtags/#Europa.png similarity index 100% rename from src/hashtags/Europa.png rename to src/hashtags/#Europa.png diff --git a/src/hashtags/EuropeCares.png b/src/hashtags/#EuropeCares.png similarity index 100% rename from src/hashtags/EuropeCares.png rename to src/hashtags/#EuropeCares.png diff --git a/src/hashtags/European.png b/src/hashtags/#European.png similarity index 100% rename from src/hashtags/European.png rename to src/hashtags/#European.png diff --git a/src/hashtags/FutureMadeInEurope.png b/src/hashtags/#FutureMadeInEurope.png similarity index 100% rename from src/hashtags/FutureMadeInEurope.png rename to src/hashtags/#FutureMadeInEurope.png diff --git a/src/hashtags/JetztBistDuDran.png b/src/hashtags/#JetztBistDuDran.png similarity index 100% rename from src/hashtags/JetztBistDuDran.png rename to src/hashtags/#JetztBistDuDran.png diff --git a/src/hashtags/JoinTheChange.png b/src/hashtags/#JoinTheChange.png similarity index 100% rename from src/hashtags/JoinTheChange.png rename to src/hashtags/#JoinTheChange.png diff --git a/src/hashtags/RejoinEU.png b/src/hashtags/#RejoinEU.png similarity index 100% rename from src/hashtags/RejoinEU.png rename to src/hashtags/#RejoinEU.png diff --git a/src/hashtags/ValuesOverPower.png b/src/hashtags/#ValuesOverPower.png similarity index 100% rename from src/hashtags/ValuesOverPower.png rename to src/hashtags/#ValuesOverPower.png diff --git a/src/hashtags/Volt.png b/src/hashtags/#Volt.png similarity index 100% rename from src/hashtags/Volt.png rename to src/hashtags/#Volt.png diff --git a/src/hashtags/Volt21.png b/src/hashtags/#Volt21.png similarity index 100% rename from src/hashtags/Volt21.png rename to src/hashtags/#Volt21.png diff --git a/src/hashtags/VoltEuropa.png b/src/hashtags/#VoltEuropa.png similarity index 100% rename from src/hashtags/VoltEuropa.png rename to src/hashtags/#VoltEuropa.png diff --git a/src/hashtags/VoltRLP.png b/src/hashtags/#VoltRLP.png similarity index 100% rename from src/hashtags/VoltRLP.png rename to src/hashtags/#VoltRLP.png diff --git a/src/hashtags/VoteVolt.png b/src/hashtags/#VoteVolt.png similarity index 100% rename from src/hashtags/VoteVolt.png rename to src/hashtags/#VoteVolt.png diff --git a/src/hashtags/ZukunftMadeInEurope.png b/src/hashtags/#ZukunftMadeInEurope.png similarity index 100% rename from src/hashtags/ZukunftMadeInEurope.png rename to src/hashtags/#ZukunftMadeInEurope.png diff --git a/src/hashtags/democracy.png b/src/hashtags/#democracy.png similarity index 100% rename from src/hashtags/democracy.png rename to src/hashtags/#democracy.png diff --git a/src/hashtags/paneuropäisch.png b/src/hashtags/#paneuropäisch.png similarity index 100% rename from src/hashtags/paneuropäisch.png rename to src/hashtags/#paneuropäisch.png diff --git a/src/hashtags/pragmatisch.png b/src/hashtags/#pragmatisch.png similarity index 100% rename from src/hashtags/pragmatisch.png rename to src/hashtags/#pragmatisch.png diff --git a/src/hashtags/progressiv.png b/src/hashtags/#progressiv.png similarity index 100% rename from src/hashtags/progressiv.png rename to src/hashtags/#progressiv.png