feat: regenerate tasks.md to align with corrected route structure
This commit is contained in:
57
route-structure.md
Normal file
57
route-structure.md
Normal file
@@ -0,0 +1,57 @@
|
||||
# Target File Structure (Revised)
|
||||
|
||||
```
|
||||
/
|
||||
├── backend/ # Payload CMS (Structure remains the same)
|
||||
│ ├── src/
|
||||
│ │ ├── collections/
|
||||
│ │ │ ├── BlogPosts.ts # Corresponds to /xing-xiao-fang-da-jing
|
||||
│ │ │ ├── Categories.ts # Corresponds to /wen-zhang-fen-lei
|
||||
│ │ │ ├── PortfolioItems.ts # Corresponds to /webdesign-profolio
|
||||
│ │ │ └── Users.ts
|
||||
│ │ ├── payload.config.ts
|
||||
│ │ └── server.ts
|
||||
│ └── package.json
|
||||
│
|
||||
└── frontend/ # Astro
|
||||
├── public/
|
||||
│ ├── favicon.svg
|
||||
│ └── sitemap.xml
|
||||
├── src/
|
||||
│ ├── components/
|
||||
│ │ # (Components for each page will be created as needed)
|
||||
│ │ ├── Header.astro
|
||||
│ │ └── Footer.astro
|
||||
│ ├── layouts/
|
||||
│ │ ├── Layout.astro
|
||||
│ │ └── AdminLayout.astro
|
||||
│ ├── pages/
|
||||
│ │ ├── about-enchun.astro # Route: /about-enchun
|
||||
│ │ ├── contact-us.astro # Route: /contact-us
|
||||
│ │ ├── marketing-solutions.astro # Route: /marketing-solutions
|
||||
│ │ ├── news.astro # Route: /news (Blog Listing)
|
||||
│ │ ├── teams.astro # Route: /teams
|
||||
│ │ ├── marketingclass.astro # Route: /marketingclass
|
||||
│ │ ├── website-portfolio.astro # Route: /website-portfolio (Portfolio Listing)
|
||||
│ │ │
|
||||
│ │ ├── xing-xiao-fang-da-jing/
|
||||
│ │ │ └── [slug].astro # Dynamic Route: /xing-xiao-fang-da-jing/...
|
||||
│ │ │
|
||||
│ │ ├── wen-zhang-fen-lei/
|
||||
│ │ │ └── [slug].astro # Dynamic Route: /wen-zhang-fen-lei/...
|
||||
│ │ │
|
||||
│ │ ├── webdesign-profolio/
|
||||
│ │ │ └── [slug].astro # Dynamic Route: /webdesign-profolio/...
|
||||
│ │ │
|
||||
│ │ ├── admin/
|
||||
│ │ │ ├── login.astro # Route: /admin/login
|
||||
│ │ │ └── cms.astro # Secure Route: /admin/cms
|
||||
│ │ │
|
||||
│ │ │
|
||||
│ │ └── index.astro # Route: /
|
||||
│ │
|
||||
│ ├── services/
|
||||
│ │ └── payload.ts
|
||||
│ └── middleware.ts
|
||||
└── package.json
|
||||
```
|
||||
Reference in New Issue
Block a user