Skip to content

Commit

Permalink
maintenance (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
notV4l authored Sep 23, 2023
1 parent e8b06f4 commit 01789c5
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions web/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ export default function Home() {
const [isSubmitting, setIsSubmitting] = useState(false);
const [isGated, setIsGated] = useState(false);

// useEffect(
// () =>
// setIsGated(window.location.host === "rollyourown.preview.cartridge.gg"),
// [],
// );
useEffect(
() =>
setIsGated(window.location.host === "rollyourown.preview.cartridge.gg"),
[],
);

const [isTutorialOpen, setIsTutorialOpen] = useState(false);

Expand All @@ -60,12 +60,16 @@ export default function Home() {
{isGated ? (
<VStack>
<HStack>
<Alert />
<Text align="center">Under Maintenance</Text>
</HStack>
{/* <HStack>
<Alert />
<Text align="center">Under Construction</Text>
</HStack>
<Text align="center">
Get ready hustlers... Season II starts in September
</Text>
</Text> */}
</VStack>
) : (
<>
Expand Down

1 comment on commit 01789c5

@vercel
Copy link

@vercel vercel bot commented on 01789c5 Sep 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

rollyourown – ./

rollyourown.preview.cartridge.gg
rollyourown-git-main.preview.cartridge.gg

Please sign in to comment.