1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-08-02 11:30:22 +02:00

copy change in js13k modal

This commit is contained in:
Kushagra Gour
2018-07-30 02:20:48 +05:30
parent cd1c82956e
commit 2639aefe05
2 changed files with 8 additions and 7 deletions

View File

@@ -13,10 +13,10 @@ export function Js13KModal({ show, closeHandler }) {
style="margin:0 0.5rem;" style="margin:0 0.5rem;"
/> />
<h2>Web Maker</h2> <h2>Web Maker</h2>
<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="http://js13kgames.com/img/logo.png" src="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;"
@@ -33,9 +33,10 @@ export function Js13KModal({ show, closeHandler }) {
</p> </p>
<p> <p>
Web Maker is an frontend playground that works offline! You can play You have activated Web Maker's Js13kGames mode! This gives you some
around quickly with HTML, JavaScript & CSS to build your awesome game extra support to build your awesome game right here. Constantly see
right here. your game's zipped size in the footer. When you are done, download the
zip.
</p> </p>
<ul> <ul>

View File

@@ -1117,8 +1117,8 @@ export default class App extends Component {
this.setState({ this.setState({
isJs13KModalOpen: true isJs13KModalOpen: true
}); });
document.body.appendChild(window.anchor); // document.body.appendChild(window.anchor);
window.anchor.click(); // window.anchor.click();
} }
blankTemplateSelectHandler() { blankTemplateSelectHandler() {
this.createNewItem(); this.createNewItem();