diff --git a/src/components/styled/views/Board.styled.jsx b/src/components/styled/views/Board.styled.jsx index 95050d1a..2ccd0606 100644 --- a/src/components/styled/views/Board.styled.jsx +++ b/src/components/styled/views/Board.styled.jsx @@ -1740,6 +1740,10 @@ export const BoardForm = styled.div` border-left: none !important; border-top: none !important; } + + .capcode { + color: purple !important; + } #post-menu { border-right: 1px solid #d9bfb7; @@ -1763,6 +1767,10 @@ export const BoardForm = styled.div` border-left: none !important; border-top: none !important; } + + .capcode { + color: purple !important; + } #post-menu { border-right: 1px solid #b7c5d9; @@ -1783,6 +1791,10 @@ export const BoardForm = styled.div` return `.highlighted { background-color: #f0c0b0 !important; } + + .capcode { + color: purple !important; + } #post-menu { font-size: 13px !important; @@ -1803,6 +1815,10 @@ export const BoardForm = styled.div` return `.highlighted { background-color: #d6bad0 !important; } + + .capcode { + color: purple !important; + } #post-menu { font-size: 13px !important; @@ -1824,6 +1840,10 @@ export const BoardForm = styled.div` background-color: #1d1d21 !important; outline: 1px solid #111 !important; } + + .capcode { + color: #81a2be !important; + } #post-menu { border: 1px solid #000; @@ -1844,6 +1864,10 @@ export const BoardForm = styled.div` background-color: #ccc !important; outline: 1px solid #ccc !important; } + + .capcode { + color: #f60 !important; + } #post-menu { border: 1px solid #ccc; diff --git a/src/components/views/Board.jsx b/src/components/views/Board.jsx index a9e20da7..c885691d 100755 --- a/src/components/views/Board.jsx +++ b/src/components/views/Board.jsx @@ -424,7 +424,7 @@ const Board = () => { }, }); - + const { publishCommentEdit } = usePublishCommentEdit(publishCommentEditOptions); @@ -764,6 +764,173 @@ const Board = () => { null ) : ( feed.length > 0 ? ( + <> + {subplebbit.rules ? +
+
+
+
+ [
+ {}} style={{textDecoration: "none"}} className="reply-link">Reply
+ ]
+
+ +++ {subplebbit.rules.map((rule, index) => ( +++ {index + 1}. {rule} + + ))} +
+
+
+
+
+ [
+ {}} style={{textDecoration: "none"}} className="reply-link">Reply
+ ]
+
+ +++ {subplebbit.description} ++