@@ -438,7 +437,9 @@ export default function DashboardPage() {
)}
>
) : (
-
Loading...
+
)}
>
diff --git a/pages/index.tsx b/pages/index.tsx
index f50e8fc..ed39b3c 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -1,13 +1,13 @@
-//import Portal from "../components/graphics/portal";
import { useLogin } from "@privy-io/react-auth";
import { PrivyClient } from "@privy-io/server-auth";
import { GetServerSideProps } from "next";
import Head from "next/head";
import { useRouter } from "next/router";
+import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
+import { faCube, faRocket } from "@fortawesome/free-solid-svg-icons";
export const getServerSideProps: GetServerSideProps = async ({ req }) => {
const cookieAuthToken = req.cookies["privy-token"];
- // If no cookie is found, skip any further checks
if (!cookieAuthToken) return { props: {} };
const PRIVY_APP_ID = process.env.NEXT_PUBLIC_PRIVY_APP_ID;
@@ -16,8 +16,6 @@ export const getServerSideProps: GetServerSideProps = async ({ req }) => {
try {
const claims = await client.verifyAuthToken(cookieAuthToken);
- // Use this result to pass props to a page for server rendering or to drive redirects!
- // ref https://nextjs.org/docs/pages/api-reference/functions/get-server-side-props
console.log({ claims });
return {
@@ -38,21 +36,28 @@ export default function LoginPage() {
return (
<>
-
Login · Privy
+
MetaHunt · Web3 Adventure
-
-
-
-
- {/*
*/}
+
+
+
+
+
-
+
+ Welcome to W3B Game Dashboard
+
+
+ Embark on a Web3 adventure like no other
+
+
diff --git a/pages/logincomplete.tsx b/pages/logincomplete.tsx
index b962543..e54b3c7 100644
--- a/pages/logincomplete.tsx
+++ b/pages/logincomplete.tsx
@@ -48,28 +48,27 @@ export default function LoginComplete() {
Complete Login
-
-
-
Let's Complete your Login
-
Enter your unique username
-