Skip to content

Commit

Permalink
Remove 2.0 announcement and stable tooltip (#356)
Browse files Browse the repository at this point in the history
  • Loading branch information
F0bes authored Oct 28, 2024
1 parent 7cb1b7a commit ef92e2b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 26 deletions.
14 changes: 7 additions & 7 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,13 @@ const config = {
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
announcementBar: {
id: "announcementBar-0", // Increment on change
content: `<a href="/blog/2024/pcsx2-2-release/">PCSX2 2.0 is finally here, check out our new blog post!</a>`,
backgroundColor: "#4765c8",
textColor: "#fafbfc",
isCloseable: true,
},
// announcementBar: {
// id: "announcementBar-1", // Increment on change (2.0 was 0, next announcement should be 1)
// content: `<a href="/blog/2024/pcsx2-2-release/">PCSX2 2.0 is finally here, check out our new blog post!</a>`,
// backgroundColor: "#4765c8",
// textColor: "#fafbfc",
// isCloseable: true,
// },
algolia: {
// The application ID provided by Algolia
appId: "TR9JNR7TSP",
Expand Down
27 changes: 8 additions & 19 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,25 +191,14 @@ export default function Home() {
justify="center"
>
<Grid>
<Tooltip
content={
<span style={{ color: "black" }}>
22 years in the making.
</span>
}
color="warning"
trigger="hover"
placement="bottom"
>
<ReleaseDownloadButton
release={latestStableRelease}
buttonText={"Latest Stable"}
isNightly={false}
isDisabled={false}
errorMsg={apiErrorMsg}
placement={useMediaQuery(960) ? "bottom-left" : "left-top"}
/>
</Tooltip>
<ReleaseDownloadButton
release={latestStableRelease}
buttonText={"Latest Stable"}
isNightly={false}
isDisabled={false}
errorMsg={apiErrorMsg}
placement={useMediaQuery(960) ? "bottom-left" : "left-top"}
/>
</Grid>
<Grid>
<ReleaseDownloadButton
Expand Down

0 comments on commit ef92e2b

Please sign in to comment.