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
2 changes: 1 addition & 1 deletion apps/web/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const orgSchema = {
"@type": "Organization",
name: "c0upons",
url: BASE,
logo: `${BASE}/logo.svg`,
logo: `${BASE}/logo.png`,
description: "Community-powered coupon codes and deals. Find and share the best coupons for your favourite stores.",
sameAs: ["https://github.com/profullstack/c0upons"],
};
Expand Down
Binary file added apps/web/public/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 1 addition & 3 deletions apps/web/public/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion ops/bbs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ app ever sees the request (cli-tools `dev2/sites.d/c0upons.com.json`, `nginx_loc
| Admin | `anthony` (anthony@profullstack.com), sign in at /bbs/login |

`seed-forums.ts` creates the Slickdeals-style forum tree and the c0upons branding
(tsbb's `deals` skin, tsbb >= 0.10.0, which matches this site: Geist, slate, flat orange).
(tsbb's `deals` skin, tsbb >= 0.11.0: the store-page look, this site's header nav via `board.navLinks`, light only).
It is idempotent: forums are matched by slug, so re-running only adds what is missing.

```sh
Expand Down
11 changes: 11 additions & 0 deletions ops/bbs/seed-forums.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,17 @@ const SETTINGS: Record<string, unknown> = {
'board.faviconUrl': 'https://c0upons.com/favicon.svg',
// The tsbb platform pitch on the index is for boards that are about tsbb.
'board.showPlatform': false,
// c0upons.com has no dark mode, so neither does its forum by default.
'board.theme': 'light',
// The site's own header navigation, with the board's items where Forums sits.
'board.navLinks': [
'Coupons | https://c0upons.com/',
'Stores | https://c0upons.com/stores',
'{forums}',
'Bounties | https://c0upons.com/bounties',
'Blog | https://c0upons.com/blog',
'Docs | https://c0upons.com/docs',
].join('\n'),
};

await migrate(undefined, { quiet: true });
Expand Down
Loading