Skip to content
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

UND-38-navigation-footer #74

Merged
merged 1 commit into from
Oct 7, 2021
Merged

UND-38-navigation-footer #74

merged 1 commit into from
Oct 7, 2021

Conversation

harishkumar-srijan
Copy link
Contributor

navigation footer

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Oct 5, 2021

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 70c5fd8
Status: ✅  Deploy successful!
Preview URL: https://7a763caa.design-system.pages.dev

View logs

Copy link
Contributor

@surbhi90 surbhi90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check the comments


export const FooterLists = ({ type, headerText, text, style }) => {
const ListTag = `${type}`;
useEffect(() => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@harishkumar-srijan remove useeffect hook if we are not using it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

}
a {
font-size: 16px;
line-height: 22px;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@harishkumar-srijan can we use font size in rem and use the varibles

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done use the variable and variable is converted in rem done by shubam already.

Copy link
Contributor

@surbhi90 surbhi90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check the comments

<li><a href="#">{text}</a></li>
<li><a href="#">{text2}</a></li>
<li><a href="#">{text3}</a></li>
<li><a href="#">{text4}</a></li>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@harishkumar-srijan can we create it as array and use map function for this

<li><a href="#">{text3}</a></li>
<li><a href="#">{text4}</a></li>
<li><a href="#">{text2}</a></li>
</ul>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@harishkumar-srijan can we create it as array and use map function for this

<a href="#" className="linkedIn"></a>
<a href="#" className="instragram"></a>
<a href="#" className="twitter"></a>
<a href="#" className="youtube"></a>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@harishkumar-srijan it is semantically wrong...please use li tag inside the ul tag

<Link label={text} />
<Link label={text} />
<Link label={text} />
<Link label={text} />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@harishkumar-srijan can we create it as array and use map function for this

@surbhi90 surbhi90 merged commit 2e497f4 into develop Oct 7, 2021
@kuldev kuldev deleted the UND-38-navigation-footer branch February 25, 2022 05:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants