1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-17 12:01:13 +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/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')),

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}
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>

View File

@@ -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;"

View File

@@ -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>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

View File

@@ -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'
}
];