Skip to content

Commit

Permalink
Move fullWidthPageLayout in the same place as standardPageLayoyut
Browse files Browse the repository at this point in the history
  • Loading branch information
giorgiosironi committed May 15, 2024
1 parent 93d862e commit d26b4a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/http/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ import { saveArticleFormPage } from '../read-side/html-pages/save-article-form-p
import { scietyFeedCodec, scietyFeedPage } from '../read-side/html-pages/sciety-feed-page';
import { searchPage } from '../read-side/html-pages/search-page';
import { searchResultsPage, paramsCodec as searchResultsPageParams } from '../read-side/html-pages/search-results-page';
import { fullWidthPageLayout } from '../read-side/html-pages/shared-components/full-width-page-layout';
import { referencePage, sharedComponentsPage, indexPage } from '../read-side/html-pages/style-guide-page';
import { subscribeToListPage } from '../read-side/html-pages/subscribe-to-list-page';
import { userPage as userFollowingPage, userPageParams as userFollowingPageParams } from '../read-side/html-pages/user-page/user-following-page';
Expand All @@ -50,7 +51,6 @@ import { applicationStatus } from '../read-side/non-html-views/status';
import { statusGroups } from '../read-side/non-html-views/status-groups';
import { groupPagePathSpecification, constructPaperActivityPageHref, paperActivityPagePathSpecification } from '../read-side/paths';
import { redirectToAvatarImageUrl } from '../read-side/user-avatars';
import { fullWidthPageLayout } from '../shared-components/full-width-page-layout';
import * as EDOI from '../types/expression-doi';

type Config = AuthenticationRoutesConfig & EnvironmentVariables;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { pipe } from 'fp-ts/function';
import { toContentWrappedInLayout } from '../read-side/html-pages/content-wrapped-in-layout';
import { PageLayout } from '../read-side/html-pages/page-layout';
import { siteFooter } from '../read-side/html-pages/shared-components/site-footer';
import { siteHeader } from '../read-side/html-pages/shared-components/site-header';
import { siteFooter } from './site-footer';
import { siteHeader } from './site-header';
import { toContentWrappedInLayout } from '../content-wrapped-in-layout';
import { PageLayout } from '../page-layout';

export const fullWidthPageLayout: PageLayout = (user) => (page) => pipe(
`
Expand Down

0 comments on commit d26b4a1

Please sign in to comment.