Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Commit 2a9e900

Browse files
committed
Readded art to menu 🚀
1 parent 2750c0c commit 2a9e900

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

src/components/design-system/organism/blog-menu.tsx

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const MenuContainer = styled.div<MenuContainerProps>`
8080
height 0.3s ease ${(props) => `${props.delayOpenCloseMenuAnimation}s`};
8181
width: 100%;
8282
z-index: 300;
83-
height: ${(props) => (props.shouldOpenMenu ? "210px" : menuHeight)};
83+
height: ${(props) => (props.shouldOpenMenu ? "260px" : menuHeight)};
8484
8585
${mediaQuery.dark} {
8686
background-color: ${(props) => props.theme.dark.primaryColorDark};
@@ -264,7 +264,7 @@ export const BlogMenu: React.FC<MenuProps> = ({
264264
trackingCategory={trackingCategory}
265265
shouldOpenMenu={shouldOpenMenu}
266266
enterDelayAnimation={"0.3s"}
267-
exitDelayAnimation={"0.3s"}
267+
exitDelayAnimation={"0.4s"}
268268
onStartAnimation={onStartAnimation}
269269
onFinishAnimation={onFinishAnimation}
270270
/>
@@ -276,6 +276,18 @@ export const BlogMenu: React.FC<MenuProps> = ({
276276
trackingCategory={trackingCategory}
277277
shouldOpenMenu={shouldOpenMenu}
278278
enterDelayAnimation={"0.4s"}
279+
exitDelayAnimation={"0.3s"}
280+
onStartAnimation={onStartAnimation}
281+
onFinishAnimation={onFinishAnimation}
282+
/>
283+
<AnimatedNavBarItem
284+
label={"Art"}
285+
slug={slugs.art}
286+
selected={pathname === slugs.art}
287+
trackingAction={tracking.action.open_art}
288+
trackingCategory={trackingCategory}
289+
shouldOpenMenu={shouldOpenMenu}
290+
enterDelayAnimation={"0.5s"}
279291
exitDelayAnimation={"0.2s"}
280292
onStartAnimation={onStartAnimation}
281293
onFinishAnimation={onFinishAnimation}
@@ -287,7 +299,7 @@ export const BlogMenu: React.FC<MenuProps> = ({
287299
trackingAction={tracking.action.open_about_me}
288300
trackingCategory={trackingCategory}
289301
shouldOpenMenu={shouldOpenMenu}
290-
enterDelayAnimation={"0.5s"}
302+
enterDelayAnimation={"0.6s"}
291303
exitDelayAnimation={"0.1s"}
292304
onStartAnimation={onStartAnimation}
293305
onFinishAnimation={onFinishAnimation}

src/logic/art.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,5 @@ export const artDescriptions: { [imageName: string]: string } = {
7171
"2021-08-20": "Bumblebee 🐝",
7272
"2021-09-26": "Loto flower 🌸",
7373
"2021-10-24": "Chicio art logo™",
74-
"2021-10-31": "Hallowen bulb 💡👻",
74+
"2021-10-31": "Halloween bulb 💡👻",
7575
};

0 commit comments

Comments
 (0)