Add a LandingTimeline, put the site name and description on it

This commit is contained in:
Alex Gleason
2023-09-21 12:02:02 -05:00
parent e95d2065d3
commit def95d2b5c
7 changed files with 260 additions and 9 deletions

View File

@@ -18,7 +18,6 @@ import Helmet from 'soapbox/components/helmet';
import LoadingScreen from 'soapbox/components/loading-screen';
import { StatProvider } from 'soapbox/contexts/stat-context';
import EmbeddedStatus from 'soapbox/features/embedded-status';
import PublicLayout from 'soapbox/features/public-layout';
import BundleContainer from 'soapbox/features/ui/containers/bundle-container';
import {
ModalContainer,
@@ -95,12 +94,8 @@ const SoapboxMount = () => {
/** Render the auth layout or UI. */
const renderSwitch = () => (
<Switch>
{!me && (redirectRootNoLogin
? <Redirect exact from='/' to={redirectRootNoLogin} />
: <Route exact path='/' component={PublicLayout} />)}
{!me && (
<Route exact path='/' component={PublicLayout} />
{(!me && redirectRootNoLogin) && (
<Redirect exact from='/' to={redirectRootNoLogin} />
)}
<Route path='/' component={UI} />