1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-18 04:21:12 +02:00

move images to assets folder

This commit is contained in:
Kushagra Gour
2018-07-31 01:03:38 +05:30
parent 679df53c2a
commit ea5d12d555
12 changed files with 11 additions and 7 deletions

View File

@@ -36,13 +36,13 @@ gulp.task('copyFiles', function() {
gulp.src('src/lib/transpilers/*').pipe(gulp.dest('app/lib/transpilers')), gulp.src('src/lib/transpilers/*').pipe(gulp.dest('app/lib/transpilers')),
gulp.src('src/lib/screenlog.js').pipe(gulp.dest('app/lib')), gulp.src('src/lib/screenlog.js').pipe(gulp.dest('app/lib')),
gulp.src('icons/*').pipe(gulp.dest('app/icons')), gulp.src('icons/*').pipe(gulp.dest('app/icons')),
gulp.src('src/assets/*').pipe(gulp.dest('app/assets')),
gulp gulp
.src([ .src([
'src/preview.html', 'src/preview.html',
'src/detached-window.js', 'src/detached-window.js',
'src/icon-48.png', 'src/icon-48.png',
'src/icon-128.png', 'src/icon-128.png',
'src/patreon.png',
'manifest.json' 'manifest.json'
]) ])
.pipe(gulp.dest('app')), .pipe(gulp.dest('app')),

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
src/assets/js13kgames.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

View File

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Before

Width:  |  Height:  |  Size: 7.7 KiB

After

Width:  |  Height:  |  Size: 7.7 KiB

View File

@@ -27,7 +27,7 @@ class JS13K extends Component {
onClick={this.props.onClick} onClick={this.props.onClick}
onBlur={this.props.onBlur} 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"> <div class="footer__js13k-days-left">
{this.state.daysLeft} days to go {this.state.daysLeft} days to go
</div> </div>

View File

@@ -16,7 +16,7 @@ export function Js13KModal({ show, closeHandler }) {
<span style="font-size:3rem;margin:0 1rem;">+</span> <span style="font-size:3rem;margin:0 1rem;">+</span>
<h2>JS13K Games</h2> <h2>JS13K Games</h2>
<img <img
src="js13kgames-square-logo.png" src="assets/js13kgames-square-logo.png"
alt="JS13K Games logo" alt="JS13K Games logo"
height="100" height="100"
style="margin:0 0.5rem;" style="margin:0 0.5rem;"

View File

@@ -41,7 +41,11 @@ export function SupportDeveloperModal({ show, closeHandler }) {
rel="noopener noreferrer" rel="noopener noreferrer"
aria-label="Make a monthly pledge on Patreon" 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"> <h3 class="onboard-selection-text">
Make a monthly pledge on Patreon Make a monthly pledge on Patreon
</h3> </h3>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

View File

@@ -2,16 +2,16 @@ export default [
{ {
id: 'preact', id: 'preact',
title: 'Preact', title: 'Preact',
img: 'preact-logo.svg' img: 'assets/preact-logo.svg'
}, },
{ {
id: 'react', id: 'react',
title: 'React', title: 'React',
img: 'react-logo.svg' img: 'assets/react-logo.svg'
}, },
{ {
id: 'kontra-game-engine', id: 'kontra-game-engine',
title: 'Kontra Game Engine', title: 'Kontra Game Engine',
img: 'html5-logo.svg' img: 'assets/html5-logo.svg'
} }
]; ];