This commit is contained in:
		@@ -10,8 +10,8 @@ export const viewport: Viewport = {
 | 
			
		||||
  colorScheme: "dark",
 | 
			
		||||
};
 | 
			
		||||
export const metadata: Metadata = {
 | 
			
		||||
  title: "Guest List - Bangers and Mash",
 | 
			
		||||
  description: "Sign up to the Bangers and Mash guest list here to join our parties.",
 | 
			
		||||
  title: "Members List - Bangers and Mash",
 | 
			
		||||
  description: "Sign up to the Bangers and Mash members list here to join our parties.",
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
export default function RootLayout({
 | 
			
		||||
 
 | 
			
		||||
@@ -11,7 +11,7 @@ export default function Page() {
 | 
			
		||||
        height={200}
 | 
			
		||||
        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 />
 | 
			
		||||
    </div>
 | 
			
		||||
  );
 | 
			
		||||
 
 | 
			
		||||
@@ -26,11 +26,11 @@ async function listmonk(data: listmonkData): Promise<string> {
 | 
			
		||||
  try {
 | 
			
		||||
    const response = await fetch(`${listmonkUrl}subscribers`, options);
 | 
			
		||||
    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.";
 | 
			
		||||
  } 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