mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* quick demo with slider * change api host to eth * add styles for color mode switch * save selected hex in cookie * style tweaks * redesign and top bar * mobile view of top bar * top bat stats * change api host for review env * test and fix default color mode * review fixes and refactoring * update screenshots * Remove "only" from extendedTest in SearchResults.pw.tsx * [skip ci] select first color when clicking on theme row * Update color mode switch styles * [skip ci] rollback review env values * [skip ci] 💩💩💩 i need psychotherapy * [skip ci] ":" * fix footer layout
35 lines
900 B
TypeScript
35 lines
900 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 LayoutDefault = ({ children }: Props) => {
|
|
return (
|
|
<Layout.Container>
|
|
<Layout.TopRow/>
|
|
<HeaderMobile/>
|
|
<Layout.MainArea>
|
|
<Layout.SideBar/>
|
|
<Layout.MainColumn>
|
|
<HeaderAlert/>
|
|
<HeaderDesktop/>
|
|
<AppErrorBoundary>
|
|
<Layout.Content>
|
|
{ children }
|
|
</Layout.Content>
|
|
</AppErrorBoundary>
|
|
</Layout.MainColumn>
|
|
</Layout.MainArea>
|
|
<Layout.Footer/>
|
|
</Layout.Container>
|
|
);
|
|
};
|
|
|
|
export default LayoutDefault;
|