Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/.vscode
data
44 changes: 0 additions & 44 deletions nginx/web/desktop.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,50 +35,6 @@
<button class="zoom-button" id="zoom-in">+</button>
</div>
</div>
<button
id="help-button"
onclick="document.querySelector('#help-popup').style.visibility = 'visible';"
>
<p><strong>Help</strong></p>
</button>
<div id="help-popup">
<div id="help-text-desktop">
<p><strong>Right Click</strong> to place a pixel.</p>
<br />
<p>
Use the mouse wheel or <strong>+</strong> and
<strong>-</strong> buttons to zoom in.
</p>
<br />
<p>
<strong>Ctrl + Right Click</strong> to select a color from the canvas.
</p>
<br />
</div>
<div id="help-text-mobile">
<p><strong>Tap</strong> to place a pixel.</p>
<br />
<p>
<strong>Pinch</strong> to zoom or use the <strong>+</strong> and
<strong>-</strong> buttons.
</p>
<br />
<p><strong>Long press</strong> to select a color from the canvas.</p>
<br />
</div>
<p>Set a hexadecimal color value in the lower left corner.</p>
<br />
<p>
Source code on
<a href="https://github.com/code-ga/reddit-place-clone" target="_blank">GitHub</a>.
</p>
<button
id="close-help-popup"
onclick="document.querySelector('#help-popup').style.visibility = 'hidden';"
>
<strong>Close me.</strong>
</button>
</div>
<script src="main.js"></script>
<script src="place.js"></script>
<script src="glwindow.js"></script>
Expand Down