Skip to content

Create a shared component for Header/Footer/... #52

@thientu995

Description

@thientu995

Tạo 1 component để cấu hình cho các pages trong website dùng chung (Ex: Shared Component), người dùng không cần tạo lại các component.
Ví dụ: Khi tạo 1 banner để hiển thị all pages, sẽ có thêm option tùy chọn riêng cho item page nào được sử dụng, hoặc loại trừ
Từ Shared Component, người dùng có thể config từ node Sites hoặc Homepage để nhận dạng Shared component cho website nào. => nếu ko config mặc định sẽ work theo component chỉ định. Nếu có config tất cả component của page sẽ được sắp xếp theo thứ tự trong Shared component, trong đây có có 1 component RenderBody để đại diện là 1 component trong page đó.
Ví dụ Share Component sẽ có danh sách như sau:
Banner
(RenderBody hoặc Main) -> chỉ add ko có content hay setting gì hoặc nếu có điều chỉnh padding, margin,...
Footer

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions