mirror of
https://codeberg.org/vlw/victorwesterlund.com.git
synced 2025-09-14 03:23:41 +02:00
v9.0-pre-a
This commit is contained in:
parent
702d08964b
commit
26c81eb912
14 changed files with 16 additions and 11 deletions
|
@ -1,3 +1,5 @@
|
|||
/* Victor Westerlund */
|
||||
|
||||
/* -- Transition overrides -- */
|
||||
|
||||
body main .screen {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright © Victor Westerlund - No libraries! 😲 */
|
||||
/* Victor Westerlund */
|
||||
|
||||
:root {
|
||||
/* Component colors */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright © Victor Westerlund - No libraries! 😲
|
||||
// Victor Westerlund - www.victorwesterlund.com
|
||||
|
||||
// UI component constructor
|
||||
class Component {
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
|
@ -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";
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright © Victor Westerlund - No libraries! 😲
|
||||
// Victor Westerlund - www.victorwesterlund.com
|
||||
|
||||
import { default as Logging } from "./Logging.mjs";
|
||||
|
||||
|
|
|
@ -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([
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<!-- Victor Westerlund - www.victorwesterlund.com -->
|
||||
<style>
|
||||
.contact {
|
||||
align-self: stretch;
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<!-- Victor Westerlund - www.victorwesterlund.com -->
|
||||
<style>
|
||||
.button.copied {
|
||||
pointer-events: none;
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<!-- Victor Westerlund - www.victorwesterlund.com -->
|
||||
<pre>
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<!-- Victor Westerlund - www.victorwesterlund.com -->
|
||||
<style>
|
||||
body:not(.dark) .modal[data-page="contact_signal"] .inner {
|
||||
--palette-inverted: 255,255,255;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- Copyright © Victor Westerlund - No libraries! 😲 -->
|
||||
<!-- Victor Westerlund - www.victorwesterlund.com -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
|
|
Loading…
Add table
Reference in a new issue