Skip to content

Commit

Permalink
removed subscribe for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Oba-One committed Sep 1, 2024
1 parent 26f9e30 commit 0bdd585
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions packages/client/src/components/Layout/Hero.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
import { usePWA } from "@/providers/PWAProvider";
import toast from "react-hot-toast";
import React, { useState } from "react";
import { DeviceFrameset } from "react-device-frameset";
import "react-device-frameset/styles/marvel-devices.min.css";
import toast from "react-hot-toast";

import { usePWA } from "@/providers/PWAProvider";

type SubscribeState = "idle" | "subscribing" | "subscribed" | "error";

export const Hero: React.FC = () => {
const { isMobile, platform } = usePWA();
const [state, setSubscribeState] = useState<SubscribeState>("idle");
const [_state, setSubscribeState] = useState<SubscribeState>("idle");

function handleSubscribe(e: React.FormEvent<HTMLFormElement>) {
e.preventDefault();
Expand Down Expand Up @@ -67,7 +68,7 @@ export const Hero: React.FC = () => {
Open the website on your phone to get started!
</span>
</p>
<div className="flex flex-col lg:flex-row w-full mt-6">
{/* <div className="flex flex-col lg:flex-row w-full mt-6">
<input
className="w-full h-14 px-4 py-2 border-[#367D42] rounded-md bg-stone-50 mb-2"
name="email"
Expand All @@ -82,7 +83,7 @@ export const Hero: React.FC = () => {
>
Subscribe
</button>
</div>
</div> */}
{isMobile && (
<>
<button
Expand Down

1 comment on commit 0bdd585

@vercel
Copy link

@vercel vercel bot commented on 0bdd585 Sep 1, 2024

Choose a reason for hiding this comment

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

Please sign in to comment.