Skip to content

Commit

Permalink
Update dummy app
Browse files Browse the repository at this point in the history
  • Loading branch information
astronomersiva committed Jun 6, 2019
1 parent 49984e2 commit 290cb21
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 21 deletions.
11 changes: 0 additions & 11 deletions tests/dummy/app/components/click-to-display.js

This file was deleted.

6 changes: 6 additions & 0 deletions tests/dummy/app/components/faint-text.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import Component from '@ember/component';
import layout from '../templates/components/faint-text';

export default Component.extend({
layout
});
5 changes: 5 additions & 0 deletions tests/dummy/app/controllers/application.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
import Controller from '@ember/controller';

export default Controller.extend({
actions: {
toggle() {
this.toggleProperty('canShowComponent');
}
}
});
11 changes: 7 additions & 4 deletions tests/dummy/app/templates/application.hbs
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
<div style="text-align: center">
<h1 style="color:cyan">Accessibility Tester</h1>
<h1>Identifies accessibility issues in your Ember applications.</h1>
<h1 style="color:cyan">ember-accessibility</h1>
<h1>Identify accessibility issues during development!</h1>

{{!-- <img src="https://picsum.photos/500/500"> --}}
<img src="https://source.unsplash.com/gWFXgcH-LeU/800x450">

<br>

<button class="empty-btn"></button>

<ClickToDisplay />
<button type="button" {{action "toggle"}}>Click to display some text</button>
{{#if canShowComponent}}
<FaintText />
{{/if}}
</div>

<AccessibilityTester />
Expand Down
6 changes: 0 additions & 6 deletions tests/dummy/app/templates/components/click-to-display.hbs

This file was deleted.

1 change: 1 addition & 0 deletions tests/dummy/app/templates/components/faint-text.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<p style="color:cyan">Too faint to read</p>

0 comments on commit 290cb21

Please sign in to comment.