-
Notifications
You must be signed in to change notification settings - Fork 0
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
EPMGCIP-164: Implement Footer #38
base: main
Are you sure you want to change the base?
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.
Good work!
Please, address to some comments
icon: JSX.Element; | ||
} | ||
|
||
export default function CircleLink({ link, icon }: Props) { |
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.
What do you think about using arrow functions (AFs) for React components instead? From my opinion it is more preferable way to declare functional components
/> | ||
</div> | ||
<div className={styles.copyright}> | ||
©{currentYear}. All copyrights reserved. Copying website content allowed only on permission |
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.
- How about using
©
HTML meta-symbol to guarantee that browser interprets symbol properly? - Let's, please, put these messages (including contact details) into translation messages so it could translated later easily without affecting source code
import Footer from './Footer'; | ||
|
||
describe('Footer', () => { | ||
it('renders correctly and show current year', () => { |
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 suppose it would be also good to validate the following footer elements:
- All social media links
- Copyrights
- Contact details
Ticket
https://jira.epam.com/jira/browse/EPMGCIP-164
Preview
https://676d74de2c3980dfbbcbc4ef--staging-savitsky-museum.netlify.app/en
Code changes
Footer
component with social networksCircleLink
component for rendering styled linksRecording.2024-12-26.192321.mp4