diff --git a/docs/src/containers/Testimonial/index.js b/docs/src/containers/Testimonial/index.js new file mode 100644 index 000000000..e98275a76 --- /dev/null +++ b/docs/src/containers/Testimonial/index.js @@ -0,0 +1,175 @@ +import { useColorMode } from '@docusaurus/theme-common' +import { Tweet } from 'react-tweet' + +const firstColumn = [ + { + type: 'tweet', + id: '1742843063938994469', + }, + { + type: 'youtube', + id: 'ZCiEQVOjH5U', + }, + { + type: 'youtube', + id: '7JpzE-_cKo4', + }, + { + type: 'tweet', + id: '1744729548074459310', + }, +] + +const secondColumn = [ + { + type: 'youtube', + id: 'QpMQgJL4AZA', + }, + { + type: 'tweet', + id: '1750801065132384302', + }, + { + type: 'youtube', + id: '9ta2S425Zu8', + }, + { + type: 'tweet', + id: '1757504717519749292', + }, +] + +const thirdColumn = [ + { + type: 'tweet', + id: '1745560583548670250', + }, + { + type: 'youtube', + id: 'zkafOIyQM8s', + }, + { + type: 'tweet', + id: '1757500111629025788', + }, +] + +const fourthColumn = [ + { + type: 'tweet', + id: '1742993414986068423', + }, + { + type: 'youtube', + id: '9ta2S425Zu8', + }, + { + type: 'youtube', + id: 'ES021_sY6WQ', + }, + { + type: 'youtube', + id: 'CbJGxNmdWws', + }, +] + +const Testimonial = () => { + const { colorMode } = useColorMode() + + return ( +
+
+

+ People say nice things +

+

+ ...despite our bugs and fast moving releases +

+
+
+
+
+
+ {firstColumn.map((item, i) => { + if (item.type === 'tweet') return + if (item.type === 'youtube') + return ( +
+