mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* add ENV for navigation layout type * add network menu to top bar * renaming and main component placeholder * add logo, testnet badge, login and connect wallet buttons to the nav bar * refactor once more * styles for nav link group * style nav link * style groupped nav links * update values for L2 review * update demo values * fix deployment values for L2 review * tests * fix prop collision * shorten filter input on marketplace page and update MainArea height * change margin between text and lightning label * add active state to "Other" nav menu * popover fixes * fix link width * [skip ci] update demo values
36 lines
899 B
TypeScript
36 lines
899 B
TypeScript
import React from 'react';
|
|
|
|
import type { Props } from './types';
|
|
|
|
import AppErrorBoundary from 'ui/shared/AppError/AppErrorBoundary';
|
|
import HeaderAlert from 'ui/snippets/header/HeaderAlert';
|
|
import HeaderDesktop from 'ui/snippets/header/HeaderDesktop';
|
|
import HeaderMobile from 'ui/snippets/header/HeaderMobile';
|
|
|
|
import * as Layout from './components';
|
|
|
|
const LayoutError = ({ children }: Props) => {
|
|
return (
|
|
<Layout.Container>
|
|
<Layout.TopRow/>
|
|
<Layout.NavBar/>
|
|
<HeaderMobile/>
|
|
<Layout.MainArea>
|
|
<Layout.SideBar/>
|
|
<Layout.MainColumn>
|
|
<HeaderAlert/>
|
|
<HeaderDesktop/>
|
|
<AppErrorBoundary>
|
|
<main>
|
|
{ children }
|
|
</main>
|
|
</AppErrorBoundary>
|
|
</Layout.MainColumn>
|
|
</Layout.MainArea>
|
|
<Layout.Footer/>
|
|
</Layout.Container>
|
|
);
|
|
};
|
|
|
|
export default LayoutError;
|