Skip to content

Commit

Permalink
fix(styling): remove beta logo
Browse files Browse the repository at this point in the history
  • Loading branch information
baktun14 authored and Redm4x committed Oct 23, 2024
1 parent 3d95615 commit b052151
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
8 changes: 2 additions & 6 deletions apps/deploy-web/src/components/layout/Nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { useCustomUser } from "@src/hooks/useCustomUser";
import useCookieTheme from "@src/hooks/useTheme";
import walletStore from "@src/store/walletStore";
import { UrlService } from "@src/utils/urlUtils";
import { AkashConsoleBetaLogoDark, AkashConsoleBetaLogoLight } from "../icons/AkashConsoleLogo";
import { AkashConsoleLogoDark, AkashConsoleLogoLight } from "../icons/AkashConsoleLogo";
import { AccountMenu } from "./AccountMenu";
import { WalletStatus } from "./WalletStatus";

Expand All @@ -30,11 +30,7 @@ export const Nav = ({
<div className="flex h-14 items-center justify-between pl-4 pr-4">
{!!theme && (
<Link className="flex items-center" href="/">
{theme === "light" ? (
<AkashConsoleBetaLogoLight className="h-[19px] max-w-[200px]" />
) : (
<AkashConsoleBetaLogoDark className="h-[19px] max-w-[200px]" />
)}
{theme === "light" ? <AkashConsoleLogoLight className="h-[19px] max-w-[200px]" /> : <AkashConsoleLogoDark className="h-[19px] max-w-[200px]" />}
</Link>
)}

Expand Down
5 changes: 1 addition & 4 deletions apps/deploy-web/src/components/layout/Sidebar.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client";
import React, { ReactNode, useMemo, useState } from "react";
import { Badge, Button, buttonVariants, Separator } from "@akashnetwork/ui/components";
import { Button, buttonVariants, Separator } from "@akashnetwork/ui/components";
import { cn } from "@akashnetwork/ui/utils";
import Drawer from "@mui/material/Drawer";
import { useTheme as useMuiTheme } from "@mui/material/styles";
Expand Down Expand Up @@ -248,9 +248,6 @@ export const Sidebar: React.FunctionComponent<Props> = ({ isMobileOpen, handleDr
{publicRuntimeConfig?.version && _isNavOpen && (
<div className="flex flex-row items-center justify-center space-x-4 text-xs font-bold text-muted-foreground">
<small>v{publicRuntimeConfig?.version}</small>
<Badge className="text-xs leading-3" variant="outline">
<small>Beta</small>
</Badge>
</div>
)}
</div>
Expand Down

0 comments on commit b052151

Please sign in to comment.