diff --git a/src/components/landing-gradient.tsx b/src/components/landing-gradient.tsx deleted file mode 100644 index d7d22dd38..000000000 --- a/src/components/landing-gradient.tsx +++ /dev/null @@ -1,6 +0,0 @@ -/** Fullscreen gradient used as a backdrop to public pages. */ -const LandingGradient: React.FC = () => ( -
-); - -export default LandingGradient; diff --git a/src/components/loading-screen.tsx b/src/components/loading-screen.tsx index 3a8511b77..0377a8dd0 100644 --- a/src/components/loading-screen.tsx +++ b/src/components/loading-screen.tsx @@ -1,12 +1,9 @@ -import LandingGradient from 'soapbox/components/landing-gradient.tsx'; import Spinner from 'soapbox/components/ui/spinner.tsx'; /** Fullscreen loading indicator. */ const LoadingScreen: React.FC = () => { return (
- -
diff --git a/src/features/soapbox-config/components/site-preview.tsx b/src/features/soapbox-config/components/site-preview.tsx index 1fef46f41..f85d072ee 100644 --- a/src/features/soapbox-config/components/site-preview.tsx +++ b/src/features/soapbox-config/components/site-preview.tsx @@ -4,7 +4,6 @@ import { FormattedMessage } from 'react-intl'; import { defaultSettings } from 'soapbox/actions/settings.ts'; import SiteLogo from 'soapbox/components/site-logo.tsx'; -import BackgroundShapes from 'soapbox/features/ui/components/background-shapes.tsx'; import { useSystemTheme } from 'soapbox/hooks/useSystemTheme.ts'; import { normalizeSoapboxConfig } from 'soapbox/normalizers/index.ts'; import { generateThemeCss } from 'soapbox/utils/theme.ts'; @@ -39,7 +38,6 @@ const SitePreview: React.FC = ({ soapbox }) => {
{/* eslint-disable-next-line formatjs/no-literal-string-in-jsx */} -
diff --git a/src/features/ui/components/background-shapes.tsx b/src/features/ui/components/background-shapes.tsx deleted file mode 100644 index 379f40ca7..000000000 --- a/src/features/ui/components/background-shapes.tsx +++ /dev/null @@ -1,15 +0,0 @@ -import clsx from 'clsx'; - -interface IBackgroundShapes { - /** Whether the shapes should be absolute positioned or fixed. */ - position?: 'fixed' | 'absolute'; -} - -/** Gradient that appears in the background of the UI. */ -const BackgroundShapes: React.FC = ({ position = 'fixed' }) => ( -
-
-
-); - -export default BackgroundShapes; diff --git a/src/features/ui/index.tsx b/src/features/ui/index.tsx index a4fd89caf..47d2ac2a8 100644 --- a/src/features/ui/index.tsx +++ b/src/features/ui/index.tsx @@ -43,7 +43,6 @@ import SearchPage from 'soapbox/pages/search-page.tsx'; import StatusPage from 'soapbox/pages/status-page.tsx'; import WidePage from 'soapbox/pages/wide-page.tsx'; -import BackgroundShapes from './components/background-shapes.tsx'; import FloatingActionButton from './components/floating-action-button.tsx'; import Navbar from './components/navbar.tsx'; import { @@ -505,8 +504,6 @@ const UI: React.FC = ({ children }) => { })} /> - -