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.
 
 
 

30 lines
648 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. const Home: NextPage = () => {
  5. return (
  6. <Layouts.Basic.Root
  7. topBarWidget={
  8. <Widgets.TopBar
  9. brand="Brand"
  10. style={{
  11. backgroundColor: 'inherit',
  12. }}
  13. span={Span.NARROW}
  14. >
  15. TopBar
  16. </Widgets.TopBar>
  17. }
  18. >
  19. <Layouts.Basic.ContentContainer
  20. span={Span.NARROW}
  21. >
  22. Hello
  23. </Layouts.Basic.ContentContainer>
  24. </Layouts.Basic.Root>
  25. )
  26. }
  27. export default Home