diff --git a/website/src/widgets/changelog.js b/website/src/widgets/changelog.js index dc550ec93..c279e3ff2 100644 --- a/website/src/widgets/changelog.js +++ b/website/src/widgets/changelog.js @@ -21,35 +21,6 @@ function formatReleases(json) { })) } -const ChangelogTable = ({ data = [] }) => { - return ( - - - - - - - - - - {data.map(({ title, url, date, tag }) => ( - - - - - - ))} - -
DateVersionTitle
- - - - {tag} - - {title}
- ) -} - const Changelog = () => { const [initialized, setInitialized] = useState(false) const [isLoading, setIsLoading] = useState(false) @@ -96,7 +67,30 @@ const Changelog = () => { ) : isLoading ? null : ( <>

Stable Releases

- + + + + + + + + + + {releases.map(({ title, url, date, tag }) => ( + + + + + + ))} + +
DateVersionTitle
+ + + + {tag} + + {title}

Pre-Releases

@@ -106,7 +100,15 @@ const Changelog = () => { spacy-nightly package on pip.

- +

+ {prereleases.map(({ title, date, url, tag }) => ( + <> + + {tag} + {' '} + + ))} +

) }