Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Registration #68

Merged
merged 21 commits into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions emails/user-registration-email-template.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const TedxRegistrationEmail = ({
name,
registrationLink,
}: TedxRegistrationEmailProps) => {
const previewText = `TEDxSJEC Talk Registration Successful!`;
const previewText = `TEDxSJEC 2024 Registration Successful!`;

return (
<Html>
Expand All @@ -43,7 +43,7 @@ export const TedxRegistrationEmail = ({
{/* Heading Section */}
<Section className="mt-[32px] items-center">
<Heading className="text-black text-[24px] font-bold text-center p-0 my-[30px] mx-0">
<strong>TEDxSJEC Talk Registration Confirmed!</strong>
<strong>TEDxSJEC 2024 Registration Confirmed!</strong>
</Heading>
</Section>
<Text className="text-black text-[14px] leading-[24px]">
Expand Down
68 changes: 0 additions & 68 deletions src/app/api/(verification)/send-mail/route.ts

This file was deleted.

66 changes: 0 additions & 66 deletions src/app/api/(verification)/verify-mail/route.ts

This file was deleted.

2 changes: 2 additions & 0 deletions src/app/api/users/payment/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import { getServerSideSession } from "@/lib/get-server-session";
import prisma from "@/server/db";
import { NextRequest, NextResponse } from "next/server";

export const dynamic = "force-dynamic";

export async function GET(request: NextRequest) {
const { searchParams } = new URL(request.url);
try {
Expand Down
2 changes: 1 addition & 1 deletion src/app/api/users/route.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import prisma from "@/server/db";
import { NextResponse } from "next/server";

export const dynamic = "force-dynamic";
export async function GET(req: Request) {
const { searchParams } = new URL(req.url);
try {
Expand Down
26 changes: 26 additions & 0 deletions src/app/refund/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
"use client"

import Container from "@/components/shared/container";
import { Text } from "@/components/shared/text";
import {legalInfo} from "@/data/legal-info";
import { cn } from "@/lib/utils";

export default function Refund() {
return (
<Container className="mx-auto">
<div className="py-4 mx-6 sm:mx-12 space-y-4 pt-32 text-white">
<Text variant="h1" className={cn("text-5xl")}>
Refund Policy
</Text>
{legalInfo.Refund.map((refund, index) => (
<div key={index}>
<Text variant="h2" className={cn("text-2xl")}>
{refund.title}
</Text>
<p dangerouslySetInnerHTML={{ __html: refund.description }}></p>
</div>
))}
</div>
</Container>
);
}
Loading
Loading