diff --git a/contexts/keyboardContext.tsx b/contexts/keyboardContext.tsx
index 8322695..d3e466b 100644
--- a/contexts/keyboardContext.tsx
+++ b/contexts/keyboardContext.tsx
@@ -227,6 +227,7 @@ export default function KeyboardContextProvider({ children }) {
// first load just force check if permissions enabled
// through fake stream
+ // todo: only call this when starting to record and do it with a usecallback
useEffect(() => {
try {
// won't work in https!!!
diff --git a/pages/index.js b/pages/index.js
index 60fced8..04276ec 100644
--- a/pages/index.js
+++ b/pages/index.js
@@ -1,12 +1,18 @@
import Head from "next/head";
import Image from "next/image";
+import {
+ FaSlackHash,
+ FaNewspaper,
+ FaCalendarAlt,
+ FaThList,
+} from "react-icons/fa";
import MainLogo from "../components/MainLogo";
export default function Home() {
return (
-
-
+
+
{/* header */}
@@ -23,9 +29,31 @@ export default function Home() {
-
-
- No more slacking
+
+
+ Less
+
+
+ threads
+
+
+ slacking
+
+
+ calendars
+
+
+ files
+
+
+ threads
+
+
+
+
+
+ More
+ work.
diff --git a/styles/globals.css b/styles/globals.css
index a287371..706e1c4 100644
--- a/styles/globals.css
+++ b/styles/globals.css
@@ -137,8 +137,40 @@ p {
.landing-page-bg {
background-image: url("/wallpapers/glassmorphic.jpg");
+ background-size: 150% 150%;
+ background-repeat: no-repeat;
}
-/* body {
- background-image: url("/wallpapers/glassmorphic.jpg");
-} */
+.flippingWords {
+ animation: spin_words 6s infinite;
+}
+.flippingWordsSecond {
+ /* animation: spin_words 6s infinite; */
+}
+
+@keyframes spin_words {
+ 10% {
+ transform: translateY(-95%);
+ }
+ 25% {
+ transform: translateY(-85%);
+ }
+ 35% {
+ transform: translateY(-195%);
+ }
+ 50% {
+ transform: translateY(-185%);
+ }
+ 60% {
+ transform: translateY(-295%);
+ }
+ 75% {
+ transform: translateY(-285%);
+ }
+ 85% {
+ transform: translateY(-395%);
+ }
+ 100% {
+ transform: translateY(-385%);
+ }
+}