Spline Theory Research Website
Spline-Labs is an academic website dedicated to spline mathematics research, focusing on B-spline, NURBS, and subdivision surface theories.
- Purpose: Showcase spline theory research achievements, promote academic collaboration
- Target Users: Math researchers, university faculty/students, CAD/CAM engineers, technology enthusiasts
| Page | Description |
|---|---|
| Home | Lab introduction, research areas, recent publications |
| About | Lab history, mission, vision, team members |
| Research | B-Spline, NURBS, Subdivision Surfaces, IGA, Curve Fitting, Applications |
| Publications | Papers, journals, patents |
| Resources | Open source code, tutorials, datasets |
| Contact | Job openings, collaboration opportunities |
- Color Scheme:
- Light mode: Deep blue primary (#1a365d), orange accent (#ed8936)
- Dark mode: Deep blue-black (#0d1b2a), lighter blue (#1b263b)
- Typography: Inter (sans-serif)
- Animations: Spline curve canvas animation, fade-in effects
- Dark/Light mode toggle (persisted via localStorage)
- English/Chinese language support (default: English)
- Responsive design (mobile-friendly)
- Framework: Astro 4.x
- Styling: CSS with CSS variables
- Deployment: GitHub Pages
# Install dependencies
npm install
# Start dev server
npm run build
# Build production
npm run buildPush to main branch. GitHub Actions will automatically build and deploy to GitHub Pages.
| Route | Description |
|---|---|
/ |
Home (English) |
/zh/ |
Home (Chinese) |
/about |
About (English) |
/zh/about |
About (Chinese) |
/research |
Research (English) |
/zh/research |
Research (Chinese) |
/publications |
Publications (English) |
/zh/publications |
Publications (Chinese) |
/resources |
Resources (English) |
/zh/resources |
Resources (Chinese) |
/contact |
Contact (English) |
/zh/contact |
Contact (Chinese) |
- Content is managed in
src/i18n/translations.ts - Global styles in
src/styles/global.css - Layout component in
src/layouts/Layout.astro - Dark mode uses CSS variables:
--color-primary,--color-bg, etc.