Skip to content

Commit

Permalink
Merge pull request #68 from TEDx-SJEC/registration
Browse files Browse the repository at this point in the history
Registration
  • Loading branch information
joywin2003 authored Nov 15, 2024
2 parents 0a2345f + 3488686 commit ddf1c56
Show file tree
Hide file tree
Showing 23 changed files with 781 additions and 938 deletions.
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

0 comments on commit ddf1c56

Please sign in to comment.