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 01/13] 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 = () => {
User not found :c
++ x{asset.count} +
++ {asset.name} +
++ This user has not yet set a favorite emote. +
+User not found :c
+{errorMsg}
- x{asset.count} -
++ x{asset.count} +
+- {asset.name} -
++ {asset.name} +
+