Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d9a06b2
commit 284c4e2
Showing
3 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import Controller from '@ember/controller'; | ||
import fade from 'ember-animated/transitions/fade'; | ||
|
||
export default Controller.extend({ | ||
|
||
transition: fade | ||
|
||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<div class="w-screen h-screen"> | ||
|
||
<div class="pt-8"> | ||
<div class="max-w-sm mx-auto rounded mt-8 p-8 bg-white text-lg"> | ||
<div class="font-bold text-xl mb-2">Film</div> | ||
<p>The individual images that make up a film are called frames.</p> | ||
<button {{action (mut isShowing) (not isShowing)}} class='text-blue hover:text-blue-dark my-4 focus:outline-none'> | ||
Keep reading | ||
</button> | ||
{{#animated-if isShowing use=this.transition}} | ||
<p>In the projection of traditional celluloid films, a rotating shutter causes intervals of darkness as each frame, in turn, is moved into position to be projected, but the viewer does not notice the interruptions because of an effect known as persistence of vision, whereby the eye retains a visual image for a fraction of a second after its source disappears. The perception of motion is due to a psychological effect called the phi phenomenon.</p> | ||
{{/animated-if}} | ||
</div> | ||
</div> | ||
|
||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters