Skip to content

Conversation

@Leonardo-Olivo
Copy link
Contributor

No description provided.

@Leonardo-Olivo Leonardo-Olivo self-assigned this Nov 26, 2025
@changeset-bot
Copy link

changeset-bot bot commented Nov 26, 2025

🦋 Changeset detected

Latest commit: 4729b1b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
openscript-ch-website Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Member

@openscript openscript left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image

{
elements.map((element) => (
<li>
<h6>{element.title}</h6>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we shouldn't use h6 here, because of the following reasons:

  • There is a gap in the hierarchy of chapters (e.g. no h5 is used), what is semantically incorrect.
  • Chapter should be used in the context of an article, but here it's inside a list.

I suggest to use a <div class="title">.

<ol>
{
elements.map((element) => (
<li>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For more flexibility, maybe we should add a <TimelineEntry> component and use it here via <slot>. For example I already wish to add a date or year, but I would have to change the props of the Timeline component.

Comment on lines +29 to +32
<div>
<slot name="title" />
<slot />
</div>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The additional slot doesn't seem to be necessary.

Suggested change
<div>
<slot name="title" />
<slot />
</div>
<div>
<slot />
</div>

@openscript openscript force-pushed the feat/formation-section branch from 46cce2b to db3a383 Compare December 1, 2025 09:40
@openscript openscript force-pushed the feat/formation-section branch from db3a383 to 985e6f3 Compare December 1, 2025 09:41
@openscript
Copy link
Member

@diegosteiner I've added some content, maybe you want to extend it a bit further? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants