https://github.com/citadel-tech/website
Coinswap Website
https://github.com/citadel-tech/website
Last synced: 20 days ago
JSON representation
Coinswap Website
- Host: GitHub
- URL: https://github.com/citadel-tech/website
- Owner: citadel-tech
- Created: 2026-03-18T16:24:15.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2026-04-02T18:37:08.000Z (26 days ago)
- Last Synced: 2026-04-03T05:59:02.744Z (25 days ago)
- Language: JavaScript
- Homepage: https://citadel-tech.github.io/website/
- Size: 960 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Agents: AGENTS.md
Awesome Lists containing this project
README
# CoinSwap Website
Marketing and documentation site for [CoinSwap](https://github.com/citadel-tech/coinswap) — an Atomic-Swap protocol using Taproot + MuSig2 over a decentralized censorship-resistant marketplace.
## Stack
- React 19 + Vite
- Tailwind CSS v4
- React Router v7
- react-syntax-highlighter (code blocks)
- Deployed via GitHub Pages
## Development
```bash
npm install
npm run dev
```
## Build & Deploy
```bash
npm run build # production build → dist/
npm run preview # preview production build locally
npm run deploy # manual fallback deploy to gh-pages branch
```
Automatic deploys run through GitHub Actions on every push to `main`.
Live site: https://citadel-tech.github.io/website/
One-time GitHub setup:
- Go to `Settings` -> `Pages`
- Set `Source` to `GitHub Actions`
- Keep the default workflow permissions enabled for Pages deployment
## Project Structure
```text
src/
├── components/
│ ├── layout/ Header.jsx, Footer.jsx, Layout.jsx
│ ├── ui/ Button, Badge, Card, CodeBlock, TabGroup, Collapsible
│ └── home/ Hero, StatusBanner, RoleCards, SwapFlowDiagram, QuickLinks
├── pages/ Home, HowItWorks, Takers, Makers, Docs, NotFound
├── constants/ links.js ← all external URLs live here
├── hooks/ useLatestRelease.js
└── assets/icons/
```
## Pages
| Path | Page |
|-----------------|---------------|
| `/` | Home |
| `/how-it-works` | How It Works |
| `/takers` | Takers |
| `/makers` | Makers |
| `/docs` | Docs |
## Links
All external URLs are defined in `src/constants/links.js`. Never hardcode GitHub or external URLs elsewhere.