Skip to content

Commit

Permalink
Add Reanimated Beta Docs banner (software-mansion#4490)
Browse files Browse the repository at this point in the history
### Motivation

This PR adds a banner to the New Reanimated Docs on the existing docs.
This makes it easier for people to access and test the new site.
Additionaly it links to the discussion where people can leave feedback
regarding the new docs.

This PR removes the 2023 App.js Conf announcement bar. 

### Images 


![image](https://github.com/software-mansion/react-native-reanimated/assets/39658211/356b777c-1c51-4490-9a0e-6204d9965335)
  • Loading branch information
kacperkapusciak authored and fluiddot committed Jun 5, 2023
1 parent bd9bb18 commit 3c1cbc4
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 353 deletions.
10 changes: 6 additions & 4 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,12 @@ module.exports = {
theme: prismConfig,
},
announcementBar: {
id: 'appjs_announcement',
content: 'mleko', // content is set in swizzled component but docusaurus requires it to be non-empty
backgroundColor: '#0033CC',
textColor: '#FFFFFF',
id: 'reanimated-beta-docs',
content:
"We're working on a full documentation rewrite. Check out the <a target='_blank' rel='noopener noreferrer' href='https://reanimated-beta-docs.swmansion.com/'>New Reanimated Docs</a> and <a target='_blank' rel='noopener noreferrer' href='https://github.com/software-mansion-labs/reanimated-beta-docs/discussions/12'>share your feedback</a> with us!",
backgroundColor: '#FFFFFF',
textColor: '#001A72',
isCloseable: false,
},
},
presets: [
Expand Down
20 changes: 0 additions & 20 deletions docs/src/theme/AnnouncementBar/CloseButton/index.jsx

This file was deleted.

19 changes: 0 additions & 19 deletions docs/src/theme/AnnouncementBar/CloseButton/styles.module.css

This file was deleted.

23 changes: 0 additions & 23 deletions docs/src/theme/AnnouncementBar/Content/index.jsx

This file was deleted.

69 changes: 0 additions & 69 deletions docs/src/theme/AnnouncementBar/Content/styles.module.css

This file was deleted.

48 changes: 0 additions & 48 deletions docs/src/theme/AnnouncementBar/index.jsx

This file was deleted.

Loading

0 comments on commit 3c1cbc4

Please sign in to comment.