merge fix
4
.gitattributes
vendored
|
|
@ -18,3 +18,7 @@
|
|||
# Denote all files that are truly binary and should not be modified.
|
||||
*.png binary
|
||||
*.jpg binary
|
||||
*.mp4 binary
|
||||
*.svg binary
|
||||
*.ico binary
|
||||
*.gif binary
|
||||
BIN
docs/static/img/logo.svg
vendored
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
BIN
docs/static/img/new_langflow.gif
vendored
|
Before Width: | Height: | Size: 3.2 MiB After Width: | Height: | Size: 3.2 MiB |
BIN
docs/static/img/new_langflow2.gif
vendored
|
Before Width: | Height: | Size: 3.2 MiB After Width: | Height: | Size: 3.2 MiB |
BIN
docs/static/videos/langflow_api.mp4
vendored
BIN
docs/static/videos/langflow_build.mp4
vendored
BIN
docs/static/videos/langflow_collection.mp4
vendored
BIN
docs/static/videos/langflow_collection_example.mp4
vendored
BIN
docs/static/videos/langflow_fork.mp4
vendored
BIN
docs/static/videos/langflow_parameters.mp4
vendored
BIN
docs/static/videos/langflow_widget.mp4
vendored
|
Before Width: | Height: | Size: 2 MiB After Width: | Height: | Size: 2 MiB |
|
Before Width: | Height: | Size: 102 KiB After Width: | Height: | Size: 102 KiB |
|
|
@ -26,6 +26,17 @@ export default function Header(): JSX.Element {
|
|||
<Link to="/">
|
||||
<span className="ml-4 text-2xl">⛓️</span>
|
||||
</Link>
|
||||
{location.pathname === "/admin" && (
|
||||
<Button
|
||||
onClick={() => {
|
||||
navigate("/");
|
||||
}}
|
||||
variant="outline"
|
||||
className=""
|
||||
>
|
||||
Main page
|
||||
</Button>
|
||||
)}
|
||||
{autoLogin === false && (
|
||||
<Button
|
||||
onClick={() => {
|
||||
|
|
@ -39,7 +50,7 @@ export default function Header(): JSX.Element {
|
|||
</Button>
|
||||
)}
|
||||
|
||||
{isAdmin && !autoLogin && (
|
||||
{isAdmin && !autoLogin && location.pathname !== "/admin" && (
|
||||
<Button variant="outline" onClick={() => navigate("/admin")}>
|
||||
Admin page
|
||||
</Button>
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ import {
|
|||
import ConfirmationModal from "../../modals/ConfirmationModal";
|
||||
import UserManagementModal from "../../modals/UserManagementModal";
|
||||
import { UserInputType } from "../../types/components";
|
||||
import Header from "../../components/headerComponent";
|
||||
|
||||
export default function AdminPage() {
|
||||
const [inputValue, setInputValue] = useState("");
|
||||
|
|
@ -183,6 +184,7 @@ export default function AdminPage() {
|
|||
|
||||
return (
|
||||
<>
|
||||
<Header />
|
||||
{userData && (
|
||||
<div className="main-page-panel">
|
||||
<div className="m-auto flex h-full flex-row justify-center">
|
||||
|
|
|
|||
|
|
@ -81,8 +81,7 @@ export default function ApiKeysPage() {
|
|||
|
||||
return (
|
||||
<>
|
||||
<Header />
|
||||
|
||||
<Header></Header>
|
||||
{userData && (
|
||||
<div className="main-page-panel">
|
||||
<div className="m-auto flex h-full flex-row justify-center">
|
||||
|
|
|
|||