We need to add a "Partners" and a "Testimonials" page
Mockups are in the Design folder, under the names: Development Services xxx.png and Testimonials xxx.png.
You'll first need to declare the 2 pages under utils/router:
In LayoutName and RouteNameStatic types
In the staticRoutes method
The content will be set in content/[lang]/partners.yaml and content/[lang]/testimonials.yaml. Images will be stored under content/images/partners and content/images/testimonials. Similar to apps.yaml.
Then under src/app/[[...path]]/_content:
Add the new pages in the renderContent method
Create partners.tsx and testimonials.tsx in this folder, on the same model as apps.tsx.
As you know, you should aim to reuse as much code (CSS in particular) as possible.
We need to add a "Partners" and a "Testimonials" page
Mockups are in the Design folder, under the names:
Development Services xxx.png
andTestimonials xxx.png
.You'll first need to declare the 2 pages under
utils/router
:LayoutName
andRouteNameStatic
typesstaticRoutes
methodThe content will be set in
content/[lang]/partners.yaml
andcontent/[lang]/testimonials.yaml
. Images will be stored undercontent/images/partners
andcontent/images/testimonials
. Similar toapps.yaml
.Then under
src/app/[[...path]]/_content
:renderContent
methodpartners.tsx
andtestimonials.tsx
in this folder, on the same model asapps.tsx
.As you know, you should aim to reuse as much code (CSS in particular) as possible.
Don't hesitate to ask for help or guidance.