diff --git a/addons/core/addon/components/image/index.hbs b/addons/core/addon/components/image/index.hbs new file mode 100644 index 000000000..44eb3a54d --- /dev/null +++ b/addons/core/addon/components/image/index.hbs @@ -0,0 +1,3 @@ + + {{inline-svg @name}} + \ No newline at end of file diff --git a/addons/core/app/components/image.js b/addons/core/app/components/image.js new file mode 100644 index 000000000..008f9b9ac --- /dev/null +++ b/addons/core/app/components/image.js @@ -0,0 +1 @@ +export { default } from 'core/components/image'; diff --git a/addons/core/public/resource-creation.svg b/addons/core/public/resource-creation.svg new file mode 100644 index 000000000..77edbb995 --- /dev/null +++ b/addons/core/public/resource-creation.svg @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/addons/core/tests/integration/components/image-test.js b/addons/core/tests/integration/components/image-test.js new file mode 100644 index 000000000..f5a7c4586 --- /dev/null +++ b/addons/core/tests/integration/components/image-test.js @@ -0,0 +1,14 @@ +import { module, test } from 'qunit'; +import { setupRenderingTest } from 'ember-qunit'; +import { render, find } from '@ember/test-helpers'; +import { hbs } from 'ember-cli-htmlbars'; + +module('Integration | Component | Image', function (hooks) { + setupRenderingTest(hooks); + + test('it renders', async function (assert) { + assert.expect(1); + await render(hbs``); + assert.ok(find('.image-container')); + }); +});