63 lines
1.4 KiB
Markdown
63 lines
1.4 KiB
Markdown
# Deal Plus Tech - Astro Website
|
|
|
|
**Astro** static site for Deal Plus Tech - Thai pipe & HVAC materials supplier.
|
|
|
|
## 🚀 Quick Start
|
|
|
|
```bash
|
|
# Install dependencies
|
|
npm install
|
|
|
|
# Development
|
|
npm run dev
|
|
|
|
# Build for production
|
|
npm run build
|
|
|
|
# Preview production build
|
|
npm run preview
|
|
```
|
|
|
|
## 📁 Project Structure
|
|
|
|
```
|
|
.
|
|
├── src/
|
|
│ ├── components/ # Astro components
|
|
│ ├── layouts/ # Layout components
|
|
│ ├── pages/ # Astro pages
|
|
│ ├── content/ # Markdown content
|
|
│ ├── data/ # Static data
|
|
│ └── styles/ # Global styles
|
|
├── public/ # Static assets
|
|
├── Dockerfile # Production Docker
|
|
└── package.json # Dependencies
|
|
```
|
|
|
|
## 🛠️ Tech Stack
|
|
|
|
- **Framework:** Astro 5.x
|
|
- **Styling:** Tailwind CSS 4
|
|
- **Content:** Astro Content Collections
|
|
- **Deployment:** Easypanel (Docker)
|
|
|
|
## 🚢 Deployment
|
|
|
|
The site deploys automatically to Easypanel via Git:
|
|
|
|
1. Push to `main` branch
|
|
2. Easypanel builds with Dockerfile
|
|
3. Deploys to: `http://customerwebsite-dealplustech.easypanel.app`
|
|
|
|
## 📝 Recent Changes
|
|
|
|
- ✅ Moved Astro project to root (was in `dealplustech-astro/`)
|
|
- ✅ Removed Next.js code (archived in `_nextjs-backup/`)
|
|
- ✅ Fixed product tables responsiveness
|
|
- ✅ Fixed favicon 404 errors
|
|
- ✅ Added responsive font scaling
|
|
|
|
## 📞 Support
|
|
|
|
For issues or questions, contact the DevOps team.
|