This commit is contained in:
		@@ -10,8 +10,8 @@ export const viewport: Viewport = {
 | 
				
			|||||||
  colorScheme: "dark",
 | 
					  colorScheme: "dark",
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
export const metadata: Metadata = {
 | 
					export const metadata: Metadata = {
 | 
				
			||||||
  title: "Guest List - Bangers and Mash",
 | 
					  title: "Members List - Bangers and Mash",
 | 
				
			||||||
  description: "Sign up to the Bangers and Mash guest list here to join our parties.",
 | 
					  description: "Sign up to the Bangers and Mash members list here to join our parties.",
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export default function RootLayout({
 | 
					export default function RootLayout({
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -11,7 +11,7 @@ export default function Page() {
 | 
				
			|||||||
        height={200}
 | 
					        height={200}
 | 
				
			||||||
        className="mx-auto my-8"
 | 
					        className="mx-auto my-8"
 | 
				
			||||||
      />
 | 
					      />
 | 
				
			||||||
      <h1 className="mb-4 text-xl">Sign up to our guest list here</h1>
 | 
					      <h1 className="mb-4 text-xl">Sign up to our members list here</h1>
 | 
				
			||||||
      <SignUp />
 | 
					      <SignUp />
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
  );
 | 
					  );
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -26,11 +26,11 @@ async function listmonk(data: listmonkData): Promise<string> {
 | 
				
			|||||||
  try {
 | 
					  try {
 | 
				
			||||||
    const response = await fetch(`${listmonkUrl}subscribers`, options);
 | 
					    const response = await fetch(`${listmonkUrl}subscribers`, options);
 | 
				
			||||||
    if (!response.ok) {
 | 
					    if (!response.ok) {
 | 
				
			||||||
      return "Error. Please try again";
 | 
					      return "An error occurred or this email is already subscribed.";
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    return "Thanks for signing up! Please check your email for a confirmation.";
 | 
					    return "Thanks for signing up! Please check your email for a confirmation.";
 | 
				
			||||||
  } catch (error) {
 | 
					  } catch (error) {
 | 
				
			||||||
    return "Error. Please contact us.";
 | 
					    return "An error occurred while trying to sign up. Please try again.";
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user