From 2a3a1d18e63f2125d186b773567c7fd16e341867 Mon Sep 17 00:00:00 2001 From: swve Date: Thu, 20 Apr 2023 23:33:52 +0200 Subject: [PATCH] feat: remove search bar & add pre-alpha label --- front/components/UI/Elements/Menu.tsx | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/front/components/UI/Elements/Menu.tsx b/front/components/UI/Elements/Menu.tsx index c0907232..931db4af 100644 --- a/front/components/UI/Elements/Menu.tsx +++ b/front/components/UI/Elements/Menu.tsx @@ -7,6 +7,7 @@ import learnhouseLogo from "public/learnhouse_logo.png"; import Link from "next/link"; import Image from "next/image"; import { getUriWithOrg } from "@services/config/config"; +import ToolTip from "../Tooltip/Tooltip"; export const Menu = (props : any ) => { const orgslug = props.orgslug; @@ -25,7 +26,9 @@ export const Menu = (props : any ) => { - + +

{process.env.VERCEL_GIT_COMMIT_SHA}

+ }>pre-alpha
@@ -59,6 +62,24 @@ const LogoArea = styled.div` place-items: stretch; `; +const PreAlphaLabel = styled.div` + display: flex; + place-items: center; + background: #FF9800; + border-radius: 6px; + height: 50%; + border: none; + margin-top: 20px; + margin-bottom: 20px; + padding-left: 10px; + padding-right: 10px; + color: #ffffff; + font-size: 12px; + font-weight: bolder; + text-transform: uppercase; +`; + + const Logo = styled.div` display: flex; place-items: center;