Skip to content

Commit

Permalink
deploy: 3bcb5ca
Browse files Browse the repository at this point in the history
  • Loading branch information
blendtwenty committed Feb 29, 2024
1 parent 88bcdff commit e5f6081
Show file tree
Hide file tree
Showing 13 changed files with 50 additions and 23 deletions.
2 changes: 1 addition & 1 deletion doge-nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
dogeComponentInit,
resourceBasePath,
LitElement, css, html, classMap
} from "../../lib/cherry.js"
} from "../../lib/doge-init.js"

export class DogeNav extends LitElement {
static styles = css`
Expand Down
2 changes: 1 addition & 1 deletion doge-pal.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
dogeComponentInit,
resourceBasePath,
LitElement, css, html, classMap
} from "../../lib/cherry.js"
} from "../../lib/doge-init.js"

export class DogePal extends LitElement {
static styles = css``;
Expand Down
2 changes: 1 addition & 1 deletion doge-price.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
dogeComponentInit,
resourceBasePath,
LitElement, css, html, classMap
} from "../../lib/cherry.js"
} from "../../lib/doge-init.js"

export class DogePrice extends LitElement {
static styles = css``;
Expand Down
12 changes: 5 additions & 7 deletions doge-qr.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import {
dogeComponentInit,
resourceBasePath,
LitElement, css, html, classMap
} from "../../lib/cherry.js"
LitElement, css, html
} from "../../lib/doge-init.js"
import "../../../resources/blocks/[email protected]/qr-code-styling.js";

export class DogeQR extends LitElement {
Expand All @@ -17,10 +16,10 @@ export class DogeQR extends LitElement {
qrCanvas: {},
};
static sizes = {
sm: 120,
sm: 80,
md: 220,
lg: 320,
xl: 420,
lg: 340,
xl: 480,
}
static themes = {
'such-doge': {
Expand Down Expand Up @@ -141,7 +140,6 @@ export class DogeQR extends LitElement {

connectedCallback() {
super.connectedCallback();
dogeComponentInit();
}

render() {
Expand Down
9 changes: 4 additions & 5 deletions doge-qr/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@
}
</script>

<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>DogeWebComponents | doge-qr</title>
<link rel="icon" href="../../../../resources/img/favicon.ico" type="image/x-icon">
<title>Doge Web Components | doge-qr</title>

<link rel="stylesheet" href="../../../index.css" />
<link rel="stylesheet" href="demo.css" />
Expand Down Expand Up @@ -57,7 +56,7 @@ <h1><span class="sans">&lt;doge-qr&gt; </span><span class="soft comic">web compo
<h2>Purpose</h2>
<hr />
<p>
Use this web-component to easily create a Doge wallet QR code to share with friends.
Easily display a Dogecoin wallet address as a QR code. This is a convenient way to request a payment or tip.
</p>

<div class="container">
Expand Down Expand Up @@ -153,7 +152,7 @@ <h2>Usage</h2>
</div>

<p>
3. Test your QR code is working before sharing it with others. It should lead you to a URL formatted like so: <a class="yellow mono small" href="dogecoin:D89DhnsgKncmN12RejxudfU8AwXp3946q1?amount=100">dogecoin:D89DhnsgKncmN12RejxudfU8AwXp3946q1?amount=100</a>
3. Test your QR code is working before sharing it with others. It should lead you to a URI with the following structure: <a class="yellow mono small" href="dogecoin:D89DhnsgKncmN12RejxudfU8AwXp3946q1?amount=100">dogecoin:D89DhnsgKncmN12RejxudfU8AwXp3946q1?amount=100</a>
</p>
</section>

Expand Down
6 changes: 6 additions & 0 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,9 @@ footer {
padding: 10px 20px;
text-align: center;
}

.bone svg {
height: 30px;
transform: rotateZ(-15deg) translateY(5px);
margin-right: 10px;
}
31 changes: 28 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,26 +1,51 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="resources/img/favicon.ico" type="image/x-icon">
<title>Doge Web Components</title>

<title id="title">Doge Components</title>
<link rel="stylesheet" href="index.css" />
<link rel="stylesheet" href="resources/css/doge-components.css" />
</head>
<body>

<div class="page">
<div class="page">
<header>
<h1><span class="sans">&lt;doge&gt; </span><span class="soft comic">components</span></h1>
<h1>
<span class="bone">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512">
<!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->
<path d="M153.7 144.8c6.9 16.3 20.6 31.2 38.3 31.2H384c17.7 0 31.4-14.9 38.3-31.2C434.4 116.1 462.9 96 496 96c44.2 0 80 35.8 80 80c0 30.4-17 56.9-42 70.4c-3.6 1.9-6 5.5-6 9.6s2.4 7.7 6 9.6c25 13.5 42 40 42 70.4c0 44.2-35.8 80-80 80c-33.1 0-61.6-20.1-73.7-48.8C415.4 350.9 401.7 336 384 336H192c-17.7 0-31.4 14.9-38.3 31.2C141.6 395.9 113.1 416 80 416c-44.2 0-80-35.8-80-80c0-30.4 17-56.9 42-70.4c3.6-1.9 6-5.5 6-9.6s-2.4-7.7-6-9.6C17 232.9 0 206.4 0 176c0-44.2 35.8-80 80-80c33.1 0 61.6 20.1 73.7 48.8z"/>
</svg>
</span>
<span class="sans">&lt;fetch&gt; </span>
<span class="soft comic">components</span>
</h1>
</header>

<section>
<h2>Purpose</h2>
<hr />
<p>Reusable web components for Doge things.</p>
<p>Reusable web components for Dogecoin things.</p>
</section>

<section>
<h2>Components</h2>
<hr />
<ul></ul>
</section>

<section>
<h2>Contribute</h2>
<hr />
<p>
Discuss, share ideas, and ask questions at <a href="https://forum.dogecoin.org/t/fetch" target="_blank">forum.dogecoin.org/t/fetch</a>. Additionally, developers can contribute components to the project via <a href="https://github.com/dogeorg/doge-web-components" target="_blank">GitHub</a>.
</p>
<p>Be a <a href="https://github.com/dogecoinfoundation/policy/blob/main/policy_02_conduct.md#good-shibes" target="_blank">Good Shibe</a> when contributing :)</p>
</section>
<script>
fetch('manifest.json')
.then(response => response.json())
Expand Down
3 changes: 0 additions & 3 deletions lib/configure.js

This file was deleted.

File renamed without changes.
1 change: 1 addition & 0 deletions lib/lit/dist@3/lit-all.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Binary file added resources/img/favicon.ico
Binary file not shown.
4 changes: 2 additions & 2 deletions version.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Commit:06cf15a
UTC:Wed Feb 28 20:22:01 UTC 2024
Commit:3bcb5ca
UTC:Thu Feb 29 01:59:00 UTC 2024

0 comments on commit e5f6081

Please sign in to comment.