mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2026-04-27 23:55:18 +00:00
fix: remaining dependabot security issues (#890)
* Upgrade docs deps * Upgrade frontend to latest deps * Update package overrides * Remove redundant deps * Add tailwind postcss plugin * Replace language select with chakra * Fix main nav * Patch gray matter * Fix webpack override * Replace python-jose with pyjwt * Override kv url for frontend in compose * Upgrade hatchet sdk * Update docs * Supress pydantic warnings
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
import { Container, Flex } from "@chakra-ui/react";
|
||||
import { featureEnabled } from "../lib/features";
|
||||
import NextLink from "next/link";
|
||||
import Image from "next/image";
|
||||
import UserInfo from "../(auth)/userInfo";
|
||||
import AuthWrapper from "./AuthWrapper";
|
||||
import { RECORD_A_MEETING_URL } from "../api/urls";
|
||||
import MainNav from "../components/MainNav";
|
||||
|
||||
export default async function AppLayout({
|
||||
children,
|
||||
@@ -47,44 +45,7 @@ export default async function AppLayout({
|
||||
</p>
|
||||
</div>
|
||||
</NextLink>
|
||||
<div>
|
||||
{/* Text link on the right */}
|
||||
<NextLink href={RECORD_A_MEETING_URL} className="font-light px-2">
|
||||
Create
|
||||
</NextLink>
|
||||
{featureEnabled("browse") ? (
|
||||
<>
|
||||
·
|
||||
<NextLink href="/browse" className="font-light px-2">
|
||||
Browse
|
||||
</NextLink>
|
||||
</>
|
||||
) : (
|
||||
<></>
|
||||
)}
|
||||
{featureEnabled("rooms") ? (
|
||||
<>
|
||||
·
|
||||
<NextLink href="/rooms" className="font-light px-2">
|
||||
Rooms
|
||||
</NextLink>
|
||||
</>
|
||||
) : (
|
||||
<></>
|
||||
)}
|
||||
{featureEnabled("requireLogin") ? (
|
||||
<>
|
||||
·
|
||||
<NextLink href="/settings/api-keys" className="font-light px-2">
|
||||
Settings
|
||||
</NextLink>
|
||||
·
|
||||
<UserInfo />
|
||||
</>
|
||||
) : (
|
||||
<></>
|
||||
)}
|
||||
</div>
|
||||
<MainNav />
|
||||
</Flex>
|
||||
|
||||
<AuthWrapper>{children}</AuthWrapper>
|
||||
|
||||
Reference in New Issue
Block a user