ciam-layout.tsx 687 B

123456789101112131415161718192021222324
  1. import React, { FC, ReactNode } from 'react'
  2. type Props = { children: ReactNode }
  3. const CiamLayout: FC<Props> = ({ children }: Props) => (
  4. <div className="ciam-layout ciam-enabled">
  5. <header className="ciam-logo">
  6. <a href="/" className="brand overleaf-ds-logo">
  7. <span className="visually-hidden">Overleaf</span>
  8. </a>
  9. </header>
  10. <div className="ciam-container">
  11. <main className="ciam-card" id="main-content">
  12. {children}
  13. </main>
  14. </div>
  15. <footer>
  16. <a href="https://www.overleaf.com/legal#Privacy">Privacy</a>
  17. <a href="https://www.overleaf.com/legal#Terms">Terms</a>
  18. </footer>
  19. </div>
  20. )
  21. export default CiamLayout