forked from CodeForPhilly/clean-and-green-philly
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
81 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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,44 @@ | ||
import { ThemeButtonLink } from '@/components/ThemeButton'; | ||
import { ArrowUpRight } from '@phosphor-icons/react'; | ||
import Image from 'next/image'; | ||
import imageTransformProperty from '@/images/transform-a-property.png'; | ||
|
||
export default function SupportPage() { | ||
return ( | ||
<div className="grid grid-cols-1 md:grid-cols-2 gap-10 items-center"> | ||
<div> | ||
<h1 className="heading-3xl font-bold mb-6"> | ||
Support Clean & Green Philly | ||
</h1> | ||
<p> | ||
Help us catalyze transformative investment in Philadelphia's | ||
vacant properties. Your donation supports us in promoting data-driven | ||
efforts to improve quality of life across Philadelphia through | ||
strategic, place-based interventions. | ||
</p> | ||
<p className="mt-4">Thank you for supporting Clean & Green Philly!</p> | ||
<ThemeButtonLink | ||
className="text-white inline-flex mt-4" | ||
href="https://fnd.us/clean-and-green-philly/pay" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
color="primary" | ||
label="Donate Now" | ||
endContent={<ArrowUpRight aria-hidden="true" />} | ||
aria-label="Open donation page in a new tab" | ||
/> | ||
</div> | ||
<div className="flex justify-center items-center"> | ||
<div className="relative w-7/12 pb-[105%]"> | ||
<Image | ||
src={imageTransformProperty} | ||
alt="Transform a property in Philadelphia" | ||
className="object-cover object-center rounded-lg" | ||
fill | ||
sizes="(max-width: 768px) 58vw, 29vw" | ||
/> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} |
This file contains 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,16 @@ | ||
import { generateMetadata } from '@/utilities/generateMetaData'; | ||
|
||
const title = 'Donate'; | ||
const description = 'Donate to support Clean & Green Philly'; | ||
const url = '/donate'; | ||
|
||
export const metadata = generateMetadata({ | ||
title, | ||
description, | ||
url, | ||
}); | ||
|
||
const DonateLayout = ({ children }: { children: React.ReactNode }) => { | ||
return <>{children}</>; | ||
}; | ||
export default DonateLayout; |
This file contains 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,15 @@ | ||
'use client'; | ||
|
||
import { NextUIProvider } from '@nextui-org/react'; | ||
import { FC } from 'react'; | ||
import DonatePage from './DonatePage'; | ||
|
||
const Donate: FC = () => { | ||
return ( | ||
<NextUIProvider> | ||
<DonatePage /> | ||
</NextUIProvider> | ||
); | ||
}; | ||
|
||
export default Donate; |
This file contains 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