-
Notifications
You must be signed in to change notification settings - Fork 3.3k
/
Layout.jsx
34 lines (32 loc) · 863 Bytes
/
Layout.jsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import LogoIcon from '../svg/logo.svg';
import Link from 'next/link';
import SEO from './SEO';
import Header from './Header';
import playground from '../data/playground';
import docs from '../data/docs';
const Layout = ({ children, title }) => {
return (
<>
<SEO title={title} />
<Header />
{children}
<footer>
<div className="container">
<div className="logo row">
<LogoIcon />
</div>
<h1>Your powerful rich text editor.</h1>
<div className="actions row">
<Link href={docs[0].url} className="action documentation">
Documentation
</Link>
<Link href={playground[0].url} className="action">
Playground
</Link>
</div>
</div>
</footer>
</>
);
};
export default Layout;