diff --git a/docs/components/Footer/index.jsx b/docs/components/Footer/index.jsx
index e69de29b..2547ecf8 100644
--- a/docs/components/Footer/index.jsx
+++ b/docs/components/Footer/index.jsx
@@ -0,0 +1,16 @@
+import styles from '../../styles/Home.module.css'
+
+export default function Footer() {
+ return (
+
+ )
+}
diff --git a/docs/components/Nav/index.jsx b/docs/components/Nav/index.jsx
index dddb1afa..9f05b4a9 100644
--- a/docs/components/Nav/index.jsx
+++ b/docs/components/Nav/index.jsx
@@ -1,112 +1,48 @@
import { useState } from 'react'
-import Head from 'next/head'
import Link from 'next/link'
-import styles from '../styles/Home.module.css'
-export default function Home() {
- const [open, setOpen] = useState(false);
- const handleClick = (event) => {
- event.preventDefault();
- setOpen(!open);
- };
+export default function Nav() {
+ const [open, setOpen] = useState(false);
+ const handleClick = (event) => {
+ event.preventDefault();
+ setOpen(!open);
+ };
- const navMenu = [{ title: 'Home', path: '/' },
- { title: 'Gallery', path: '/gallery' },
- { title: 'Docs', path: '/docs' },
- { title: 'Learn', path: '/learn' },
- { title: 'Github', path: 'https://github.com/datopian/portal.js' }]
+ const navMenu = [{ title: 'Home', path: '/' },
+ { title: 'Gallery', path: '/gallery' },
+ { title: 'Docs', path: '/docs' },
+ { title: 'Learn', path: '/learn' },
+ { title: 'Github', path: 'https://github.com/datopian/portal.js' }]
- return (
- <>
-
-
-
-
-
Create Portal App
-
-
-
-
-
-
-
-
-
- Rapidly build rich data portals using a modern frontend framework!
-
-
-
-
-
-
-
- >
- )
+ return (
+
+ )
}
diff --git a/docs/pages/docs.js b/docs/pages/docs.js
index e69de29b..39cf59f9 100644
--- a/docs/pages/docs.js
+++ b/docs/pages/docs.js
@@ -0,0 +1,23 @@
+import Head from 'next/head'
+import Nav from '../components/Nav'
+import Footer from '../components/Footer'
+import styles from '../styles/Home.module.css'
+
+export default function Docs() {
+
+ return (
+ <>
+
+ Portal.js Api Documentation
+
+
+
+
+
+
+
+
+
+ >
+ )
+}
diff --git a/docs/pages/gallery.js b/docs/pages/gallery.js
index e69de29b..62362dbf 100644
--- a/docs/pages/gallery.js
+++ b/docs/pages/gallery.js
@@ -0,0 +1,23 @@
+import Head from 'next/head'
+import Nav from '../components/Nav'
+import Footer from '../components/Footer'
+import styles from '../styles/Home.module.css'
+
+export default function Gallery() {
+
+ return (
+ <>
+
+ Portal.js Gallery
+
+
+
+
+
+
+
+
+
+ >
+ )
+}
diff --git a/docs/pages/index.js b/docs/pages/index.js
index dddb1afa..802d0e24 100644
--- a/docs/pages/index.js
+++ b/docs/pages/index.js
@@ -1,59 +1,18 @@
-import { useState } from 'react'
import Head from 'next/head'
-import Link from 'next/link'
+import Nav from '../components/Nav'
+import Footer from '../components/Footer'
import styles from '../styles/Home.module.css'
export default function Home() {
- const [open, setOpen] = useState(false);
- const handleClick = (event) => {
- event.preventDefault();
- setOpen(!open);
- };
-
- const navMenu = [{ title: 'Home', path: '/' },
- { title: 'Gallery', path: '/gallery' },
- { title: 'Docs', path: '/docs' },
- { title: 'Learn', path: '/learn' },
- { title: 'Github', path: 'https://github.com/datopian/portal.js' }]
return (
<>
-
-
+
+ Create Portal App
+
+
+
-
-
Create Portal App
-
-
-
@@ -95,17 +54,7 @@ export default function Home() {
-
-
+
>
)
diff --git a/docs/pages/learn.js b/docs/pages/learn.js
index e69de29b..ebc5b6b8 100644
--- a/docs/pages/learn.js
+++ b/docs/pages/learn.js
@@ -0,0 +1,23 @@
+import Head from 'next/head'
+import Nav from '../components/Nav'
+import Footer from '../components/Footer'
+import styles from '../styles/Home.module.css'
+
+export default function Learn() {
+
+ return (
+ <>
+
+ Portal.js Learn by Examples
+
+
+
+
+
+
+
+
+
+ >
+ )
+}