Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions docs/1-getting-started/2-making-a-hero-section/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,10 @@ _Picture by [Appolinary Kalashnikova](https://unsplash.com/@appolinary_kalashnik

Click **Save** and see the new hero section in the content tree:

> No rendering set for node: herosection<br>
> Types: [hydrogen:heroSection]
```
No rendering set for node: herosection
Types: [hydrogen:heroSection]
```

This error message means that Jahia doesn't know how to render the `heroSection` node type: we haven't implemented the rendering logic yet. We'll do that next.

Expand Down
6 changes: 4 additions & 2 deletions docs/1-getting-started/3-the-about-us-page/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,10 @@ In `Header/default.server.tsx`, replace the current `<RenderChild name="hero" />

This additional property, `view`, defines the view that should be used when Jahia renders the `heroSection` component. We haven't created the `small` view yet, if you refresh your page right now you will see an error message instead:

> No rendering set for node: herosection<br/>
> Types: [hydrogen:heroSection]
```
No rendering set for node: herosection
Types: [hydrogen:heroSection]
```

Start by adding a file named `src/components/Hero/Section/types.ts` and move `Props` to it:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,4 +148,4 @@ In JCR, everything is a node, i.e. an entity of a tree designated by a path. The

There is a lot more to learn about URL building and JCR exploration, and it's the topic of the next section.

Next: [Building a Navigation Bar](building-a-nav-bar)
Next: [Building a Navigation Bar](building-a-navigation-bar)