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).
This commit is contained in:
Kyle Geib committed 2022-01-25 19:43:32 -05:00
1 parent a32e5d656b
commit b6cac82042
38 files changed
+126 -39

No files matched your search

@@ -3,12 +3,17 @@ import { BasicBlock } from "./styles";
export function AngledFlagWorkSpace() {
return (
<BasicBlock width={400} height={400} color="rgba(30, 30, 30, .7)">
<BasicBlock width={750} height={450} color="rgba(30, 30, 30, .7)">
<AngledFlag
flagMode="country"
flag="GBR"
flagHeight={64}
/>
<AngledFlag
flagMode="country"
flag="MEX"
flagHeight={128}
/>
</BasicBlock>
);
}