From 10e7901c7663d12112d73fe9261868e7c7c854c4 Mon Sep 17 00:00:00 2001 From: 3zachm <3zachm2@gmail.com> Date: Mon, 16 Jan 2023 19:34:11 -0800 Subject: [PATCH] less bad temp landing page --- pages/index.tsx | 59 +++++++++++++++---------------------------------- 1 file changed, 18 insertions(+), 41 deletions(-) diff --git a/pages/index.tsx b/pages/index.tsx index 197ffd0..2962b6f 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -2,11 +2,10 @@ import { m } from "framer-motion"; import { ReactElement, useEffect, useState } from "react"; import HomeLayout from "../layouts/HomeLayout"; import { homeMain } from "../layouts/NavTemplates"; -import type { NextPageWithLayout } from "./_app"; import Image from "next/image"; import Head from "next/head"; -const Home: NextPageWithLayout = () => { +function Home() { let api7tvEmotes = `/api/7tv/emotes?c=61ad997effa9aba101bcfddf`; const [emotesUrls, setEmotes] = useState([]); const [currentEmote, setCurrentEmote] = useState(0); @@ -79,49 +78,25 @@ const Home: NextPageWithLayout = () => { Home - toffee
-
+
- -

- t -

-

ax-free

-
- -

+
+ t + off -

-

line

-
- -

- e -

-

mote

-
- -

- e -

-

xchange

-
+ + ee +
+
+ + a tax-free offline emote exchange utility + +
{
); -}; +} const sloganContainerVariants = { initial: { @@ -163,7 +138,7 @@ const sloganContainerVariants = { bounce: 0.5, stiffness: 150, delayChildren: 1.0, - staggerChildren: 0.45, + staggerChildren: 0.1, }, }, }; @@ -171,9 +146,11 @@ const sloganContainerVariants = { const sloganHeaderVariants = { initial: { opacity: 0, + y: -15, }, animate: { opacity: 1, + y: 0, }, };