Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
Halloween themed Evergreen logo
Browse files Browse the repository at this point in the history
  • Loading branch information
khelif96 committed Oct 27, 2023
1 parent f4d7dfc commit 9b9b524
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/components/Header/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import Cookies from "js-cookie";
import { Link, useParams } from "react-router-dom";
import { useNavbarAnalytics } from "analytics";
import Icon from "components/Icon";
import HalloweenTree from "components/Icon/icons/Halloween.svg";
import { CURRENT_PROJECT } from "constants/cookies";
import { wikiUrl } from "constants/externalResources";
import { getCommitsRoute, getUserPatchesRoute, routes } from "constants/routes";
Expand Down Expand Up @@ -60,7 +61,10 @@ export const Navbar: React.FC = () => {
to={routes.myPatches}
onClick={() => sendEvent({ name: "Click Logo Link" })}
>
<Icon glyph="EvergreenLogo" size={32} />
<HalloweenTreeIcon
src={HalloweenTree}
alt="Evergreen Logo with Halloween Decorations"
/>
</LogoLink>
<PrimaryLink
data-cy="project-health-link"
Expand Down Expand Up @@ -172,3 +176,10 @@ const secondaryStyle = css`
const SecondaryLink = styled.a`
${secondaryStyle}
`;

const HalloweenTreeIcon = styled.img`
height: 46px;
width: 46px;
position: relative;
bottom: 4px;
`;
Loading

0 comments on commit 9b9b524

Please sign in to comment.