-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3952 from signalco-io/next
Next
- Loading branch information
Showing
7 changed files
with
106 additions
and
87 deletions.
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
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 |
---|---|---|
|
@@ -4,3 +4,7 @@ html, body, #__next { | |
height: 100%; | ||
width: 100%; | ||
} | ||
|
||
:target { | ||
scroll-margin-top: 64px; | ||
} |
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,57 @@ | ||
'use client'; | ||
|
||
import { Link } from '@signalco/ui-primitives/Link'; | ||
import { Button } from '@signalco/ui-primitives/Button'; | ||
import { Navigate } from '@signalco/ui-icons'; | ||
import { SignInButton, SignUpButton, SignedIn, SignedOut } from '@clerk/nextjs'; | ||
import { KnownPages } from '../src/knownPages'; | ||
import { UserButton } from './UserButton'; | ||
|
||
type NavLinkItem = { | ||
href: string, | ||
text: string | ||
}; | ||
|
||
export const navLinks: NavLinkItem[] = [ | ||
{ href: '#explore', text: 'Explore' }, | ||
// { href: KnownPages.Pricing, text: 'Pricing' } | ||
]; | ||
|
||
export function NavMenu({ cta }: { cta?: boolean; }) { | ||
return ( | ||
<> | ||
{navLinks.map(nl => ( | ||
<Link key={nl.href} href={nl.href}> | ||
<Button variant="plain" size="lg">{nl.text}</Button> | ||
</Link> | ||
))} | ||
<SignedOut> | ||
<SignInButton | ||
redirectUrl={KnownPages.Runs} | ||
mode="modal"> | ||
<Button variant="plain">Sign in</Button> | ||
</SignInButton> | ||
<SignUpButton | ||
redirectUrl={KnownPages.Processes} | ||
mode="modal"> | ||
<Button | ||
variant="solid" | ||
endDecorator={<Navigate />}> | ||
Start for free | ||
</Button> | ||
</SignUpButton> | ||
</SignedOut> | ||
<SignedIn> | ||
{cta && ( | ||
<Button | ||
variant="solid" | ||
href={KnownPages.Runs} | ||
endDecorator={<Navigate />}> | ||
Go to app | ||
</Button> | ||
)} | ||
<UserButton afterSignOutUrl="/" /> | ||
</SignedIn> | ||
</> | ||
); | ||
} |
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
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
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
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
216379a
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.
Successfully deployed to the following URLs:
signalco-blog – ./web/apps/blog
signalco-blog-signalco.vercel.app
signalco-blog.vercel.app
blog.signalco.io
signalco-blog-git-main-signalco.vercel.app
216379a
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.
Successfully deployed to the following URLs:
signalco-web – ./web/apps/web
signalco-web-git-main-signalco.vercel.app
signalco.vercel.app
signalco-web-signalco.vercel.app
www.signalco.io
signalco.dev
signalco.io
216379a
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.
Successfully deployed to the following URLs:
signalco-ui-docs – ./web/apps/ui-docs
signalco-ui-docs.vercel.app
ui.signalco.io
signalco-ui-docs-signalco.vercel.app
signalco-ui-docs-git-main-signalco.vercel.app
216379a
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.
Successfully deployed to the following URLs:
signalco-brandgrab – ./web/apps/brandgrab
signalco-brandgrab.vercel.app
signalco-brandgrab-git-main-signalco.vercel.app
signalco-brandgrab-signalco.vercel.app
brandgrab.io
brandgrab.signalco.io
216379a
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.
Successfully deployed to the following URLs:
signalco-app – ./web/apps/app
signalco-app.vercel.app
signalco-app-git-main-signalco.vercel.app
signalco-app-signalco.vercel.app
app.signalco.io
216379a
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.
Successfully deployed to the following URLs:
signalco-doprocess – ./web/apps/doprocess
signalco-doprocess-git-main-signalco.vercel.app
signalco-doprocess.vercel.app
doprocess.signalco.io
doprocess.app
signalco-doprocess-signalco.vercel.app
www.doprocess.app
doprocess.signalco.dev
216379a
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.
Successfully deployed to the following URLs:
signalco-slco – ./web/apps/slco
signalco-slco.vercel.app
slco.signalco.io
signalco-slco-git-main-signalco.vercel.app
signalco-slco-signalco.vercel.app
slco.io