diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..99a0a12
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2021 Accord's Library
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/components/mainmenu.module.css b/components/mainmenu.module.css
new file mode 100644
index 0000000..85d3b03
--- /dev/null
+++ b/components/mainmenu.module.css
@@ -0,0 +1,73 @@
+.menu {
+ border: 1px solid black;
+ height: 100%;
+ width: 100%;
+ display: grid;
+ justify-items: center;
+ padding: 2rem;
+ overflow-y: auto;
+ max-height: 100vh;
+ scrollbar-width: none;
+ grid-row-gap: 0.5em;
+}
+
+.menuLogo {
+ display: grid;
+ place-items: center;
+ cursor: pointer;
+}
+
+.menuLogo > h2 {
+ margin-top: 0;
+}
+
+.menuLogo > img {
+ width: 50%;
+ height: auto;
+ place-self: start center;
+}
+
+.menu > hr {
+ height: 0;
+ width: 100%;
+ border: none;
+ border-top: 0.3rem dotted black;
+ margin: 2rem;
+}
+
+.menuOption {
+ justify-self: start;
+ display: grid;
+ grid-template-areas: 'img title' '. subtitle';
+ grid-template-columns: auto 1fr;
+ align-items: center;
+ grid-column-gap: 1em;
+ cursor: pointer;
+ padding: 0.4em 1em;
+ width: 100%;
+}
+
+.menuOption:hover {
+ background-color: var(--color-main-base);
+ border-radius: 1em;
+}
+
+.menuOption > * {
+ margin: 0;
+}
+
+.menuOption > img {
+ width: 1.2em;
+ height: auto;
+ grid-area: img;
+}
+
+.menuOption > h3 {
+ grid-area: title;
+ font-size: 150%;
+ font-weight: 600;
+}
+
+.menuOption > p {
+ grid-area: subtitle;
+}
\ No newline at end of file
diff --git a/components/mainmenu.tsx b/components/mainmenu.tsx
new file mode 100644
index 0000000..08ff103
--- /dev/null
+++ b/components/mainmenu.tsx
@@ -0,0 +1,75 @@
+import Link from 'next/link'
+import styles from './mainmenu.module.css'
+
+export default function MainMenu() {
+ return (
+
+
+
+
+
+
Accord's Library
+
+
+
+
+
+
+
+
+
+
+
Library
+
Browse all physical and digital media
+
+
+
+
+
+
+
Hubs
+
Explore all content of a specific game/series
+
+
+
+
+
+
+
Chronology
+
Follow all events in chronological order
+
+
+
+
+
+
+
+
+
Archive
+
+
+
+
+
+
+
News
+
+
+
+
+
+
+
Gallery
+
+
+
+
+
+
+
About us
+
+
+
+
+ )
+}
\ No newline at end of file
diff --git a/pages/api/hello.ts b/pages/api/hello.ts
index f8bcc7e..aa953fa 100644
--- a/pages/api/hello.ts
+++ b/pages/api/hello.ts
@@ -9,5 +9,5 @@ export default function handler(
req: NextApiRequest,
res: NextApiResponse
) {
- res.status(200).json({ name: 'John Doe' })
+ res.status(200).json({ name: 'John Lenon' })
}
diff --git a/pages/index.tsx b/pages/index.tsx
index 72a4a59..440b2a9 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -1,7 +1,7 @@
import type { NextPage } from 'next'
import Head from 'next/head'
-import Image from 'next/image'
import styles from '../styles/Home.module.css'
+import MainMenu from '../components/mainmenu'
const Home: NextPage = () => {
return (
@@ -9,62 +9,17 @@ const Home: NextPage = () => {
Create Next App
-
+
+
+
+
+
-