openaustralia / theyvoteforyou

Making parliamentary voting information accessible, understandable, and easy to use so that you can hold your elected representatives to account.
https://theyvoteforyou.org.au/
Other
135 stars 30 forks source link

Social sharing card for comparing two people page #1414

Closed mlandauer closed 2 years ago

mlandauer commented 2 years ago

Here's an example page of the work in progress for comparing two people: image

We need a design for the social card. @katska could you do a first pass of this please?

Then, we'll need to make an html version of the page similar to the other ones. Then, we need to add to the rake task for generating the screenshots. Then we add the screenshots to the social sharing code in the html of the original page.

katska commented 2 years ago

@Matthew - based on this one

Screen Shot 2022-05-03 at 10 54 00 am Screen Shot 2022-05-03 at 1 04 14 pm Screen Shot 2022-05-03 at 1 17 22 pm Screen Shot 2022-05-03 at 1 50 56 pm

its a Canva file that I've shared with you also. Either we can have an interactive session and play around with the elements or open the invite and have a play yourself. It's very easy to use.

katska commented 2 years ago

Here's a rough version at 1200 x 628 simple

Canva file

katska commented 2 years ago

@mlandauer assign back to me when/if you need anything else

mlandauer commented 2 years ago

First pass at implementation:

image

katska commented 2 years ago

@mlandauer looking good!

mlandauer commented 2 years ago

Just realised a big problem. There are over 200,000 cards like this one for our current database of people. That's way too many I think to create overnight. It makes me wonder if we just need to make a more generic card for the time being until we can figure out a way to maybe generate the cards on-the-fly and cache the results. This would mean that we would only generate cards for those that are used which would be a good thing and save a lot of energy.

mlandauer commented 2 years ago

Actually let's just drop a social share card for this page. It's looking like a bit of a blocker otherwise. It will make social sharing of this page less engaging but it's frankly more important that we get something up and running soon