v9.0-pre-a

This commit is contained in:
Victor Westerlund 2021-09-17 07:33:00 -04:00
parent 702d08964b
commit 26c81eb912
14 changed files with 16 additions and 11 deletions

View file

@ -1,3 +1,5 @@
/* Victor Westerlund */
/* -- Transition overrides -- */
body main .screen {

View file

@ -1,4 +1,4 @@
/* Copyright © Victor Westerlund - No libraries! 😲 */
/* Victor Westerlund */
:root {
/* Component colors */

View file

@ -1,4 +1,4 @@
// Copyright © Victor Westerlund - No libraries! 😲
// Victor Westerlund - www.victorwesterlund.com
// UI component constructor
class Component {

View file

@ -1,4 +1,4 @@
// Copyright © Victor Westerlund - No libraries! 😲
// Victor Westerlund - www.victorwesterlund.com
class Logging {
constructor() {
@ -21,7 +21,6 @@ class Logging {
send() {
const send = navigator.sendBeacon(this.endpoint,this.data);
if(send !== true) {
this.log("mode","fallback");
const url = this.endpoint + this.data.toString();
fetch(url).catch(response => console.log(response));
}
@ -30,6 +29,6 @@ class Logging {
export default class Log {
constructor(value,key = "u") {
console.log(key,value);
// WIP
}
}

View file

@ -1,4 +1,4 @@
// Copyright © Victor Westerlund - No libraries! 😲
// Victor Westerlund - www.victorwesterlund.com
import { default as Interaction, destroy } from "./UI.mjs";
import { Button } from "./Components.mjs";

View file

@ -1,4 +1,4 @@
// Copyright © Victor Westerlund - No libraries! 😲
// Victor Westerlund - www.victorwesterlund.com
// Load assets for later use on this page.
// This implements a hybrid of the link types "preload" and "prefetch"

View file

@ -1,4 +1,4 @@
// Copyright © Victor Westerlund - No libraries! 😲
// Victor Westerlund - www.victorwesterlund.com
import { default as Logging } from "./Logging.mjs";

View file

@ -1,7 +1,6 @@
// Copyright © Victor Westerlund - No libraries! 😲
// Victor Westerlund - www.victorwesterlund.com
import { default as Preload } from "./modules/Preload.mjs";
import { default as Interaction, destroy } from "./modules/UI.mjs";
import "./modules/Debugging.mjs";
// Load these assets when the DOM is ready (not needed right away)
new Preload([

View file

@ -1,3 +1,4 @@
<!-- Victor Westerlund - www.victorwesterlund.com -->
<style>
.contact {
align-self: stretch;

View file

@ -1,3 +1,4 @@
<!-- Victor Westerlund - www.victorwesterlund.com -->
<style>
.button.copied {
pointer-events: none;

View file

@ -1,3 +1,4 @@
<!-- Victor Westerlund - www.victorwesterlund.com -->
<h1>🔑 PGP Public Key</h1>
<p></p>
<p>5466 B1EB 2F44 6D3D DC34 E9F7 5BE0 CB0B E3BB 69DA</p>

View file

@ -1,3 +1,4 @@
<!-- Victor Westerlund - www.victorwesterlund.com -->
<pre>
-----BEGIN PGP PUBLIC KEY BLOCK-----

View file

@ -1,3 +1,4 @@
<!-- Victor Westerlund - www.victorwesterlund.com -->
<style>
body:not(.dark) .modal[data-page="contact_signal"] .inner {
--palette-inverted: 255,255,255;

View file

@ -1,5 +1,5 @@
<!DOCTYPE html>
<!-- Copyright © Victor Westerlund - No libraries! 😲 -->
<!-- Victor Westerlund - www.victorwesterlund.com -->
<html lang="en">
<head>
<meta charset="UTF-8">