Skip to content

Commit

Permalink
Move fcl config to layout (#1046)
Browse files Browse the repository at this point in the history
Co-authored-by: Chase Fleming <[email protected]>
  • Loading branch information
chasefleming and chasefleming authored Dec 13, 2024
1 parent ead74c0 commit d36caa8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import HomePage from '../ui/design-system/src/lib/Pages/HomePage';
// import { refreshTools } from '../cms/tools.server'
import { externalLinks } from '../data/external-links';
import { contentNavigationListItems } from '../data/pages/home';
import '../config/fcl';

const data = {
discordUrl: externalLinks.discord,
Expand Down
15 changes: 15 additions & 0 deletions src/theme/Layout/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import React from 'react';
import Layout from '@theme-original/Layout';
import type LayoutType from '@theme/Layout';
import type {WrapperProps} from '@docusaurus/types';
import '../../config/fcl';

type Props = WrapperProps<typeof LayoutType>;

export default function LayoutWrapper(props: Props): JSX.Element {
return (
<>
<Layout {...props} />
</>
);
}

0 comments on commit d36caa8

Please sign in to comment.