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
21 changes: 4 additions & 17 deletions components/products/github-offboarding.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,8 @@
'use client'

import { useState, useEffect } from 'react'
import OffboardingAnimation from '@/components/animations/offboarding-anim'

export default function GitHubOffboarding({ showTitle = true, compact = false }) {
const [waitlistUrl, setWaitlistUrl] = useState(null)

useEffect(() => {
if (typeof window !== 'undefined') {
const returnUri = encodeURIComponent(
`${window.location.origin}${window.location.pathname}#github-offboarding`
)
setWaitlistUrl(
`https://wallet.hello.coop/waitlist?waitlist_label=GitHub+Offboarding&return_uri=${returnUri}`
)
}
}, [])

return (
<div id="github-offboarding" className="scroll-mt-20 text-[17px]">
Expand Down Expand Up @@ -55,14 +42,14 @@ export default function GitHubOffboarding({ showTitle = true, compact = false })
</div>
)}
<div className="flex flex-col space-y-4">
<span className="text-base font-semibold">Coming Q1 2026</span>
<span className="text-base font-semibold">FREE for members of your directory</span>
<div className="gap-2 flex flex-col md:flex-row items-start">
<a
href={waitlistUrl}
id="github-offboarding-join-waitlist-btn"
href="https://lifecycle.hello.coop/github?setup"
id="github-offboarding-get-started-btn"
className="card-link-primary no-global-hover cursor-pointer"
>
Join the waitlist
Get started
<svg width={10} height={10} fill="currentColor" className="ml-2">
<g>
<path className="line" d="M 0 5 H 7" />
Expand Down
2 changes: 1 addition & 1 deletion components/products/hello-lifecycle.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@ export default function HelloLifecycle({ showTitle = true, compact = false }) {
</div>
</div>
)
}
}
Loading