-
Notifications
You must be signed in to change notification settings - Fork 0
Add Purchase page with Zeffy 1848 Club link, replace Graduate Site tab #9
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
Closed
Closed
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,118 @@ | ||
| import BrothersDinner from '@/../public/headers/brothers-dinners.jpg'; | ||
| import Page from '@/components/Page'; | ||
| import Section from '@/components/Section'; | ||
| import type { Metadata } from 'next'; | ||
| import Link from 'next/link'; | ||
| import React from 'react'; | ||
|
|
||
| export const metadata: Metadata = { | ||
| title: 'Tickets & Subscriptions', | ||
| description: 'Purchase tickets and subscriptions for UT Dallas FIJI events.', | ||
| openGraph: { | ||
| title: 'Tickets & Subscriptions', | ||
| description: 'Purchase tickets and subscriptions for UT Dallas FIJI events.', | ||
| url: '/tickets', | ||
| }, | ||
| alternates: { | ||
| canonical: '/tickets', | ||
| }, | ||
| }; | ||
|
|
||
| const offerings = [ | ||
| { | ||
| title: '1848 Club', | ||
| subtitle: 'Monthly Donation Subscription', | ||
| price: '$4/month', | ||
| description: | ||
| 'Become a steward of the Tau Delta legacy. Members ensure the Royal Purple remains a standard of excellence, providing the financial backbone for undergraduate brothers to lead, learn, and grow.', | ||
| href: 'https://www.zeffy.com/en-US/ticketing/tau-delta-fiji-monthly-donation-subscription-1848-club', | ||
| featured: true, | ||
| }, | ||
| ]; | ||
|
|
||
| export default function Tickets() { | ||
| return ( | ||
| <Page | ||
| header={{ | ||
| title: 'Support FIJI', | ||
| image: BrothersDinner, | ||
| alt: 'FIJI brothers at a formal dinner event', | ||
| }} | ||
| > | ||
| <Section className="flex flex-col items-center gap-8"> | ||
| <p className="text-center text-lg max-w-2xl"> | ||
| Your support helps sustain the Tau Delta chapter of Phi Gamma Delta at UT Dallas. 100% of | ||
| your contribution goes directly to our mission. | ||
| </p> | ||
|
|
||
| <div className="grid gap-6 w-full max-w-3xl"> | ||
| {offerings.map((offering) => ( | ||
| <Link | ||
| key={offering.title} | ||
| href={offering.href} | ||
| target="_blank" | ||
| className={`group relative overflow-hidden rounded-2xl p-8 transition-all duration-300 hover:scale-[1.02] hover:shadow-2xl ${ | ||
| offering.featured | ||
| ? 'bg-gradient-to-br from-purple to-purple/80 text-white shadow-xl' | ||
| : 'bg-white text-dark-grey shadow-lg border border-gray-200' | ||
| }`} | ||
| > | ||
| {offering.featured && ( | ||
| <div className="absolute top-4 right-4 bg-yellow text-purple text-xs font-bold px-3 py-1 rounded-full"> | ||
| RECOMMENDED | ||
| </div> | ||
| )} | ||
|
|
||
| <div className="flex flex-col gap-4"> | ||
| <div> | ||
| <p className={`text-sm font-medium ${offering.featured ? 'text-yellow' : 'text-purple'}`}> | ||
| {offering.subtitle} | ||
| </p> | ||
| <h3 className="text-3xl font-bold font-display">{offering.title}</h3> | ||
| </div> | ||
|
|
||
| <p className={`text-4xl font-bold ${offering.featured ? 'text-white' : 'text-purple'}`}> | ||
| {offering.price} | ||
| </p> | ||
|
|
||
| <p className={`${offering.featured ? 'text-white/90' : 'text-medium-grey'}`}> | ||
| {offering.description} | ||
| </p> | ||
|
|
||
| <div | ||
| className={`mt-4 inline-flex items-center gap-2 font-bold transition-all group-hover:gap-4 ${ | ||
| offering.featured ? 'text-yellow' : 'text-purple' | ||
| }`} | ||
| > | ||
| Join Now | ||
| <svg | ||
| xmlns="http://www.w3.org/2000/svg" | ||
| width="20" | ||
| height="20" | ||
| viewBox="0 0 24 24" | ||
| fill="none" | ||
| stroke="currentColor" | ||
| strokeWidth="2" | ||
| strokeLinecap="round" | ||
| strokeLinejoin="round" | ||
| > | ||
| <path d="M5 12h14" /> | ||
| <path d="m12 5 7 7-7 7" /> | ||
| </svg> | ||
| </div> | ||
| </div> | ||
| </Link> | ||
| ))} | ||
| </div> | ||
|
|
||
| <p className="text-sm text-medium-grey mt-8"> | ||
| Payments securely processed by{' '} | ||
| <Link href="https://www.zeffy.com" target="_blank" className="underline hover:text-purple"> | ||
| Zeffy | ||
| </Link>{' '} | ||
| - 100% goes to FIJI. | ||
| </p> | ||
| </Section> | ||
| </Page> | ||
| ); | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace the link in the footer too