refactor: 가격표 섹션 히어로 아래로 이동 및 탭 스타일 통일

- 가격표 섹션을 페이지 하단에서 히어로 바로 아래로 이동
- 상단 패딩 축소 (py-24 → pt-12 pb-24)
- 서브탭(서울/글로벌 타입) 스타일을 메인탭과 동일하게 통일
- Pages Functions API 프록시 추가 (functions/)
- wrangler.toml 및 TypeScript 설정 추가

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
kappa
2026-01-23 09:19:01 +09:00
parent 570ae8f49b
commit d08d1895d0
15 changed files with 1056 additions and 298 deletions

View File

@@ -19,12 +19,23 @@ No build step required - deploy directly.
## Architecture
Multi-file static website:
Multi-file static website with serverless API proxy:
- `index.html` - 메인 랜딩 페이지 (~1000줄)
- `style.css` - Tailwind CSS 빌드 결과
- `fonts.css` - 시스템 폰트 정의
- `app.js` - Alpine.js 앱 로직 (Server Launcher, Pricing Table 등)
- `terms.html`, `privacy.html`, `sla.html` - 법적 페이지
- `functions/` - Cloudflare Pages Functions (API proxy)
### API Endpoints (Pages Functions)
| Method | Path | Description |
|--------|------|-------------|
| GET | `/api/health` | Health check |
| GET | `/api/instances` | Query VM instances |
| POST | `/api/recommend` | Tech stack recommendations |
**Proxy Target**: https://cloud-instances-api.kappa-d8e.workers.dev
### Tech Stack
- Tailwind CSS v4 (로컬 빌드, `style.css`)
@@ -48,5 +59,16 @@ Navigation → Hero (Telegram Bot Demo) → Features (`#features`) → Automatio
## External Integrations
- **Telegram Bot**: @AnvilForgeBot (서버 생성, 도메인 등록)
- **Worker API**: cloud-instances-api (VM pricing aggregator)
- **Credentials**: Stored in Vault at https://vault.anvil.it.com
- **Registrant Info Source**: npm-linode-1 server (`/home/admin/namecheap_api/.env`)
## Environment Configuration
### Secrets (set via Cloudflare Dashboard or CLI)
```bash
wrangler pages secret put WORKER_API_KEY
```
### Variables (wrangler.toml)
- `WORKER_API_URL` - Worker API base URL