Skip to content
Open
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
11 changes: 11 additions & 0 deletions prototypes/docusaurus/src/constants/demos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@ export type Demo = {
// Live demos lead so the homepage "See it running" section features apps that
// are actually deployed; coming-soon demos follow and still appear on /examples.
export const demos: Demo[] = [
{
id: 'flagship',
name: 'OSS flagship demo',
tagline:
'The OSS baseline React on Rails demo with Rails 8.1, React 19, SSR, Redux Toolkit, Shakapacker/Rspack, and ActiveRecord CRUD - no Pro or RSC required.',
repoUrl: 'https://github.com/shakacode/react-on-rails-demo-flagship',
demoUrl: 'https://flagship.reactonrails.com',
image: '/img/demos/flagship.webp',
category: 'flagship',

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Categorize the OSS demo outside the Pro/RSC group

With category: 'flagship', this new card is rendered on /examples under the existing flagship heading Production-style apps on React on Rails Pro, React 19, and RSC. in prototypes/docusaurus/src/pages/examples.tsx lines 17-19. The new tagline explicitly says the app requires no Pro or RSC, so visitors now see an OSS-only demo presented as part of the Pro/RSC section; adjust the group heading/category or add a separate OSS group.

Useful? React with 👍 / 👎.

featured: true,
},
{
id: 'marketplace',
name: 'Marketplace',
Expand Down
2 changes: 1 addition & 1 deletion prototypes/docusaurus/src/pages/examples.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const demoGroups: DemoGroup[] = [
{
category: 'flagship',
eyebrow: 'Flagship demos',
heading: 'Production-style apps on React on Rails Pro, React 19, and RSC.',
heading: 'Full-stack apps from the OSS baseline to React on Rails Pro, React 19, and RSC.',
},
{
category: 'starter',
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading