diff --git a/src/components/Layout/Feedback.tsx b/src/components/Layout/Feedback.tsx
deleted file mode 100644
index fe927251709..00000000000
--- a/src/components/Layout/Feedback.tsx
+++ /dev/null
@@ -1,105 +0,0 @@
-/**
- * Copyright (c) Meta Platforms, Inc. and affiliates.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */
-
-/*
- * Copyright (c) Facebook, Inc. and its affiliates.
- */
-
-import {useState} from 'react';
-import {useRouter} from 'next/router';
-import cn from 'classnames';
-
-export function Feedback({onSubmit = () => {}}: {onSubmit?: () => void}) {
- const {asPath} = useRouter();
- const cleanedPath = asPath.split(/[\?\#]/)[0];
- // Reset on route changes.
- return ;
-}
-
-const thumbsUpIcon = (
-
-);
-
-const thumbsDownIcon = (
-
-);
-
-function sendGAEvent(isPositive: boolean) {
- const category = isPositive ? 'like_button' : 'dislike_button';
- const value = isPositive ? 1 : 0;
- // Fragile. Don't change unless you've tested the network payload
- // and verified that the right events actually show up in GA.
- // @ts-ignore
- gtag('event', 'feedback', {
- event_category: category,
- event_label: window.location.pathname,
- event_value: value,
- });
-}
-
-function SendFeedback({onSubmit}: {onSubmit: () => void}) {
- const [isSubmitted, setIsSubmitted] = useState(false);
- return (
-
-
- {isSubmitted ? 'Thank you for your feedback!' : 'Is this page useful?'}
-
- {!isSubmitted && (
-
- )}
- {!isSubmitted && (
-
- )}
-
- );
-}
diff --git a/src/components/Layout/SidebarNav/SidebarNav.tsx b/src/components/Layout/SidebarNav/SidebarNav.tsx
index 77beb4d7298..678d483c14b 100644
--- a/src/components/Layout/SidebarNav/SidebarNav.tsx
+++ b/src/components/Layout/SidebarNav/SidebarNav.tsx
@@ -12,7 +12,6 @@
import {Suspense} from 'react';
import * as React from 'react';
import cn from 'classnames';
-import {Feedback} from '../Feedback';
import {SidebarRouteTree} from '../Sidebar/SidebarRouteTree';
import type {RouteItem} from '../getRouteMeta';
@@ -63,9 +62,6 @@ export default function SidebarNav({
-
-
-
diff --git a/src/components/Layout/TopNav/TopNav.tsx b/src/components/Layout/TopNav/TopNav.tsx
index 148098933d5..efc90ed2c76 100644
--- a/src/components/Layout/TopNav/TopNav.tsx
+++ b/src/components/Layout/TopNav/TopNav.tsx
@@ -29,7 +29,6 @@ import {IconHamburger} from 'components/Icon/IconHamburger';
import {IconSearch} from 'components/Icon/IconSearch';
import {Search} from 'components/Search';
import {Logo} from '../../Logo';
-import {Feedback} from '../Feedback';
import {SidebarRouteTree} from '../Sidebar';
import type {RouteItem} from '../getRouteMeta';
import {siteConfig} from 'siteConfig';
@@ -448,9 +447,6 @@ export default function TopNav({
-
-
-
)}
diff --git a/src/styles/index.css b/src/styles/index.css
index 6b2915be482..7bdf4c76590 100644
--- a/src/styles/index.css
+++ b/src/styles/index.css
@@ -741,13 +741,6 @@ ol.mdx-illustration-block {
}
}
-.exit {
- opacity: 0;
- transition: opacity 500ms ease-out;
- transition-delay: 1s;
- pointer-events: none;
-}
-
.uwu-visible {
display: none;
}