optimize for small sreens
This commit is contained in:
parent
16421f0023
commit
c55f33b743
@ -1,6 +1,6 @@
|
|||||||
import { routes } from './routes.js';
|
import { routes } from './routes.js';
|
||||||
|
|
||||||
let DEBUG = true;
|
let DEBUG = false;
|
||||||
window.DEBUG = DEBUG;
|
window.DEBUG = DEBUG;
|
||||||
|
|
||||||
/* main */
|
/* main */
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
<!-- app working window -->
|
<!-- app working window -->
|
||||||
<main>
|
<main>
|
||||||
<div class="d-flex gap-3">
|
<div class="d-block d-xs-block d-md-flex gap-3">
|
||||||
<include src="app/partitial/menu.html"></include>
|
<include src="app/partitial/menu.html"></include>
|
||||||
<div class="flex-fill card shadow p-3" id="content"></div>
|
<div class="flex-fill card shadow p-3" id="content"></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
// licking and assemble //
|
// licking and assemble //
|
||||||
</p>
|
</p>
|
||||||
</h3>
|
</h3>
|
||||||
<nav class="nav nav-masthead justify-content-center float-md-end">
|
<nav
|
||||||
|
class="nav nav-masthead justify-content-center mt-3 mt-md-0 float-md-end"
|
||||||
|
>
|
||||||
<a class="nav-link fw-bold py-1 px-0 icon-link" href="/">
|
<a class="nav-link fw-bold py-1 px-0 icon-link" href="/">
|
||||||
<svg
|
<svg
|
||||||
class="svg-icon"
|
class="svg-icon"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<ul class="dropdown-menu d-block position-static shadow">
|
<ul class="dropdown-menu d-block position-static shadow mb-3 mb-md-0">
|
||||||
<li>
|
<li>
|
||||||
<a class="dropdown-item d-flex gap-2 align-items-center" href="#games">
|
<a class="dropdown-item d-flex gap-2 align-items-center" href="#games">
|
||||||
<svg
|
<svg
|
||||||
|
@ -11,7 +11,7 @@ echo -n "Remove all build files in 'public'... "
|
|||||||
|
|
||||||
for file in "${files[@]}"
|
for file in "${files[@]}"
|
||||||
do
|
do
|
||||||
rm ./public/$file &> /dev/null
|
rm ./public/$file &> /dev/null
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "Complete!"
|
echo "Complete!"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
"description": "ololo",
|
"description": "ololo",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"serve": "npx parcel serve --dist-dir public app/index.html",
|
"serve": "npx parcel serve --dist-dir public app/index.html",
|
||||||
"build": "npx parcel build --dist-dir public app/index.html --no-optimize",
|
"build": "npm run clean; npx parcel build --dist-dir public app/index.html --no-optimize; npm run git-hash",
|
||||||
"prettier": "npx prettier --write .",
|
"prettier": "npx prettier --write .",
|
||||||
"git-hash": "./update_commit.sh",
|
"git-hash": "./update_commit.sh",
|
||||||
"clean": "./clean_public.sh",
|
"clean": "./clean_public.sh",
|
||||||
|
Loading…
Reference in New Issue
Block a user