Skip to content

Conversation

@BigBlueHat
Copy link
Member

  • Move index.html to index.liquid.
  • Overhaul homepage to use Fomantic-UI.
  • Add Playground Next as a watch target.
  • Fix Playground Next width to match homepage.
  • Use Markdownn for Primer index.
  • Use Markdown for Requirements index.
  • Use Markdown for Specifications list.
  • Move default.liquid to bs2.liquid.
  • Add IDs to homepage sections and footer.

Copy link
Member

@davidlehn davidlehn left a comment

Choose a reason for hiding this comment

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

  • For small screens the top menu needs "stackable" class or similar to be usable at all. Probably some collapsible thing too. Not sure how to make that work.
  • Otherwise, looks good.

index.liquid Outdated
listed below is fully conforming to the official JSON-LD specifications.
</p>

<div class="ui four cards">
Copy link
Member

Choose a reason for hiding this comment

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

This looks poor on mobile. Copying a hack from main section. Perhaps there's a better way.

Suggested change
<div class="ui four cards">
<div class="ui four cards stackable grid">

Copy link
Member Author

Choose a reason for hiding this comment

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

Good catch! I think we only need stackable though.

index.liquid Outdated
</p>
</div>

<div class="ui four cards">
Copy link
Member

Choose a reason for hiding this comment

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

Same comment as in developer section.

Suggested change
<div class="ui four cards">
<div class="ui four cards stackable grid">

Copy link
Member Author

Choose a reason for hiding this comment

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

Likewise.

<div class="header"><h3>{% if language %}{{ language | split: ',' | join: ' / ' }}{% else %}{{ applicationCategory }}{% endif %}</h3></div>
<div class="description">
<div class="ui selection list">
{% if language %}
Copy link
Member

Choose a reason for hiding this comment

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

Something in here is being too aggressive and including JavaScript entries in the Java section.

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh. I missed that. Ah... it's the contains bit. 😖 I'll see if I can improve that. Thanks!

Copy link
Member Author

@BigBlueHat BigBlueHat Dec 5, 2025

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

@davidlehn k. That was painful...but it's fixed now. See: 6be40a2

@pchampin
Copy link
Contributor

pchampin commented Dec 5, 2025

I lack the expertise to review the code in details, but the results looks nice :)

Liquid `contains` does (unfortunate...) double duty for both string
and array matching and provides no way to create an array-only comparison
based on exact equivalence. Consequently...this is the result.
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Dec 5, 2025

Deploying json-ld-org with  Cloudflare Pages  Cloudflare Pages

Latest commit: b117339
Status: ✅  Deploy successful!
Preview URL: https://793e5525.json-ld-org.pages.dev
Branch Preview URL: https://fomantic-homepage.json-ld-org.pages.dev

View logs

Copy link
Member

@davidlehn davidlehn left a comment

Choose a reason for hiding this comment

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

That implementation processing code is scary. It might be worth trying the preprocessing in js and hand something easier to handle to the template side.

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