infvalues / infvalues.github.io

MIT License
14 stars 12 forks source link

Added comparison functionality #2

Closed sebimoe closed 4 years ago

sebimoe commented 4 years ago

Added comparison functionality, users can paste someone else's result link to see how they differ on each axis.

Also added rendering of more axes, some axes available from questions were not displayed before.

Added basic mobile CSS to allow for displaying on phones.

This PR contains the changes from PR #1 so #1 can be closed if this one is merged.

image

image

sebimoe commented 4 years ago

@infvalues please have a look at here for demo of the update https://sebimoe.github.io/infvalues.github.io/results.html?cap=-10&auth=-9.39&nat=-8.79&trad=-8.18&acc=-7.58&relig=-6.97&rad=-6.36&nonv=-5.76&noo=-5.15&const=-4.55&inter=-3.94&assi=-3.33&prag=-2.73&prud=-2.12&free=-1.52&pat=-0.91&unru=-0.3&imp=0.3&dec=0.91&nih=1.52&contra=2.12&gadsen=2.73&puni=3.33&spir=3.94&lcen=4.55&pron=5.15&incom=5.76&clim=6.36&hors=6.97&ptax=7.58&pmart=8.18&consq=8.79&enth=9.39&ahs=10

You can paste any link to compare (part before ? is ignored).

eg. paste this into the compare box https://infvalues.github.io/results.html?cap=0.57&ptax=5.00&auth=-2.00&nat=-9.00&trad=-8.33&acc=7.80&relig=-9.00&rad=-2.75&nonv=7.67&noo=7.67&const=-4.67&inter=0.00&assi=-0.50&prag=5.50&prud=-6.50&free=3.67&pat=-2.20&unru=-3.20&imp=-0.40&dec=0.20&nih=3.67&contra=-5.75&gadsen=9.00&puni=-2.50&spir=2.33&lcen=-3.50&pron=-4.83&incom=-5.40&clim=-1.80&hors=3.50&pmart=9.00&consq=-4.00&enth=4.67&ahs=-9.00

Let me know if you need anything before you can merge

infvalues commented 4 years ago

This is so good! Can I merge this with the original? I will credit you if that's the case.

sebimoe commented 4 years ago

@infvalues Of course, I'm glad I could help :)