Closed MastanSayyad closed 5 days ago
Hey @punyakrit | Issue closes #147
This PR adds a "Back to Home" button to the legal pages of the application. Additionally I have adjusted the page margin to look more organized.
Created BackToHome.tsx component and The button uses an SVG icon instead of text and a Link component from Next.js to ensure proper routing
BackToHome.tsx
Link
Added styles in globals.css.
globals.css
Imported and used the BackToHomeButton component in the legal pages.
BackToHomeButton
https://github.com/punyakrit/social-share/assets/101971980/6ab291a7-c0e2-4689-9b08-636325be0d3d
https://github.com/punyakrit/social-share/assets/101971980/f5835d28-4058-45a2-acfe-82dd003bd6b5
In future if we create any dedicated page we can use our button to navigate back to the home page!!
Could you please take a look and review it? Thank You!!
@MastanSayyad is attempting to deploy a commit to the punyakrit's projects Team on Vercel.
A member of the Team first needs to authorize it.
Hey @punyakrit | Issue closes #147
This PR adds a "Back to Home" button to the legal pages of the application. Additionally I have adjusted the page margin to look more organized.
Changes I Made
Created
BackToHome.tsx
component and The button uses an SVG icon instead of text and aLink
component from Next.js to ensure proper routingAdded styles in
globals.css
.Imported and used the
BackToHomeButton
component in the legal pages.Privacy Policy
Terms and Conditions
Licensing
Displays a tooltip ("Back to Home") when hovered.
https://github.com/punyakrit/social-share/assets/101971980/6ab291a7-c0e2-4689-9b08-636325be0d3d
Responsive
Overall Screen Record
https://github.com/punyakrit/social-share/assets/101971980/f5835d28-4058-45a2-acfe-82dd003bd6b5
In future if we create any dedicated page we can use our button to navigate back to the home page!!
Could you please take a look and review it? Thank You!!