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

DEVPROD-1614 Happy Halloween! #2119

Merged
merged 2 commits into from
Oct 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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