-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ft/creating-dynamic-navbar #17
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
src/components/header/index.tsx
Outdated
<Image | ||
src="./images/smallArrow.png" | ||
alt="arrow" | ||
width={100} | ||
height={100} | ||
/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would suggest using the svg for arrows instead of using images.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
src/components/header/index.tsx
Outdated
<Image | ||
src="./images/smallArrow.png" | ||
alt="arrow" | ||
width={100} | ||
height={100} | ||
/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
src/components/header/index.tsx
Outdated
<Image | ||
src="./images/smallArrow.png" | ||
alt="arrow" | ||
width={100} | ||
height={100} | ||
/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great Job!
src/components/header/NavLink.tsx
Outdated
link: "/case-studies-and-core-tools", | ||
title: "Level of Co-Design Practice", | ||
}, | ||
]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you put this file in utils folder and give it .ts extension as it is not a tsx file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
next.config.js
Outdated
@@ -4,6 +4,9 @@ | |||
const nextConfig = { | |||
reactStrictMode: false, | |||
output: "export", | |||
images: { | |||
unoptimized: true, | |||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why optimize is disabled?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need to disable optimization becouse we added output:"export"
, we can't run project local if we do not disable it.
and we need output:"export"
so that we can build the project for gitpages
|
||
const HorzontalArrow = () => { | ||
return ( | ||
<div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This div is not needed here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
6f1491f
to
1d4d644
Compare
1d4d644
to
7d6b6ff
Compare
047b24f
to
87b1058
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…ess/co-design-FE into ft/creating-dynamic-navbar
a3edf4f
to
0196030
Compare
updating the header by making content dynamic