Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove all the assets loading #4

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,17 @@ const getRowsQuery = (recordsLimit: number, isLatest: boolean) => {
collection(db, "covers"),
where(documentId(), "in", [
"PkOBGtGbdyMSEkG0BQ6O",
"f0pmE4twBXnJmVrJzh18",
// "ByE2N5MsLcSYpUR8s6a3",
"YE7LMzWbCKgkLgSKVX9Q",
"bkvtnO1D4fOUYvzwn0NJ",
// "abRoiarmwTRMqWTyqSGn",
"Sey1qVFqitYhnKkddMuQ",
"RL2bdU5NJOukDwQzzW1s",
"NAc4aENdcDHIh2k4K5oG",
"8FbtvPhkC13vo3HnAirx",
"lsUBEcaYfOidpvjUxpz1",
"hoZTAYrVO5qYmHz9CZtV",
// "f0pmE4twBXnJmVrJzh18",
// // "ByE2N5MsLcSYpUR8s6a3",
// "YE7LMzWbCKgkLgSKVX9Q",
// "bkvtnO1D4fOUYvzwn0NJ",
// // "abRoiarmwTRMqWTyqSGn",
// "Sey1qVFqitYhnKkddMuQ",
// "RL2bdU5NJOukDwQzzW1s",
// "NAc4aENdcDHIh2k4K5oG",
// "8FbtvPhkC13vo3HnAirx",
// "lsUBEcaYfOidpvjUxpz1",
// "hoZTAYrVO5qYmHz9CZtV",
])
);
}
Expand Down Expand Up @@ -256,7 +256,7 @@ const Index = () => {
borderRadius: 10,
}}
>
<Leaderboard />
{/* <Leaderboard /> */}
</Stack>
)}
<Stack
Expand Down Expand Up @@ -514,7 +514,7 @@ const Index = () => {
/>
)}
</Stack>
{!isMobileView && activeStep === 0 && (
{/* {!isMobileView && activeStep === 0 && (
<Stack
width={"30%"}
alignItems={"center"}
Expand All @@ -529,31 +529,31 @@ const Index = () => {
<OpenChallenges userUid={user?.uid} email={userDoc?.email} />
)}
</Stack>
)}
)} */}
</Stack>
<RequestInvitation
{/* <RequestInvitation
show={activeStep === 1 && !user && !authLoading && !checkingAuth}
redirectUrl={
typeof window !== "undefined"
? window.location.origin +
`?coverId=${selectedCoverDoc?.id}&qBgNo=${bgNo}`
: `https://marblerace.ai?coverId=${selectedCoverDoc?.id}&qBgNo=${bgNo}`
}
/>
/> */}
</Stack>
<Drawer
open={showLeaderboardDrawer}
anchor="bottom"
onClose={() => setShowLeaderboardDrawer(false)}
>
<Leaderboard />
{/* <Leaderboard /> */}
</Drawer>
<Drawer
open={showChallengesDrawer}
anchor="bottom"
onClose={() => setShowChallengesDrawer(false)}
>
<OpenChallenges userUid={user?.uid} email={userDoc?.email} />
{/* <OpenChallenges userUid={user?.uid} email={userDoc?.email} /> */}
</Drawer>
{isMobileView && (
<Footer
Expand Down
Binary file removed public/assets/finish.png
Binary file not shown.
Binary file removed public/assets/obstacles/appalled_girlfriend.png
Binary file not shown.
Binary file removed public/assets/obstacles/distracted_boyfriend.png
Binary file not shown.
Binary file removed public/assets/obstacles/harold.png
Binary file not shown.
Binary file removed public/assets/obstacles/meme_man.png
Binary file not shown.
Binary file removed public/assets/obstacles/pedro.png
Binary file not shown.
Binary file removed public/assets/obstacles/roll_safe.png
Binary file not shown.
Binary file removed public/assets/obstacles/shiba.png
Binary file not shown.
Binary file removed public/assets/obstacles/wojack.png
Binary file not shown.
Loading