Skip to content

Commit

Permalink
move images to assets folder
Browse files Browse the repository at this point in the history
  • Loading branch information
chinchang committed Jul 30, 2018
1 parent 679df53 commit ea5d12d
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion gulpfile.js
Expand Up @@ -36,13 +36,13 @@ gulp.task('copyFiles', function() {
gulp.src('src/lib/transpilers/*').pipe(gulp.dest('app/lib/transpilers')),
gulp.src('src/lib/screenlog.js').pipe(gulp.dest('app/lib')),
gulp.src('icons/*').pipe(gulp.dest('app/icons')),
gulp.src('src/assets/*').pipe(gulp.dest('app/assets')),
gulp
.src([
'src/preview.html',
'src/detached-window.js',
'src/icon-48.png',
'src/icon-128.png',
'src/patreon.png',
'manifest.json'
])
.pipe(gulp.dest('app')),
Expand Down
File renamed without changes
File renamed without changes
Binary file added src/assets/js13kgames.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion src/components/Footer.jsx
Expand Up @@ -27,7 +27,7 @@ class JS13K extends Component {
onClick={this.props.onClick}
onBlur={this.props.onBlur}
>
<img src="js13kgames.png" alt="JS13K Games logo" height="24" />{' '}
<img src="assets/js13kgames.png" alt="JS13K Games logo" height="24" />{' '}
<div class="footer__js13k-days-left">
{this.state.daysLeft} days to go
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Js13KModal.jsx
Expand Up @@ -16,7 +16,7 @@ export function Js13KModal({ show, closeHandler }) {
<span style="font-size:3rem;margin:0 1rem;">+</span>
<h2>JS13K Games</h2>
<img
src="js13kgames-square-logo.png"
src="assets/js13kgames-square-logo.png"
alt="JS13K Games logo"
height="100"
style="margin:0 0.5rem;"
Expand Down
6 changes: 5 additions & 1 deletion src/components/SupportDeveloperModal.jsx
Expand Up @@ -41,7 +41,11 @@ export function SupportDeveloperModal({ show, closeHandler }) {
rel="noopener noreferrer"
aria-label="Make a monthly pledge on Patreon"
>
<img src="patreon.png" height="60" alt="Become a patron image" />
<img
src="assets/patreon.png"
height="60"
alt="Become a patron image"
/>
<h3 class="onboard-selection-text">
Make a monthly pledge on Patreon
</h3>
Expand Down
Binary file removed src/js13kgames.png
Binary file not shown.
6 changes: 3 additions & 3 deletions src/templateList.js
Expand Up @@ -2,16 +2,16 @@ export default [
{
id: 'preact',
title: 'Preact',
img: 'preact-logo.svg'
img: 'assets/preact-logo.svg'
},
{
id: 'react',
title: 'React',
img: 'react-logo.svg'
img: 'assets/react-logo.svg'
},
{
id: 'kontra-game-engine',
title: 'Kontra Game Engine',
img: 'html5-logo.svg'
img: 'assets/html5-logo.svg'
}
];

0 comments on commit ea5d12d

Please sign in to comment.