Compare commits

..

No commits in common. "b7b1d154567b88952f7285ff4b88bbd0d042f661" and "50b43cdc2f7989cdcc73fc1845b0f8870795e00c" have entirely different histories.

9 changed files with 7 additions and 16 deletions

View file

@ -44,7 +44,7 @@ module.exports = function (eleventyConfig) {
'node_modules/jquery/dist/jquery.min.js': 'vendor/jquery.min.js',
'node_modules/jquery/dist/jquery.min.map': 'vendor/jquery.min.map'
});
eleventyConfig.addPassthroughCopy({'node_modules/hippie-script/index.js': 'vendor/hippie-script.js'});
// eleventyConfig.addPassthroughCopy({"node_modules/normalize.css/normalize.css": "vendor/normalize.css"});
eleventyConfig.addWatchTarget('./source/style/');

6
package-lock.json generated
View file

@ -11,7 +11,6 @@
"dependencies": {
"@11ty/eleventy": "^2.0.1",
"bootstrap-icons": "^1.13.1",
"hippie-script": "git+ssh://sthag@quelltext.interaktionsweise.de/interaktionsweise/hippie-script.git",
"jquery": "^3.7.1",
"sass": "^1.93.0"
},
@ -1387,11 +1386,6 @@
"node": ">= 0.4"
}
},
"node_modules/hippie-script": {
"version": "1.2.1",
"resolved": "git+ssh://sthag@quelltext.interaktionsweise.de/interaktionsweise/hippie-script.git#dfc13e61586fbf466a7bbdb5667c5b02f41abd44",
"license": "MIT"
},
"node_modules/htmlparser2": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-7.2.0.tgz",

View file

@ -9,7 +9,7 @@
"homepage": "https://quelltext.interaktionsweise.de/interaktionsweise/hippie",
"bugs": "https://quelltext.interaktionsweise.de/interaktionsweise/hippie/issues",
"license": "MIT",
"author": "Stephan Hagedorn <sthag@interaktionsweise.de> (https://karte.interaktionsweise.de)",
"author": "Stephan Hagedorn <sthag@interaktionsweise.de> (https://karte@interaktionsweise.de/)",
"main": "",
"repository": {
"type": "git",
@ -36,7 +36,6 @@
"dependencies": {
"@11ty/eleventy": "^2.0.1",
"bootstrap-icons": "^1.13.1",
"hippie-script": "git+ssh://sthag@quelltext.interaktionsweise.de/interaktionsweise/hippie-script.git",
"jquery": "^3.7.1",
"sass": "^1.93.0"
}

View file

@ -6,7 +6,7 @@ function setup() {
'use strict';
console.group('Document information');
console.info('\n', HIPPIE.brand, '\n\n');
console.info('\n', hippie.brand, '\n\n');
console.info('HTML:', hippie.screen, '\nBODY:', hippie.body);
console.groupEnd();
if (debugOn) {

View file

@ -1,4 +1,5 @@
let hippie = {
brand: "|-| | |^ |^ | [- ",
screen: {
w: Math.max(document.documentElement.offsetWidth, document.documentElement.clientWidth, window.innerWidth, 0),
vh: Math.max(document.documentElement.clientHeight, window.innerHeight, 0),
@ -14,6 +15,8 @@ let hippie = {
let viewHover = true;
let basicEase = 600;
const onerowAlphabet = "/\\ ]3 ( |) [- /= (_, |-| | _T /< |_ |\\/| |\\| () |^ ()_ /? _\\~ ~|~ |_| \\/ \\/\\/ >< `/ ~/_ ";
const onerowDigits = "\'| ^/_ -} +| ;~ (o \"/ {} \"| (\\) ";
const flagColors = [
'fad803',
'f2af13',

View file

@ -50,12 +50,10 @@ tags:
{% endblock %}
{%- block script %}
{% comment %}<script src="{{ pageBase }}js/globals.js"></script>{% endcomment %}
<script src="/vendor/hippie-script.js"></script>
<script src="{{ pageBase }}js/globals.js"></script>
<script src="{{ pageBase }}js/app.js"></script>
<script src="{{ pageBase }}js/windows.js"></script>
<script>
console.log(HIPPIE.brand);
// Get the space element
const space = document.getElementById('screen-space');
const start = document.querySelector('[data-action=start]');

View file

@ -23,7 +23,6 @@
{% block script %}
<script src="/vendor/jquery.min.js"></script>
<script src="/vendor/hippie-script.js"></script>
<script src="{{ pageBase }}js/globals.js"></script>
<script src="{{ pageBase }}js/app.js"></script>

View file

@ -43,7 +43,6 @@
{{ log.log('BODY :: Loading script assets...') }}
{# <script src="{{ pageBase }}js/{{hippie.jsFile}}.min.js" type="text/javascript"></script> #}
<script src="/vendor/jquery.min.js"></script>
<script src="/vendor/hippie-script.js"></script>
<script src="{{ pageBase }}js/globals.js"></script>
<script src="{{ pageBase }}js/app.js"></script>
<script>

View file

@ -14,7 +14,6 @@
{% block script %}
{{ block.super -}}
<script src="/vendor/jquery.min.js"></script>
<script src="/vendor/hippie-script.js"></script>
<script src="{{ pageBase }}js/globals.js"></script>
<script src="{{ pageBase }}js/app.js"></script>