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.
 
 
 

45 lines
1.2 KiB

  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 Link from 'next/link';
  5. import {Brand} from '../../components/Brand';
  6. import {DummyLinks} from '../../components/DummyLinks';
  7. const RightSidebarStaticLayoutPage: NextPage = () => {
  8. return (
  9. <Layouts.RightSidebarStatic.Root
  10. sidebarBaseWidget={
  11. <Widgets.RightSidebarStaticBase
  12. span={Span.WIDE}
  13. style={{
  14. backgroundColor: 'inherit',
  15. }}
  16. >
  17. <Layouts.RightSidebarStatic.SidebarContentContainer>
  18. Sidebar
  19. </Layouts.RightSidebarStatic.SidebarContentContainer>
  20. </Widgets.RightSidebarStaticBase>
  21. }
  22. topBarWidget={
  23. <Widgets.TopBar
  24. brand={
  25. <Brand />
  26. }
  27. style={{
  28. backgroundColor: 'inherit',
  29. }}
  30. span={Span.WIDE}
  31. >
  32. <DummyLinks />
  33. </Widgets.TopBar>
  34. }
  35. >
  36. <Layouts.RightSidebarStatic.MainContentContainer>
  37. Hello
  38. </Layouts.RightSidebarStatic.MainContentContainer>
  39. </Layouts.RightSidebarStatic.Root>
  40. )
  41. }
  42. export default RightSidebarStaticLayoutPage