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
1 change: 1 addition & 0 deletions apps/web/public/store.css
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ footer.foot .wrap { display: flex; gap: 28px; flex-wrap: wrap; justify-content:
footer.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer.foot a { text-decoration: none; }
footer.foot a:hover { color: var(--ink); }
footer.foot nav.webring { flex-basis: 100%; justify-content: center; gap: 12px; font-size: 13px; }

.empty { padding: 40px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.pager { display: flex; gap: 10px; justify-content: center; padding: 26px 0; }
Expand Down
8 changes: 8 additions & 0 deletions apps/web/src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,14 @@ const withMode = (mode) => INSTALL_SH.replace(/^#!\/bin\/sh\n/, `#!/bin/sh\nPWAM
app.get('/upgrade.sh', (c) => c.body(withMode('upgrade'), 200, { 'content-type': 'text/x-shellscript' }));
app.get('/uninstall.sh', (c) => c.body(withMode('uninstall'), 200, { 'content-type': 'text/x-shellscript' }));
app.get('/.well-known/pwamart.txt', (c) => c.text('pwamart.com lists itself.\n'));
app.get('/.well-known/openwebring.json', (c) =>
c.json({
openwebring: '0.1',
site: { url: 'https://pwamart.com/', name: 'pwamart' },
made_by: 'both',
rings: [{ ring: 'https://rssamplifier.com/ring/profullstack', slug: 'pwamart-com' }],
}),
);
app.get('/robots.txt', (c) =>
c.text(`User-agent: *\nAllow: /\nDisallow: /console\nDisallow: /api/\nSitemap: ${config.siteUrl}/sitemap.xml\n`),
);
Expand Down
6 changes: 6 additions & 0 deletions apps/web/src/pages.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@ ${
<a href="/featured">Get featured</a><a href="/advertise">Advertise</a><a href="/newsletter">Newsletter</a>
<a href="/llms.txt">llms.txt</a><a href="https://github.com/profullstack/pwamart.com">GitHub</a>
</nav>
<nav class="webring" aria-label="Profullstack webring">
<a href="https://rssamplifier.com/ring/profullstack/previous?from=https%3A%2F%2Fpwamart.com%2F" rel="prev" title="Previous site">&lt;&lt;</a>
<a href="https://rssamplifier.com/ring/profullstack">Profullstack</a>
<a href="https://rssamplifier.com/ring/profullstack/next?from=https%3A%2F%2Fpwamart.com%2F" rel="next" title="Next site">&gt;&gt;</a>
<a href="https://rssamplifier.com/ring/profullstack/random?from=https%3A%2F%2Fpwamart.com%2F" title="Random site" aria-label="Random site">&#x2684;</a>
</nav>
</div></footer>
<script src="/assets/store.js" type="module"></script>
</body>
Expand Down
Loading