Commit Graph
5 Commits
Author SHA1 Message Date
Kyle Geib b39d005e23 ISSUE-035 - Styled the Team flags individually.
Went through a lot of trouble to style the team flags to be wider than the country flags. This called for a troubling amount of ternary statements in the angled flag components.
I'm content with the results.
2022-02-01 18:24:48 -05:00
Kyle Geib bd1892ab17 ISSUE-035 - Took some work but have proper type checking for AngledFlag props and have updated everything necessary.
Styling is still to come. Only have Ferrari working.
I've discovered that the team flags are wider than the country flags. So I'll be tackling that necessary change in the next commit before dealing with styling.
2022-02-01 12:57:40 -05:00
Kyle Geib b6cac82042 ISSUE-031 - Almost forgot (I closed issue and merged the branch too early): Here's the important improvement that switches to using a clipped image div for the AngledFlag. There is now a carefully sized "bottom" flag that gives us a simulated parallax look. There is a simple xOffset that should allow us to animate two flags sliding over each other in the future.
Updated the use of "National" to "Country" and renamed some directories.
Added a second larger AngledFlag to the Workspace (because changes that affect the larger size might be hidden by a smaller flag).
2022-01-25 19:43:32 -05:00
Kyle Geib 1dc8e8bc15 ISSUE-031 - Improvements to the look of National Flag. Adjusted the sizing and spacing to better support larger chyron heights. 2022-01-25 13:32:31 -05:00
Kyle Geib 4a9c124832 ISSUE-031 - Big update. AngledFlag component is born!
It's not 100% complete - I still need to add the second, slightly offset sub flag that goes beneath the main flag, creating a sort of refractive-glass/parallax effect.

Needed to add a new workspace. Thankfully it's pretty easy to add a new workspace. So, kinda nice.

Did a lot of work making 2:1 versions of each flag in vector. Was a bit of a pain in the ass.

Renamed a prop for ProgressSlider, "onBarColor" because prefixing a prop with "on" is special for React and it gets upset and spits out an error.
2022-01-24 16:15:43 -05:00