Skip to content
This repository was archived by the owner on Jun 28, 2026. It is now read-only.

Commit e341085

Browse files
committed
Merge branch 'prod'
2 parents 0edfbf3 + 9b99e6f commit e341085

2 files changed

Lines changed: 10 additions & 5 deletions

File tree

components/layout/topbar.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ import { useEffect, useRef } from 'react';
88
export default function Topbar(props) {
99
const versionsRef = useRef(null);
1010
const versions = [
11+
{
12+
name: 'v11',
13+
version: '11.0.0',
14+
url: 'https://v11.primereact.org'
15+
},
1116
{
1217
name: `v${pkg.version.split('.')[0]}`,
1318
version: pkg.version,
@@ -226,7 +231,7 @@ export default function Topbar(props) {
226231
style={{ maxWidth: '8rem' }}
227232
className="px-link flex align-items-center surface-card h-2rem px-2 border-1 border-solid surface-border transition-all transition-duration-300 hover:border-primary"
228233
>
229-
<span className="text-900 block white-space-nowrap overflow-hidden">{versions && versions.length ? versions[0].version : ''}</span>
234+
<span className="text-900 block white-space-nowrap overflow-hidden">{versions && versions.length ? versions[1].version : ''}</span>
230235
<span className="ml-2 pi pi-angle-down text-600" />
231236
</button>
232237
</StyleClass>

data/news.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"id": 52,
3-
"content": "Introducing Genesis Template 🚀",
4-
"linkText": "View Demo",
5-
"linkHref": "https://genesis.primereact.org",
2+
"id": 53,
3+
"content": "Introducing PrimeReact v11-alpha 🎉",
4+
"linkText": "Discover Now",
5+
"linkHref": "https://v11.primereact.org",
66
"target": "_blank"
77
}

0 commit comments

Comments
 (0)