Skip to content

Commit

Permalink
fix: v3 specification reference section not loading during dev mode (a…
Browse files Browse the repository at this point in the history
…syncapi#3004)

Co-authored-by: Akshat Nema <[email protected]>
  • Loading branch information
jerensl and akshatnema authored May 31, 2024
1 parent a65d195 commit b34f149
Showing 1 changed file with 18 additions and 20 deletions.
38 changes: 18 additions & 20 deletions components/layout/DocsLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,16 +172,15 @@ export default function DocsLayout({ post, navItems = {}, children }: IDocsLayou
<span className='font-sans text-sm text-gray-800 antialiased'>
{`What is new in v${post.title}? Have a look at the `}
</span>
<Link href={post.releaseNoteLink}>
<a
target='_blank'
rel='noopener noreferrer'
className={
'cursor-pointer font-body text-sm font-medium leading-6 text-secondary-500 underline transition duration-150 ease-in-out hover:text-secondary-600 focus:text-gray-900 focus:outline-none'
}
>
release notes
</a>
<Link
href={post.releaseNoteLink}
target='_blank'
rel='noopener noreferrer'
className={
'cursor-pointer font-body text-sm font-medium leading-6 text-secondary-500 underline transition duration-150 ease-in-out hover:text-secondary-600 focus:text-gray-900 focus:outline-none'
}
>
release notes
</Link>
.
</div>
Expand All @@ -191,16 +190,15 @@ export default function DocsLayout({ post, navItems = {}, children }: IDocsLayou
</span>
<span className='font-sans text-sm text-gray-800 antialiased'>
Check&nbsp;
<Link href='https://www.asyncapi.com/blog?tags=Release+Notes'>
<a
target='_blank'
rel='noopener noreferrer'
className={
'cursor-pointer font-body text-sm font-medium leading-6 text-secondary-500 underline transition duration-150 ease-in-out hover:text-secondary-600 focus:text-gray-900 focus:outline-none'
}
>
list of release notes
</a>
<Link
href='https://www.asyncapi.com/blog?tags=Release+Notes'
target='_blank'
rel='noopener noreferrer'
className={
'cursor-pointer font-body text-sm font-medium leading-6 text-secondary-500 underline transition duration-150 ease-in-out hover:text-secondary-600 focus:text-gray-900 focus:outline-none'
}
>
list of release notes
</Link>
.
</span>
Expand Down

0 comments on commit b34f149

Please sign in to comment.