ciam-layout.tsx 732 B

1234567891011121314151617181920212223242526
  1. import React, { FC, ReactNode } from 'react'
  2. import overleafLogo from '@/shared/svgs/overleaf-a-ds-solution-mallard.svg'
  3. type Props = { children: ReactNode }
  4. const CiamLayout: FC<Props> = ({ children }: Props) => (
  5. <div className="ciam-layout ciam-enabled">
  6. <a
  7. href="/"
  8. aria-label="Overleaf"
  9. className="brand"
  10. style={{ backgroundImage: `url("${overleafLogo}")` }}
  11. />
  12. <div className="ciam-container">
  13. <main className="ciam-card" id="main-content">
  14. {children}
  15. </main>
  16. </div>
  17. <footer>
  18. <a href="https://www.overleaf.com/legal#Privacy">Privacy</a>
  19. <a href="https://www.overleaf.com/legal#Terms">Terms</a>
  20. </footer>
  21. </div>
  22. )
  23. export default CiamLayout