feat: Change app template
- Add global variables to app template - Add flag colors to global variables - Change var declaration
This commit is contained in:
parent
8942dc3632
commit
fe2261fda5
2 changed files with 18 additions and 6 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
var hippie = {
|
let hippie = {
|
||||||
brand: "|-| | |^ |^ | [- ",
|
brand: "|-| | |^ |^ | [- ",
|
||||||
screen: {
|
screen: {
|
||||||
w: Math.max(document.documentElement.offsetWidth, document.documentElement.clientWidth, window.innerWidth, 0),
|
w: Math.max(document.documentElement.offsetWidth, document.documentElement.clientWidth, window.innerWidth, 0),
|
||||||
|
|
@ -12,9 +12,19 @@ var hippie = {
|
||||||
h: Math.max(document.body.offsetHeight, document.body.clientHeight, 0),
|
h: Math.max(document.body.offsetHeight, document.body.clientHeight, 0),
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
let viewHover = true;
|
||||||
|
let basicEase = 600;
|
||||||
|
|
||||||
var viewHover = true;
|
const onerowAlphabet = "/\\ ]3 ( |) [- /= (_, |-| | _T /< |_ |\\/| |\\| () |^ ()_ /? _\\~ ~|~ |_| \\/ \\/\\/ >< `/ ~/_ ";
|
||||||
var basicEase = 600;
|
const onerowDigits = "\'| ^/_ -} +| ;~ (o \"/ {} \"| (\\) ";
|
||||||
|
const flagColors = [
|
||||||
var onerowAlphabet = "/\\ ]3 ( |) [- /= (_, |-| | _T /< |_ |\\/| |\\| () |^ ()_ /? _\\~ ~|~ |_| \\/ \\/\\/ >< `/ ~/_ ";
|
'fad803',
|
||||||
var onerowDigits = "\'| ^/_ -} +| ;~ (o \"/ {} \"| (\\) ";
|
'f2af13',
|
||||||
|
'd30a51',
|
||||||
|
'8e1f68',
|
||||||
|
'273f8b',
|
||||||
|
'3c579a',
|
||||||
|
'b7e0f0',
|
||||||
|
'6bc7d9',
|
||||||
|
'52bed1'
|
||||||
|
]
|
||||||
|
|
@ -23,6 +23,8 @@
|
||||||
{% block body %}{% endblock %}
|
{% block body %}{% endblock %}
|
||||||
|
|
||||||
{% block script %}
|
{% block script %}
|
||||||
|
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
|
||||||
|
<script src="{{ pageBase }}js/variables.js"></script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue