diff --git a/packages/web/app/custom-css/1-helpers/_variables.scss b/packages/web/app/custom-css/1-helpers/_variables.scss index 3c96e678..574752a8 100644 --- a/packages/web/app/custom-css/1-helpers/_variables.scss +++ b/packages/web/app/custom-css/1-helpers/_variables.scss @@ -29,7 +29,7 @@ $xl: 82.5rem; // Colors $primary: #2c2c2c; $altPrimary: #e1e1da; -$secondary: #f35610; +$secondary: #6b93c3; $altSecondary: #6b93c3; // Gradients diff --git a/packages/web/components/Alerts/SignUp.tsx b/packages/web/components/Alerts/SignUp.tsx index 8e40249b..7035eeba 100644 --- a/packages/web/components/Alerts/SignUp.tsx +++ b/packages/web/components/Alerts/SignUp.tsx @@ -1,8 +1,8 @@ "use client"; -import { useEffect, useRef, useState } from "react"; -import styles from "./alertsignup.module.scss"; import { TABLES } from "@/lib/supabase/db"; import { supabase } from "@/lib/supabase/supabaseClient"; +import { useEffect, useRef, useState } from "react"; +import styles from "./alertsignup.module.scss"; interface AlertSignUpProps { onSignUpComplete: () => void; @@ -27,10 +27,9 @@ export default function AlertSignUp({ onSignUpComplete }: AlertSignUpProps) { const handleSubscription = async (email: string) => { try { - const { data, error } = await supabase.from(TABLES.ALERTS).insert([ - { email: email, topics: "" }, - ]); - + const { data, error } = await supabase + .from(TABLES.ALERTS) + .insert([{ email: email, topics: "" }]); if (error) { console.error("Error inserting subscription", error.message); setSuccessMessage(`Error: ${error.message}. Please try again.`); @@ -54,7 +53,10 @@ export default function AlertSignUp({ onSignUpComplete }: AlertSignUpProps) { return (
- + setEmail(e.target.value)} placeholder="Enter your email" required + className={styles["input"]} />
{/* Combined Card Responses */} -

{combinedResponses}

+
+ {combinedResponses} +
{isYouTubeURL(thumbnail?.source_url) && ( diff --git a/packages/web/components/HomeBanner/NewQuery.tsx b/packages/web/components/HomeBanner/NewQuery.tsx index 8c839146..ede1dd23 100644 --- a/packages/web/components/HomeBanner/NewQuery.tsx +++ b/packages/web/components/HomeBanner/NewQuery.tsx @@ -201,8 +201,8 @@ export default function NewQuery() { ) : (