Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions apps/pwa/package-lock.json

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

2 changes: 1 addition & 1 deletion apps/pwa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@libsql/client": "^0.14.0",
"@peculiar/x509": "^1.14.3",
"@profullstack/affiliates": "^0.3.0",
"@profullstack/footer": "0.2.6",
"@profullstack/footer": "latest",
"@profullstack/libsql-pg": "^0.1.2",
"@profullstack/notifications": "^0.1.0",
"@profullstack/redeem-credits": "^0.2.0",
Expand Down
10 changes: 5 additions & 5 deletions apps/pwa/pnpm-lock.yaml

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

2 changes: 2 additions & 0 deletions apps/pwa/src/lib/ring-footer.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import { footerHtml, footerHtmlSync } from "@profullstack/footer";

export const RING_FOOTER_OPTIONS = {
site: "https://app.moshcode.sh/",
builtIndieHref: "https://built.indie.pit.world/for?site=https://app.moshcode.sh/",
pwamartHref: "https://pwamart.com/for?site=https://app.moshcode.sh/",
links: [
{ label: "moshcode.sh", href: "https://moshcode.sh/" },
{ label: "The pit", href: "/pit" },
Expand Down
5 changes: 4 additions & 1 deletion apps/pwa/test/ring-footer.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ test("ring footer links the Profullstack ring from app.moshcode.sh", () => {
const html = ringFooter();
assert.match(html, /rssamplifier\.com\/ring\/profullstack/);
assert.match(html, /from=https%3A%2F%2Fapp\.moshcode\.sh%2F/);
assert.match(html, /built\.indie\.pit\.world\/for/);
assert.match(html, /href="https:\/\/built\.indie\.pit\.world\/for\?site=https:\/\/app\.moshcode\.sh\/"/);
assert.match(html, /src="https:\/\/logicsrc\.com\/openicon\/set\/hq\/svg\/built-indie\.svg"/);
assert.match(html, /href="https:\/\/pwamart\.com\/for\?site=https:\/\/app\.moshcode\.sh\/"/);
assert.match(html, /src="https:\/\/logicsrc\.com\/openicon\/set\/hq\/svg\/pwamart\.svg"/);
assert.doesNotMatch(html, /pit\.world network/);
assert.equal(RING_FOOTER_OPTIONS.site, "https://app.moshcode.sh/");
});
Expand Down
Loading