Skip to content

Commit

Permalink
move feedback to footer
Browse files Browse the repository at this point in the history
  • Loading branch information
lifeparticle committed Oct 31, 2023
1 parent 92bbaa9 commit da91b31
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,4 @@
padding: var(--bt-size-4);
position: sticky;
flex-direction: row;

&__button {
border: none;
box-shadow: none;
background-color: transparent;
cursor: pointer;
position: relative;
align-items: center;
display: flex;
}
}
8 changes: 0 additions & 8 deletions ui/src/components/Layouts/FloatingHeader/index.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import { Button } from "antd";
import style from "./FloatingHeader.module.scss";
import Notification from "components/General/Notification";
import Icon from "components/General/Icon";
import { Link } from "react-router-dom";

interface FloatingHeaderProps {
styles?: React.CSSProperties;
Expand All @@ -12,11 +9,6 @@ const FloatingHeader: React.FC<FloatingHeaderProps> = ({ styles }) => {
return (
<div className={style.fh} style={styles}>
<Notification />
<Link to="/feedback">
<Button aria-label="feedback-icon" className={style.fh__button}>
<Icon name="Megaphone" size={20} />
</Button>
</Link>
</div>
);
};
Expand Down
4 changes: 4 additions & 0 deletions ui/src/components/Layouts/Footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ const Footer: React.FC = () => {
Blog
</a>
</li> */}

<li>
<Link to="/feedback">Feedback</Link>{" "}
</li>
</ul>
</Space>

Expand Down

0 comments on commit da91b31

Please sign in to comment.