Skip to content
This repository was archived by the owner on Jun 28, 2026. It is now read-only.
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
32 changes: 22 additions & 10 deletions components/doc/common/docsectionnav.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,19 +104,31 @@ export function DocSectionNav({ docs = [] }) {
<ul ref={navRef} className="doc-section-nav">
{docs.map((item) => createItem(item))}
</ul>
<div className="mt-8 p-3 w-full" style={{
border: '1px solid var(--surface-border)',
backgroundColor: 'var(--surface-0)',
borderRadius: '0.5rem',
}}>
<img src="https://primefaces.org/cdn/discount/primestore-summersale-2025-sm.jpg" className="w-full rounded-lg" alt="Summer Sale 2025" style={{
borderRadius: '0.5rem',
}} />
<div
className="mt-8 p-3 w-full"
style={{
border: '1px solid var(--surface-border)',
backgroundColor: 'var(--surface-0)',
borderRadius: '0.5rem'
}}
>
<img
src="https://primefaces.org/cdn/discount/primestore-summersale-2025-sm.jpg"
className="w-full rounded-lg"
alt="Summer Sale 2025"
style={{
borderRadius: '0.5rem'
}}
/>
<div className="text-xl font-semibold flex flex-column gap-2 text-center mt-4">
<span style={{ lineHeight: 1 }}>SUMMER SALE</span>
<span className="text-primary" style={{ lineHeight: 1 }}>2025</span>
<span className="text-primary" style={{ lineHeight: 1 }}>
2025
</span>
</div>
<div className="text-center text-sm mt-4" style={{ color: 'var(--surface-500)', lineHeight: 1.5 }}>
Use coupon code <b>PRSM25</b> at checkout to get 50% OFF everything in PrimeStore and PrimeBlocks.
</div>
<div className="text-center text-sm mt-4" style={{ color: 'var(--surface-500)', lineHeight: 1.5 }}>Use coupon code <b>PRSM25</b> at checkout to get 50% OFF everything in PrimeStore and PrimeBlocks.</div>
<span className="flex justify-content-center">
<a className="p-button p-button-rounded p-button-sm font-bold mt-3 inline-flex" size="small" href="https://www.primefaces.org/blog/summer-sale-2025" target="_blank" rel="noopener">
Learn More
Expand Down
6 changes: 3 additions & 3 deletions components/lib/calendar/Calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -547,8 +547,8 @@ export const Calendar = React.memo(
const timeMeta = {
hours: today.getHours(),
minutes: today.getMinutes(),
seconds: today.getSeconds(),
milliseconds: today.getMilliseconds()
seconds: props.showSeconds ? today.getSeconds() : 0,
milliseconds: props.showMillisec ? today.getMilliseconds() : 0
};

updateViewDate(event, today);
Expand Down Expand Up @@ -1702,7 +1702,7 @@ export const Calendar = React.memo(
} else {
let time = getCurrentDateTime();

[hours, minutes, seconds, milliseconds] = [time.getHours(), time.getMinutes(), time.getSeconds(), time.getMilliseconds()];
[hours, minutes, seconds, milliseconds] = [time.getHours(), time.getMinutes(), props.showSeconds ? time.getSeconds() : 0, props.showMillisec ? time.getMilliseconds() : 0];
}

date.setHours(hours);
Expand Down
9 changes: 6 additions & 3 deletions pages/uikit/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,8 @@ const UIKitPage = (props) => {
</li>
<li className="flex align-items-center mb-3">
<i className="pi pi-check-circle text-green-500 mr-2" />
<span className="inline-flex items-center gap-2">1 Year Free Updates <Badge className="badge1" value="?" severity="secondary" data-pr-tooltip="$99 for + 1 Year" style={{ cursor: 'pointer' }} />
<span className="inline-flex items-center gap-2">
1 Year Free Updates <Badge className="badge1" value="?" severity="secondary" data-pr-tooltip="$99 for + 1 Year" style={{ cursor: 'pointer' }} />
<Tooltip target=".badge1" />
</span>
</li>
Expand Down Expand Up @@ -238,7 +239,8 @@ const UIKitPage = (props) => {
</li>
<li className="flex align-items-center mb-3">
<i className="pi pi-check-circle text-green-500 mr-2" />
<span className="inline-flex items-center gap-2">1 Year Free Updates <Badge className="badge2" value="?" severity="secondary" data-pr-tooltip="$249 for + 1 Year" style={{ cursor: 'pointer' }} />
<span className="inline-flex items-center gap-2">
1 Year Free Updates <Badge className="badge2" value="?" severity="secondary" data-pr-tooltip="$249 for + 1 Year" style={{ cursor: 'pointer' }} />
<Tooltip target=".badge2" />
</span>
</li>
Expand Down Expand Up @@ -284,7 +286,8 @@ const UIKitPage = (props) => {
</li>
<li className="flex align-items-center mb-3">
<i className="pi pi-check-circle text-green-500 mr-2" />
<span className="inline-flex items-center gap-2">1 Year Free Updates <Badge className="badge3" value="?" severity="secondary" data-pr-tooltip="Contact Us" style={{ cursor: 'pointer' }} />
<span className="inline-flex items-center gap-2">
1 Year Free Updates <Badge className="badge3" value="?" severity="secondary" data-pr-tooltip="Contact Us" style={{ cursor: 'pointer' }} />
<Tooltip target=".badge3" />
</span>
</li>
Expand Down
Loading