Folders and files Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
View all files
Repository files navigation # π Astro Starter Kit: Minimal
> **Business context for agents:** when this repository is opened inside the
> Freedom workspace, begin with
> [`10botics-business/agent-onboarding/README.md`](../10botics-business/agent-onboarding/README.md).
> This file covers website development; live marketing and campaign state are
> maintained separately.
Welcome to the 10Botics Astro project! This is a complete website migration from WordPress to Astro, featuring modern components and clean design.
## π Quick Links
- **[Styling Guidelines](./STYLING_GUIDELINES.md)** - Complete design standards and component usage guidelines
- **[Migration Analysis](./MIGRATION_ANALYSIS.md)** - WordPress to Astro migration documentation
- **[Component Demo](http://localhost:4322/courses/component-demo)** - Live showcase of all course components
## π§ Commands
All commands are run from the root of the project, from a terminal:
| Command | Action |
| :------------------------ | :----------------------------------------------- |
| `npm install` | Installs dependencies |
| `npm run dev` | Starts local dev server at `localhost:4321` |
| `npm run build` | Build your production site to `./dist/` |
| `npm run preview` | Preview your build locally, before deploying |
| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` |
| `npm run astro -- --help` | Get help using the Astro CLI |
## π Project Structure
```
/
βββ public/
β βββ images/ # Image assets
β βββ media/ # Media files from WordPress migration
βββ src/
β βββ components/ # Reusable components
β β βββ course/ # Course-specific components
β β βββ Header.astro
β β βββ Footer.astro
β βββ content/ # Content collections
β βββ layouts/ # Page layouts
β βββ pages/ # File-based routing
β βββ styles/ # Global styles
βββ xml-guided-migration-data/ # WordPress migration data
βββ STYLING_GUIDELINES.md # Design standards β
βββ MIGRATION_ANALYSIS.md # Migration documentation
```
## π¨ Design System
This project follows a comprehensive design system based on the original WordPress site analysis. Key principles:
- **Clean & Professional**: Minimal design suitable for educational content
- **Consistent Typography**: Using Noto Sans TC for Chinese content
- **Accessible Colors**: Cyan accents (#00bcd4) with proper contrast ratios
- **Mobile-First**: Responsive design that works on all devices
- **No Emojis in Navigation**: Professional, text-only navigation
π **[Read the complete styling guidelines](./STYLING_GUIDELINES.md)**
## π§© Components
### Course Components
- **`CourseHero`** - Page hero with breadcrumbs, title, and video/image
- **`CourseFeatureGrid`** - 4-column grid for "What is X?" sections
- **`CourseHighlights`** - Bullet-pointed feature lists
- **`CourseContent`** - Interactive accordion for curriculum
- **`CourseLayout`** - Complete page layout wrapper
### Usage Example
```astro
---
import CourseLayout from '../components/course/CourseLayout.astro';
const courseData = {
title: "AI Programming Course",
description: "Learn AI programming...",
tags: ["AI", "Programming"],
// ... more options
};
---
```
## π Key Pages
- **Homepage**: `/` - Main landing page
- **Courses**: `/courses/` - Course listing
- **Component Demo**: `/courses/component-demo` - Showcase of all components
- **About**: `/about` - About the organization
- **Contact**: `/contact` - Contact information
## π οΈ Development Notes
- Built with **Astro** for optimal performance
- Styled with **Tailwind CSS** for rapid development
- Uses **TypeScript** for type safety
- Components are **fully generalized** and reusable
- **WordPress migration data** preserved in `xml-guided-migration-data/`
## π― Migration Status
β
**Completed**:
- Server setup and configuration
- Component architecture
- Styling guidelines
- Course page templates
- Header/footer integration
π **In Progress**:
- Content migration from WordPress
- SEO optimization
- Performance optimization
## π‘ Want to learn more?
Feel free to check [our documentation](https://docs.astro.build ) or jump into our [Discord server](https://astro.build/chat ).
---
**π Remember**: Always follow the [styling guidelines](./STYLING_GUIDELINES.md) when adding new components or content!
# Updated at 07/31/2025 16:59:43
You canβt perform that action at this time.