Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fd150aa20f | ||
|
|
17653508c5 | ||
|
|
ace12efd1a |
@@ -93,6 +93,10 @@ Major areas
|
|||||||
|
|
||||||
# Self Hosting with Vercel
|
# Self Hosting with Vercel
|
||||||
|
|
||||||
|
[](https://www.youtube.com/watch?v=hWvsEY1cS2M)
|
||||||
|
Tutorial Created by [Ross](https://github.com/rossman22590) and [Syn](https://github.com/mortlsyn)
|
||||||
|
|
||||||
|
|
||||||
Build command
|
Build command
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ import { Tabs, TabsList, TabsTrigger } from "@/components/ui/tabs";
|
|||||||
import { cn } from "@/lib/utils";
|
import { cn } from "@/lib/utils";
|
||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
import { usePathname } from "next/navigation";
|
import { usePathname } from "next/navigation";
|
||||||
import { useRouter } from "next/navigation";
|
|
||||||
import { useEffect, useState } from "react";
|
import { useEffect, useState } from "react";
|
||||||
import { useMediaQuery } from "usehooks-ts";
|
import { useMediaQuery } from "usehooks-ts";
|
||||||
|
|
||||||
@@ -25,8 +24,6 @@ export function NavbarMenu({
|
|||||||
const pathnames = usePathname();
|
const pathnames = usePathname();
|
||||||
const pathname = `/${pathnames.split("/")[1]}`;
|
const pathname = `/${pathnames.split("/")[1]}`;
|
||||||
|
|
||||||
const router = useRouter();
|
|
||||||
|
|
||||||
const pages = [
|
const pages = [
|
||||||
{
|
{
|
||||||
name: "Workflows",
|
name: "Workflows",
|
||||||
@@ -59,11 +56,8 @@ export function NavbarMenu({
|
|||||||
<TabsTrigger
|
<TabsTrigger
|
||||||
key={page.name}
|
key={page.name}
|
||||||
value={page.path}
|
value={page.path}
|
||||||
onClick={() => {
|
|
||||||
router.push(page.path);
|
|
||||||
}}
|
|
||||||
>
|
>
|
||||||
{page.name}
|
<Link href={page.path}>{page.name}</Link>
|
||||||
</TabsTrigger>
|
</TabsTrigger>
|
||||||
))}
|
))}
|
||||||
</TabsList>
|
</TabsList>
|
||||||
|
|||||||
@@ -328,7 +328,7 @@ export function RunWorkflowButton({
|
|||||||
className="px-1"
|
className="px-1"
|
||||||
>
|
>
|
||||||
<div className="flex justify-end">
|
<div className="flex justify-end">
|
||||||
<AutoFormSubmit>
|
<AutoFormSubmit disabled={isLoading}>
|
||||||
Run
|
Run
|
||||||
{isLoading ? <LoadingIcon /> : <Play size={14} />}
|
{isLoading ? <LoadingIcon /> : <Play size={14} />}
|
||||||
</AutoFormSubmit>
|
</AutoFormSubmit>
|
||||||
|
|||||||
Reference in New Issue
Block a user