50 lines
830 B
Markdown
50 lines
830 B
Markdown
# landing-v4
|
|
|
|
Astro landing page deployed to phztjxn3.threesix.ai.
|
|
|
|
## Development
|
|
|
|
```bash
|
|
npm install
|
|
npm run dev
|
|
```
|
|
|
|
Visit http://localhost:4321 to see the site.
|
|
|
|
## Build
|
|
|
|
```bash
|
|
npm run build
|
|
```
|
|
|
|
Output in `dist/` - static HTML/CSS/JS.
|
|
|
|
## Deployment
|
|
|
|
Pushes to `main` auto-deploy via Woodpecker CI:
|
|
1. Install dependencies
|
|
2. Build static site
|
|
3. Build Docker image (nginx serving dist/)
|
|
4. Push to registry
|
|
5. Update K8s deployment
|
|
|
|
Live at: https://phztjxn3.threesix.ai
|
|
|
|
## Constraints
|
|
|
|
- Use Astro components, minimize client JS
|
|
- Optimize images (use Astro Image)
|
|
- Keep Lighthouse score > 90
|
|
- Tailwind for styling
|
|
|
|
## File Structure
|
|
|
|
```
|
|
src/
|
|
pages/
|
|
index.astro # Main landing page
|
|
components/ # Reusable Astro components
|
|
layouts/ # Page layouts
|
|
public/ # Static assets
|
|
```
|