Skip to content

Commit

Permalink
add dist dir
Browse files Browse the repository at this point in the history
  • Loading branch information
aykamko committed Jan 6, 2024
1 parent 7906e7c commit 5676876
Show file tree
Hide file tree
Showing 9 changed files with 118 additions and 0 deletions.
Binary file added dist/12fa77d87986d7c7735b.module.wasm
Binary file not shown.
1 change: 1 addition & 0 deletions dist/235.js

Large diffs are not rendered by default.

Binary file added dist/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/grass_block.webp
Binary file not shown.
67 changes: 67 additions & 0 deletions dist/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"
/>
<title>Minecrust</title>
<link rel="icon" type="image/png" href="./favicon.png">
<link
href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css"
rel="stylesheet"
integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1"
crossorigin="anonymous"
/>
<script src="https://unpkg.com/feather-icons"></script>
<script async defer src="https://buttons.github.io/buttons.js"></script>
<link href="./reset.css" rel="stylesheet" type="text/css" />
<link href="./main.css" rel="stylesheet" type="text/css" />
<script src="./index.js"></script>
</head>

<body>
<div id="portrait-orientation-warning" class="portrait-orientation-warning">
<div class="portrait-orientation-warning-text">
Please rotate your phone to landscape mode ✨
</div>
</div>
<div class="github-button-container">
<!-- <a class="github-button" href="https://github.com/aykamko/minecrust" data-color-scheme="no-preference: dark_high_contrast; light: light_high_contrast; dark: dark_high_contrast;" data-icon="octicon-star" aria-label="Star aykamko/minecrust on GitHub">Star</a> -->
<a class="github-button" href="https://github.com/aykamko/minecrust" data-color-scheme="no-preference: dark_high_contrast; light: light_high_contrast; dark: dark_high_contrast;" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star aykamko/minecrust on GitHub">Star</a>
</div>
<div id="load-progress" class="progress-container">
<div id="progress-inner"></div>
</div>
<div id="controls-info-popup" class="controls-info-popup">
<span class="control-label">WASD</span> to move<br />
<span class="control-label">Space</span> to jump<br />
<span class="control-label">Click</span> to break<br />
<span class="control-label">Right-Click</span> to place<br />
<span class="control-label">1 2 3 4 5</span> to select block type<br />
<span class="control-label">/</span> to toggle flying mode<br />
</div>
<div class="gameboy">
<div class="controls">
<div id="translation-joystick" class="joystick">
<div class="joystick-hint">Move</div>
</div>
<div id="block-preview" class="block-preview-container">
<canvas id="block-preview-canvas"></canvas>
</div>
<div class="right-side">
<div class="button-container">
<button id="b-button" class="button b-button"><i data-feather="box"></i></button>
<button id="a-button" class="button"><i data-feather="x"></i></button>
</div>
<div id="pitch-yaw-joystick" class="joystick">
<div class="joystick-hint">Look +<br/>Tap to Jump</div>
</div>
</div>
</div>
</div>
<div id="wasm-container"></div>
</body>
</html>
1 change: 1 addition & 0 deletions dist/index.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added dist/minecruft_atlas.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
48 changes: 48 additions & 0 deletions dist/reset.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}

0 comments on commit 5676876

Please sign in to comment.