Skip to content

Commit

Permalink
add website banner for new 4.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
SlicedSilver committed Oct 4, 2023
1 parent 58c475b commit a65bfd3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions website/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,15 +191,15 @@ const codeBlocks: CodeBlockProps[] = [
const header = 'Lightweight Charts™ Documentation';
const paragraph = `Lightweight Charts™ is a library for creating interactive financial charts. This documentation site provides all the information needed to get started with Lightweight Charts™ and help you make the most of its features.`;

const showBanner = false;
const showBanner = true;

function Index(): React.JSX.Element {
return (
<>
{showBanner ? (
<Banner
text="Big news! Version 4.0 of Lightweight Charts™ is now available"
link="https://github.com/tradingview/lightweight-charts/releases/tag/v4.0.0"
text="Exciting Update: Version 4.1 now available, introducing plugin support for enhanced functionality."
link="https://tradingview.github.io/lightweight-charts/docs/release-notes#410"
linkText="Read more"
/>
) : (
Expand Down

0 comments on commit a65bfd3

Please sign in to comment.