Skip to content

Commit

Permalink
add shared modules and event bus
Browse files Browse the repository at this point in the history
  • Loading branch information
u4aew committed Dec 28, 2023
1 parent 3e10c1c commit 73674c6
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions packages/host/src/layouts/MainLayout/MainLayout.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React, { useState } from 'react';
import { useDispatch, useSelector } from 'react-redux';
import { Layout, Button, Row, Col, Select, theme } from 'antd';
import Nav from '@host/components/Nav/Nav';
const { Header, Sider, Content } = Layout;
const { Header, Sider, Content, Footer } = Layout;
import { MenuFoldOutlined, MenuUnfoldOutlined } from '@ant-design/icons';
import { useDispatch, useSelector } from 'react-redux';
import Nav from '@host/components/Nav/Nav';
import { userSelector } from '@host/store/features/common/selectors';
import { setUserRole } from '@host/store/features/common/slice';
import { AppDispatch } from '@host/store/store';
Expand Down Expand Up @@ -72,6 +72,15 @@ export const MainLayout = ({ children }) => {
>
{children}
</Content>
<Footer style={{ textAlign: 'center' }}>
<a
href="https://github.com/u4aew/module-federation-playground"
target="_blank"
rel="noopener noreferrer"
>
GitHub Repository Link
</a>
</Footer>
</Layout>
</Layout>
);
Expand Down

0 comments on commit 73674c6

Please sign in to comment.