Layout scaffolding for Web apps.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

34 lines
808 B

  1. import type { NextPage } from 'next'
  2. import { Layouts, Widgets } from '@tesseract-design/viewfinder-react';
  3. import {Span} from '@tesseract-design/viewfinder-base';
  4. import {Brand} from '../../components/Brand';
  5. import {DummyLinks} from '../../components/DummyLinks';
  6. const BasicLayoutPage: NextPage = () => {
  7. return (
  8. <Layouts.Basic.Root
  9. topBarWidget={
  10. <Widgets.TopBar
  11. brand={
  12. <Brand />
  13. }
  14. style={{
  15. backgroundColor: 'inherit',
  16. }}
  17. span={Span.NARROW}
  18. >
  19. <DummyLinks />
  20. </Widgets.TopBar>
  21. }
  22. >
  23. <Layouts.Basic.ContentContainer
  24. span={Span.NARROW}
  25. >
  26. Hello
  27. </Layouts.Basic.ContentContainer>
  28. </Layouts.Basic.Root>
  29. )
  30. }
  31. export default BasicLayoutPage