File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import SwiperStudioBanner from './SwiperStudioBanner';
1010
1111import UserExperiencedModal from './UserExperiencedModal' ;
1212import UserExperiencedPopover from './UserExperiencedPopover' ;
13+ import PaneFlowBanner from './PaneFlowBanner' ;
1314let bannerCached ;
1415
1516const Dropdown = ( { children, opened } ) => {
@@ -97,13 +98,14 @@ export const Nav = ({ withSidebar = false }) => {
9798 'lg:justify-start lg:pl-80 2xl:!pl-4 2xl:!justify-center'
9899 ) }
99100 >
100- { bannerSet && (
101+ < PaneFlowBanner />
102+ { /* {bannerSet && (
101103 <>
102104 {banner === 'swiperstudio' && <SwiperStudioBanner />}
103105 {banner === 'sphq' && <SPHQBanner />}
104106 {banner === 'cladd' && <CladdBanner />}
105107 </>
106- ) }
108+ )}*/ }
107109 </ div >
108110
109111 < div
Original file line number Diff line number Diff line change 11export default function PaneFlowBanner ( { className } ) {
22 return (
33 < a
4- className = { `group flex h-14 items-center justify-center bg-surface-1 !text-on-surface !no-underline rounded-full border border-outline text-sm font-normal px-2 pr-4 sm:px-4 gap-2 leading-none whitespace-nowrap backdrop-blur-lg backdrop-saturate-200 shrink min-w-0 w-fit ${ className || '' } ` }
4+ className = { `group flex h-14 items-center justify-center bg-surface-1 !text-on-surface !no-underline rounded-full border border-outline text-sm font-normal px-4 gap-4 leading-tight text-balance backdrop-blur-lg backdrop-saturate-200 shrink min-w-0 w-fit ${ className || '' } ` }
55 href = "https://paneflow.com"
66 target = "_blank"
77 >
@@ -11,11 +11,8 @@ export default function PaneFlowBanner({ className }) {
1111 alt = "PaneFlow"
1212 className = "h-6 w-6 relative"
1313 />
14- < div className = "shrink min-w-0 relative text-ellipsis overflow-hidden flex items-center" >
15- Meet < span className = "hidden sm:inline ml-1" > our new project </ span >
16- < span className = "border-b border-white/30 ml-1 shrink min-w-0 truncate" >
17- PaneFlow: Create Stunning Slideshows Visually
18- </ span >
14+ < div className = "shrink min-w-0 flex items-center" >
15+ All-new PaneFlow v2 is here with a 50%-off launch offer
1916 </ div >
2017 </ a >
2118 ) ;
You can’t perform that action at this time.
0 commit comments