Skip to content

Fixed Founder's Club references #130

Merged
greeenboi merged 1 commit intofounder-srm:mainfrom
yatinannam:main
Feb 26, 2026
Merged

Fixed Founder's Club references #130
greeenboi merged 1 commit intofounder-srm:mainfrom
yatinannam:main

Conversation

@yatinannam
Copy link
Contributor

No description provided.

@vercel
Copy link
Contributor

vercel bot commented Feb 26, 2026

@yatinannam is attempting to deploy a commit to the fc-temp Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates “Founder's Club” branding references across Supabase email functions and the Next.js UI.

Changes:

  • Updated sender/from names and visible UI strings from “Founder's Club” to “Founders Club”.
  • Adjusted contact email template/signature text to use the updated branding.
  • Reformatted some TS/TSX files (notably switching to double quotes in places).

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 11 comments.

Show a summary per file
File Description
supabase/functions/event-rejection-email/index.ts Updates sender display name for rejection emails.
supabase/functions/contact-function/template.ts Updates branding text in the contact confirmation email template.
supabase/functions/contact-function/index.ts Updates sender display name and branding text in support notification email content.
src/components/upcoming-featured.tsx Updates “Founder's Club” UI strings/alt text for the featured upcoming event card.
src/app/(home)/upcoming/more-info/[slug]/page.tsx Updates “Founder's Club” UI strings/alt text on the event details page.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +1 to +6
import { formatInTimeZone } from "date-fns-tz";
import { ArrowUpRight, CalendarX2 } from "lucide-react";
import Image from "next/image";
import Link from "next/link";
import { Badge } from "@/components/ui/badge";
import { Button } from "@/components/ui/button";
Copy link

Copilot AI Feb 26, 2026

Choose a reason for hiding this comment

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

This file now uses double-quoted string literals, but the repo’s Biome config sets javascript.formatter.quoteStyle to single. Please revert these to single quotes (or run the Biome formatter) to avoid style drift/noisy diffs.

Copilot uses AI. Check for mistakes.
);
}
const tags = event.tags.map(tag => (
const tags = event.tags.map((tag) => (
Copy link

Copilot AI Feb 26, 2026

Choose a reason for hiding this comment

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

event.tags.map((tag) => ...) adds parentheses around a single-arg arrow function; Biome is configured with arrowParentheses: asNeeded, so this should be tag => ... to match the repo formatter.

Suggested change
const tags = event.tags.map((tag) => (
const tags = event.tags.map(tag => (

Copilot uses AI. Check for mistakes.
@@ -129,10 +127,10 @@ export function FeaturedPost({ event }: { event: eventsInsertType }) {
<div className="flex flex-col gap-px">
<span className="text-xs font-medium">Founder&apos;s Club</span>
Copy link

Copilot AI Feb 26, 2026

Choose a reason for hiding this comment

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

This section still renders the label as "Founder’s Club" while other updated strings in this component use "Founders Club". Update this remaining UI string so the branding is consistent across breakpoints.

Suggested change
<span className="text-xs font-medium">Founder&apos;s Club</span>
<span className="text-xs font-medium">Founders Club</span>

Copilot uses AI. Check for mistakes.
content={
<div className="flex flex-wrap gap-2">
{event.tags.map(tag => (
{event.tags.map((tag) => (
Copy link

Copilot AI Feb 26, 2026

Choose a reason for hiding this comment

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

event.tags.map((tag) => ...) adds parentheses for a single-parameter arrow function, which conflicts with the repo’s arrowParentheses: asNeeded setting. Prefer tag => ... here.

Suggested change
{event.tags.map((tag) => (
{event.tags.map(tag => (

Copilot uses AI. Check for mistakes.
Comment on lines 32 to 36
const senderEmailData = {
from: "The Founder's Club <no-reply@thefoundersclub.tech>",
from: "The Founders Club <no-reply@thefoundersclub.tech>",
to: [record.email],
subject: 'Your Contact Request has been Submitted',
html: generateHTML(record),
Copy link

Copilot AI Feb 26, 2026

Choose a reason for hiding this comment

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

The from value uses double quotes, while the rest of the file uses single quotes. Please change to single quotes to keep formatting consistent and avoid formatter churn.

Copilot uses AI. Check for mistakes.
<td class="pad" style="padding-left:38px;padding-right:38px;padding-top:10px;">
<div style="color:#000000;font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;line-height:150%;;mso-line-height-alt:24px;">
<p style="margin: 0;"><span style="word-break: break-word; color: #4b4949;">Hello ${record.name},</span><br><br><span style="word-break: break-word; color: #4b4949;">Thank you for reaching out to the Founder's Club! We have successfully received your contact request and will be shortly reaching out to you.<br/><br/>The Founder's Club<br/>Directorate of Entrepeunership and Innovation<br/>SRM Institute of Science and Technology<br/>Kattankulathur<br/>Tamil Nadu - 603203</span></p>
<p style="margin: 0;"><span style="word-break: break-word; color: #4b4949;">Hello ${record.name},</span><br><br><span style="word-break: break-word; color: #4b4949;">Thank you for reaching out to the Founders Club! We have successfully received your contact request and will be shortly reaching out to you.<br/><br/>The Founders Club<br/>Directorate of Entrepeunership and Innovation<br/>SRM Institute of Science and Technology<br/>Kattankulathur<br/>Tamil Nadu - 603203</span></p>
Copy link

Copilot AI Feb 26, 2026

Choose a reason for hiding this comment

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

Email template text contains a misspelling: "Entrepeunership" should be "Entrepreneurship" (user-facing email content).

Suggested change
<p style="margin: 0;"><span style="word-break: break-word; color: #4b4949;">Hello ${record.name},</span><br><br><span style="word-break: break-word; color: #4b4949;">Thank you for reaching out to the Founders Club! We have successfully received your contact request and will be shortly reaching out to you.<br/><br/>The Founders Club<br/>Directorate of Entrepeunership and Innovation<br/>SRM Institute of Science and Technology<br/>Kattankulathur<br/>Tamil Nadu - 603203</span></p>
<p style="margin: 0;"><span style="word-break: break-word; color: #4b4949;">Hello ${record.name},</span><br><br><span style="word-break: break-word; color: #4b4949;">Thank you for reaching out to the Founders Club! We have successfully received your contact request and will be shortly reaching out to you.<br/><br/>The Founders Club<br/>Directorate of Entrepreneurship and Innovation<br/>SRM Institute of Science and Technology<br/>Kattankulathur<br/>Tamil Nadu - 603203</span></p>

Copilot uses AI. Check for mistakes.
Comment on lines +1 to +7
import { formatInTimeZone } from "date-fns-tz";
import { CalendarDays, Clock, Info, MapPin, Tag, User } from "lucide-react";
import type { Metadata, ResolvingMetadata } from "next";
import Image from "next/image";
import Link from "next/link";
import { Badge } from "@/components/ui/badge";
import { Button } from "@/components/ui/button";
Copy link

Copilot AI Feb 26, 2026

Choose a reason for hiding this comment

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

This file switches many literals/imports to double quotes, but the repo’s Biome config enforces single quotes (javascript.formatter.quoteStyle: single). Please run the formatter or revert to single quotes to keep consistent styling and avoid churn.

Copilot uses AI. Check for mistakes.
// Send confirmation email to registrant
const registrantEmailData = {
from: "The Founder's Club <no-reply@thefoundersclub.tech>",
from: "The Founders Club <no-reply@thefoundersclub.tech>",
Copy link

Copilot AI Feb 26, 2026

Choose a reason for hiding this comment

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

The from field is the only string here using double quotes in a file otherwise consistently using single quotes. For consistency (and to match the Biome quoteStyle setting), switch this to single quotes.

Suggested change
from: "The Founders Club <no-reply@thefoundersclub.tech>",
from: 'The Founders Club <no-reply@thefoundersclub.tech>',

Copilot uses AI. Check for mistakes.
Comment on lines 46 to 48
const supportEmailData = {
from: "The Founder's Club <no-reply@thefoundersclub.tech>",
from: "The Founders Club <no-reply@thefoundersclub.tech>",
to: ['support@thefoundersclub.in'],
Copy link

Copilot AI Feb 26, 2026

Choose a reason for hiding this comment

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

The from value here also uses double quotes in an otherwise single-quote file; please switch to single quotes to match repo formatting.

Copilot uses AI. Check for mistakes.
Comment on lines 63 to 68
// Send confirmation email to registrant
const registrantEmailData = {
from: "The Founder's Club <no-reply@thefoundersclub.tech>",
from: "The Founders Club <no-reply@thefoundersclub.tech>",
to: [record.registration_email],
subject: 'Your Event Registration Confirmation',
html: generateHTML(record),
Copy link

Copilot AI Feb 26, 2026

Choose a reason for hiding this comment

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

This function only sends when is_approved === 'REJECTED', but the inline comment and email subject still say “confirmation”. That’s likely to confuse recipients and doesn’t match the rejection template content; update the subject (and comment) to indicate rejection.

Copilot uses AI. Check for mistakes.
@greeenboi greeenboi merged commit 16e5bc4 into founder-srm:main Feb 26, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants