add waitlist button on header (#742)
This commit is contained in:
commit
7b22fd2711
2 changed files with 24 additions and 3 deletions
|
|
@ -31,9 +31,24 @@ export default function Header() {
|
||||||
return (
|
return (
|
||||||
<div className="header-arrangement">
|
<div className="header-arrangement">
|
||||||
<div className="header-start-display">
|
<div className="header-start-display">
|
||||||
<Link to="/">
|
{tabId === "" || !tabId ? (
|
||||||
<span className="ml-4 text-2xl">⛓️</span>
|
<div className="ml-2">
|
||||||
</Link>
|
<a
|
||||||
|
href="https://www.langflow.org/"
|
||||||
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
|
className="header-waitlist-link-box"
|
||||||
|
>
|
||||||
|
<span className="pr-1 text-2xl">⛓️</span>
|
||||||
|
<span>Join The Waitlist</span>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
) : (
|
||||||
|
<Link to="/">
|
||||||
|
<span className="ml-4 text-2xl">⛓️</span>
|
||||||
|
</Link>
|
||||||
|
)}
|
||||||
|
|
||||||
{flows.findIndex((f) => tabId === f.id) !== -1 && tabId !== "" && (
|
{flows.findIndex((f) => tabId === f.id) !== -1 && tabId !== "" && (
|
||||||
<MenuBar flows={flows} tabId={tabId} />
|
<MenuBar flows={flows} tabId={tabId} />
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
|
|
@ -495,6 +495,12 @@
|
||||||
.header-github-link-box {
|
.header-github-link-box {
|
||||||
@apply inline-flex h-9 items-center justify-center rounded-md border border-input px-3 pr-0 shadow-sm;
|
@apply inline-flex h-9 items-center justify-center rounded-md border border-input px-3 pr-0 shadow-sm;
|
||||||
}
|
}
|
||||||
|
.header-waitlist-link-box {
|
||||||
|
@apply inline-flex h-9 items-center justify-center rounded-md border border-input px-2 shadow-sm text-sm font-medium text-muted-foreground ring-offset-background disabled:pointer-events-none disabled:opacity-50 whitespace-nowrap;
|
||||||
|
}
|
||||||
|
.header-waitlist-link-box:hover {
|
||||||
|
@apply hover:bg-accent hover:text-accent-foreground;
|
||||||
|
}
|
||||||
.header-github-link {
|
.header-github-link {
|
||||||
@apply header-github-link-box text-sm font-medium text-muted-foreground ring-offset-background disabled:pointer-events-none disabled:opacity-50;
|
@apply header-github-link-box text-sm font-medium text-muted-foreground ring-offset-background disabled:pointer-events-none disabled:opacity-50;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue