mirror of
https://github.com/luxfi/markets.git
synced 2026-10-30 16:19:55 +00:00
All 5 Next.js API routes were public-API proxies or stubs — deleted and replaced with direct browser fetches to CoinGecko (no key needed) and the existing in-repo mock DEX data. No server logic required. - Vite 8 + React 19 + wouter routing; pure CSS per lux.cloud palette - lightweight-charts retained for token charts - tsconfig include/exclude scoped so Foundry Solidity in src/ stays untouched - Dockerfile now: node build → copy dist/ into ghcr.io/hanzoai/spa - Drops Next.js, Tailwind, postcss, middleware, Next's per-route file API Routes: /, /tokens, /tokens/:id, /pairs, /embed/:widget Embeds still work via public/embed.js (iframe → /embed/<widget>)
18 lines
692 B
HTML
18 lines
692 B
HTML
<!doctype html>
|
|
<html lang="en" class="dark">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Lux Markets — Crypto Prices & DEX Pairs</title>
|
|
<meta name="description" content="Public crypto markets data — token prices, charts, and Lux DEX pairs." />
|
|
<meta property="og:title" content="Lux Markets" />
|
|
<meta property="og:site_name" content="Lux Markets" />
|
|
<meta property="og:url" content="https://markets.lux.network" />
|
|
<meta property="og:type" content="website" />
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
</body>
|
|
</html>
|