diff --git a/src/1f3b9.svg b/src/1f3b9.svg
new file mode 100644
index 0000000..6ce8afd
--- /dev/null
+++ b/src/1f3b9.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/App.js b/src/App.js
index c69195a..a986fcc 100644
--- a/src/App.js
+++ b/src/App.js
@@ -1,15 +1,17 @@
import React from 'react';
+import MainMenu from './features/menu/Menu';
import TimbreSwitcher from './features/timbre/timbreSwitcher';
import './App.css';
function App() {
- return (
-
-
-
- );
+ return (
+
+
+
+ );
}
export default App;
diff --git a/src/features/menu/Menu.css b/src/features/menu/Menu.css
new file mode 100644
index 0000000..400addd
--- /dev/null
+++ b/src/features/menu/Menu.css
@@ -0,0 +1,86 @@
+.menu {
+ position: absolute;
+ background: white;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ z-index: 9999;
+}
+
+@keyframes sweep {
+ 0% {
+ transform: translate(0, 0);
+ }
+ 100% {
+ transform: translate(-100%, -100%);
+ }
+}
+
+.menu-true {
+ top: 0;
+ left: 0;
+ min-height: 100vh;
+ min-width: 100vw;
+}
+
+.menu-false {
+ left: -100vw;
+}
+
+.menu-logo {
+ height: 40vmin;
+ pointer-events: none;
+}
+
+.menu-title {
+ color: #1c1d21;
+ font-family: 'Lato', sans-serif;
+ font-weight: 700;
+ line-height: 1em;
+ font-size: calc(10px + 10vmin);
+ margin: 0 0 0.5em 0;
+}
+
+.menu-button,
+.menu-open-button {
+ background: transparent;
+ display: inline-block;
+ margin: 1em;
+ padding: 0.35em 1em;
+ border: 0.1em solid slateblue;
+ border-radius: 0.12em;
+ color: slateblue;
+ font-family: 'Roboto', sans-serif;
+ font-size: 1em;
+ font-weight: 300;
+ text-align: center;
+ outline: none;
+ transition: all 0.2s ease-in-out;
+}
+.menu-button:hover {
+ color: white;
+ background: slateblue;
+}
+
+.menu-open-button:hover {
+ color: white;
+ background: #ef476f;
+}
+
+.menu-open-button {
+ line-height: 1em;
+ position: absolute;
+ padding: 0.13em 0.3em;
+ color: #ef476f;
+ border: 0.09em solid #ef476f;
+ margin: 0;
+ top: 0.55em;
+ left: 0.5em;
+}
+
+/* change how the button is handled when screen is smaller then 880px*/
+
+.menu-open-button::before {
+ content: '\2630';
+}
diff --git a/src/features/menu/Menu.js b/src/features/menu/Menu.js
new file mode 100644
index 0000000..7355cd8
--- /dev/null
+++ b/src/features/menu/Menu.js
@@ -0,0 +1,29 @@
+import React, { useState } from 'react';
+import logo from '../../1f3b9.svg';
+import './Menu.css';
+
+export default function MainMenu(props) {
+ const [open, setOpen] = useState(true);
+
+ const HandleClick = () => {
+ setOpen(!open);
+ };
+
+ return (
+
+
+

+
+
+
+
+
+
+ {!open && (
+
+ )}
+
+ );
+}
diff --git a/src/features/timbre/Timbre.module.css b/src/features/timbre/Timbre.module.css
index 0452f06..dbb7df2 100644
--- a/src/features/timbre/Timbre.module.css
+++ b/src/features/timbre/Timbre.module.css
@@ -63,6 +63,7 @@
-moz-user-select: none; /* Old versions of Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none;
+ transition: all 0.2s ease-in-out;
}
.tab:hover {
diff --git a/src/fonts.css b/src/fonts.css
new file mode 100644
index 0000000..2f13b85
--- /dev/null
+++ b/src/fonts.css
@@ -0,0 +1,2 @@
+@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Noto+Sans+HK&family=Roboto:wght@100;300;400&display=swap');
+/* import Lato and Roboto and Noto Fonts*/
diff --git a/src/index.css b/src/index.css
index bdfc3c8..1bdc9de 100644
--- a/src/index.css
+++ b/src/index.css
@@ -1,7 +1,8 @@
+@import url(./fonts.css);
body {
margin: 0;
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
- 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
+ font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto',
+ 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;