+ {data.map((item, index) => {
+ const isActive = expandedIndex === index
+ return (
+
+ {
+ setExpandedIndex(isActive ? -1 : index)
+ }}
+ >
+ {item.title}
+
+
+
+
+ {item.content}
+
+ )
+ })}
+
+ )
+}
+
+export default ToggleCollapse
diff --git a/src/components/FarmIssueAnnouncement.tsx b/src/components/FarmIssueAnnouncement.tsx
new file mode 100644
index 0000000000..a7e85ffa08
--- /dev/null
+++ b/src/components/FarmIssueAnnouncement.tsx
@@ -0,0 +1,102 @@
+import { useState } from 'react'
+import { Flex, Text } from 'rebass'
+import styled from 'styled-components'
+
+import { ReactComponent as DropdownSVG } from 'assets/svg/down.svg'
+import useTheme from 'hooks/useTheme'
+import { ButtonText, ExternalLink } from 'theme'
+
+const Wrapper = styled.div`
+ border-radius: 20px;
+ padding: 16px;
+ font-size: 14px;
+ border: 1px solid ${({ theme }) => theme.warning};
+ margin-bottom: 16px;
+ color: ${({ theme }) => theme.subText};
+
+ li {
+ line-height: 20px;
+ }
+`
+
+function FarmIssueAnnouncement() {
+ const theme = useTheme()
+ const [show, setShow] = useState(true)
+ return (
+