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
3 changes: 2 additions & 1 deletion dapp/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Local Netlify folder
.netlify
tsconfig.tsbuildinfo
tsconfig.tsbuildinfo
public/_pagefind/
2 changes: 1 addition & 1 deletion dapp/app/_meta.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Book, Home, MessageSquare, Target, Trophy, User } from "lucide-react";
import { Home, MessageSquare, Target, Trophy } from "lucide-react";
import React from "react";

export default {
Expand Down
6 changes: 6 additions & 0 deletions dapp/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ const navbar = (
align="left"
>
<div className="hidden md:flex items-center gap-3">
<Link
href="/docs"
className="inline-flex items-center rounded-full border border-[#0000FF] px-4 py-2 text-sm font-medium text-[#0000FF] transition-colors hover:bg-[#0000FF] hover:text-white dark:border-white/30 dark:text-white dark:hover:bg-white/10"
>
Docs
</Link>
<PointsBalance />
<WalletConnect />
<ThemeToggle />
Expand Down
5 changes: 5 additions & 0 deletions dapp/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,11 @@ export default function HomePage() {
View My Progress
</button>
</Link>
<Link href="/docs" className="w-full sm:w-auto">
<button className="w-full sm:w-auto bg-white/90 hover:bg-white dark:bg-white/10 dark:hover:bg-white/20 text-[#0000FF] dark:text-white font-medium rounded-full px-6 py-2.5 text-sm transition-colors duration-200 border border-[#0000FF] dark:border-white/30 shadow-none cursor-pointer">
Read the Docs
</button>
</Link>
<Link href="/leaderboard" className="w-full sm:w-auto">
<button className="w-full sm:w-auto bg-[#FF4D00] hover:bg-[#E64500] active:bg-[#CC3D00] dark:bg-[#3300FF] dark:hover:bg-[#2A00CC] dark:active:bg-[#220099] text-white font-medium rounded-full px-6 py-2.5 text-sm transition-colors duration-200 border-0 shadow-none cursor-pointer">
View Leaderboard
Expand Down
11 changes: 10 additions & 1 deletion dapp/content/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ A leaderboard will aggregate points from campaigns and daily activities with top

CKBoost directly supports the goals of the Nervos Community Catalyst initiative by providing the technical backbone for quests, campaigns, verifiable proof of work, and fair distribution of on-chain rewards.

## Start Here

Use these guides to jump straight into the platform flow that matches your role:

- [Contributors: complete quests and claim rewards](./Campaigns/Contributor)
- [Campaign Admins / Endorsers: launch and manage campaigns](./Campaigns/Endorser)
- [Identity setup and verification requirements](./Profiles/Identities)
- [Points, badges, and leaderboard basics](./Points)


## Platform Overview

Expand All @@ -25,4 +34,4 @@ CKBoost directly supports the goals of the Nervos Community Catalyst initiative

* **Verification & Anti-Sybil Measures:** Flexible verification options, starting with manual Telegram proof and expanding to DID/KYC. Rewards remain locked until verification is passed.
* **Community Tipping & Peer Recognition:** Members can propose tips for exceptional contributions, with democratic multi-approval flow and automated treasury payouts.
* **Comprehensive Admin Dashboards:** Tools for campaign creators, platform admins, and reviewers to monitor progress, review submissions, and manage reward distribution.
* **Comprehensive Admin Dashboards:** Tools for campaign creators, platform admins, and reviewers to monitor progress, review submissions, and manage reward distribution.
2 changes: 2 additions & 0 deletions dapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"build:claimable-pool-lock-dep": "pnpm --dir node_modules/ckb-claimable-pool-lock exec tsc -p tsconfig.build.json",
"prebuild": "bash ./pre-build.sh && pnpm run build:claimable-pool-lock-dep && cd ../packages/ssri-ckboost && pnpm install && pnpm build",
"build": "pnpm run prebuild && next build --webpack",
"postbuild": "rm -rf public/_pagefind && pagefind --site .next/server/app --output-path public/_pagefind",
"dev": "netlify dev",
"lint": "next lint",
"start": "next start",
Expand Down Expand Up @@ -100,6 +101,7 @@
"eslint-config-next": "16.2.4",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"pagefind": "^1.5.2",
"postcss": "^8",
"tailwindcss": "^4.1.9",
"typescript": "^5"
Expand Down
73 changes: 73 additions & 0 deletions dapp/pnpm-lock.yaml

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

Loading