Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
44 changes: 0 additions & 44 deletions components/ClosedNotice.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion components/GrantApplicationForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ export default function ApplicationForm() {
<FormButton
variant={isFLOSS ? 'enabled' : 'disabled'}
type="submit"
disabled={true || loading}
disabled={loading}
>
Submit Grant Application
</FormButton>
Expand Down
2 changes: 1 addition & 1 deletion components/LTSApplicationForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ export default function ApplicationForm() {
<FormButton
variant={isFLOSS ? 'enabled' : 'disabled'}
type="submit"
disabled={true || loading}
disabled={loading}
>
Submit LTS Application
</FormButton>
Expand Down
6 changes: 0 additions & 6 deletions css/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,3 @@ button.secondary {
margin-top: 0;
margin-bottom: 0;
}

.disabled {
pointer-events: none;
cursor: default;
opacity: 0.6;
}
2 changes: 1 addition & 1 deletion data/headerNavLinks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const headerNavLinks = [
{ href: '/about', title: 'About' },
{ href: '/blog', title: 'Blog' },
{ href: '/faq', title: 'FAQ' },
{ href: '/donate', title: 'Donate', isButton: true },
{ href: '/apply', title: 'Apply', isButton: true },
]

export default headerNavLinks
2 changes: 0 additions & 2 deletions pages/apply/grant.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import dynamic from 'next/dynamic'
import PageSection from '@/components/PageSection'
import CustomLink from '@/components/Link'
import ClosedNotice from '@/components/ClosedNotice'

const GrantApplicationForm = dynamic(
() => import('@/components/GrantApplicationForm'),
Expand Down Expand Up @@ -32,7 +31,6 @@ export default function Apply() {
<CustomLink href="/faq/application">Application FAQ</CustomLink>{' '}
before sending in an application.
</p>
<ClosedNotice />
<GrantApplicationForm />
</PageSection>
</>
Expand Down
10 changes: 4 additions & 6 deletions pages/apply/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { MDXLayoutRenderer } from 'pliny/mdx-components'
import { MDXComponents } from '@/components/MDXComponents'
import PageSection from '@/components/PageSection'
import CustomLink from '@/components/Link'
import ClosedNotice from '@/components/ClosedNotice'

const DEFAULT_LAYOUT = 'PageLayout'

Expand Down Expand Up @@ -51,7 +50,6 @@ export default function Apply({
<CustomLink href="/faq/application">Application FAQ</CustomLink> to
find answers to common questions.
</p>
<ClosedNotice />
<h2 className="mb-4 text-xl font-bold leading-normal md:text-2xl">
General Grant
</h2>
Expand All @@ -62,8 +60,8 @@ export default function Apply({
projects in the Bitcoin space.
</p>
<Link
href="#/apply/grant"
className="disabled rounded border border-orange-500 bg-transparent px-4 py-2 font-semibold text-orange-500 no-underline hover:text-black dark:hover:text-white"
href="/apply/grant"
className="rounded border border-orange-500 bg-transparent px-4 py-2 font-semibold text-orange-500 no-underline hover:text-black dark:hover:text-white"
>
Apply for an OpenSats General Grant
</Link>
Expand All @@ -76,8 +74,8 @@ export default function Apply({
geared towards developers and maintainers of Bitcoin Core and similar.
</p>
<Link
href="#/apply/lts"
className="disabled rounded border border-orange-500 bg-transparent px-4 py-2 font-semibold text-orange-500 no-underline hover:text-black dark:hover:text-white"
href="/apply/lts"
className="rounded border border-orange-500 bg-transparent px-4 py-2 font-semibold text-orange-500 no-underline hover:text-black dark:hover:text-white"
>
Apply for an OpenSats LTS Grant
</Link>
Expand Down
2 changes: 0 additions & 2 deletions pages/apply/lts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import PageSection from '@/components/PageSection'
import LTSApplicationForm from '@/components/LTSApplicationForm'
import Link from '@/components/Link'
import CustomLink from '@/components/Link'
import ClosedNotice from '@/components/ClosedNotice'

export default function Apply() {
return (
Expand Down Expand Up @@ -45,7 +44,6 @@ export default function Apply() {
If the above does not apply to you, please consider applying for a{' '}
<Link href="/apply/grant">General Grant</Link> instead.
</p>
<ClosedNotice />
<LTSApplicationForm />
</PageSection>
)
Expand Down