Skip to content

Commit

Permalink
fix(client): move cat picture to dev plugin
Browse files Browse the repository at this point in the history
Previously, cat image would be present even in distro builds.
  • Loading branch information
barmac committed Jan 24, 2019
1 parent d77afbc commit 40c97ec
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 0 additions & 2 deletions client/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
</head>
<body class="loading">

<img src="app-plugins://test/assets/cat.png" />

<div class="loader">
<img class="animate-pulsate"
width="52"
Expand Down
3 changes: 2 additions & 1 deletion resources/plugins/test/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
module.exports = {
name: 'test'
name: 'test',
style: './style.css'
};
6 changes: 6 additions & 0 deletions resources/plugins/test/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.logo {
background-image: url('app-plugins://test/assets/cat.png');
background-repeat: no-repeat;
background-size: 50px 50px;
padding: 50px;
}

0 comments on commit 40c97ec

Please sign in to comment.