Skip to content

Commit

Permalink
feat: minor changes (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomquirk authored Nov 22, 2023
1 parent 750541a commit a64a01f
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 21 deletions.
17 changes: 10 additions & 7 deletions src/components/Project/components/ProjectPayForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -213,11 +213,8 @@ export const ProjectPayForm: React.FC<ProjectPayFormProps> = ({
description="Enter email to receive confirmation & updates"
>
<Input
placeholder="[email protected]"
placeholder="[email protected]"
prefix={<EnvelopeIcon className="h-5 w-5 text-gray-500" />}
suffix={
<QuestionMarkCircleIcon className="h-4 w-4 text-gray-400" />
}
{...field}
/>
</LabeledFormControl>
Expand Down Expand Up @@ -271,9 +268,15 @@ export const ProjectPayForm: React.FC<ProjectPayFormProps> = ({
</div>
)}

<div className="text-center text-xs leading-5 text-gray-400 md:mt-8">
All transactions are paid in Ethereum (ETH). Payments are
non-refundable.
<div className="text-center text-xs leading-5 text-gray-400">
<p>
Payments in Ether (ETH) and are non-refundable. Rewards are minted
as NFTs.
</p>
<p>
Claim your reward by contacting the project using the links
provided.
</p>
</div>
</form>
</Form>
Expand Down
24 changes: 11 additions & 13 deletions src/components/Project/components/ProjectPayMessageInput.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { Input } from '@/components/Input'
import { Link } from '@/components/Link'
import { Button } from '@/components/ui/Button'
import { useIpfsFilePicker } from '@/hooks/useIpfsFilePicker/useIpfsFilePicker'
import { PhotoIcon, XCircleIcon } from '@heroicons/react/24/outline'
import { XCircleIcon } from '@heroicons/react/24/outline'
import Image from 'next/image'

export type ProjectPayMessageInputProps = {
Expand Down Expand Up @@ -34,18 +33,17 @@ export const ProjectPayMessageInput: React.FC<ProjectPayMessageInputProps> = ({
<>
{FileInput}
<Input
className="text-sm"
placeholder="Attach an onchain message to this payment"
suffix={
<Button
type="button"
size="child"
variant="link"
onClick={openFilePicker}
>
<PhotoIcon className="h-6 w-6 text-bluebs-500" />
</Button>
}
// suffix={
// <Button
// type="button"
// size="child"
// variant="link"
// onClick={openFilePicker}
// >
// <PhotoIcon className="h-6 w-6 text-bluebs-500" />
// </Button>
// }
{...props}
/>

Expand Down
2 changes: 1 addition & 1 deletion src/lib/constants/crowds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const JC01_DATE_STRINGS = {

export const JC01_DATES = {
SUBMISSIONS_CLOSE: new Date(1699506000000),
PROJECTS_LAUNCH: new Date(1700488853000),
PROJECTS_LAUNCH: new Date(1700748000000),
PROJECTS_RUN: new Date(1702648800000),
}

Expand Down

1 comment on commit a64a01f

@vercel
Copy link

@vercel vercel bot commented on a64a01f Nov 22, 2023

Choose a reason for hiding this comment

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

Please sign in to comment.