gita / gita-frontend-v2

Frontend for BhagavadGita.io v2
https://bhagavadgita.io
MIT License
43 stars 53 forks source link

Added Acknowledgements page #212

Closed samanyougarg closed 1 year ago

samanyougarg commented 1 year ago

Summary by CodeRabbit

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
bg-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 6, 2023 8:11am
bhagavad-gita ✅ Ready (Inspect) Visit Preview Sep 6, 2023 8:11am
github-actions[bot] commented 1 year ago

Image description CodeRabbit

Walkthrough

This update introduces an "Acknowledgements" page to the Bhagavad Gita project, with SEO metadata and acknowledgements from various organizations. It also includes a new banner component for acknowledgements. The navigation menu has been updated to include this new page, and some text translations have been modified for consistency.

Changes

Files Summary
src/app/acknowledgements/[[...locale]]/constants.ts,
src/app/acknowledgements/[[...locale]]/layout.tsx,
src/app/acknowledgements/[[...locale]]/page.tsx
Added an "Acknowledgements" page with two JSON-LD objects representing the organization and a breadcrumb list. Included a new module Layout for fetching translations and passing them to the HomeLayout component.
src/components/AboutBanner.tsx,
src/components/Headers/IndexHeader.tsx
Updated translated text from "About Bhagwad Gita" to "About Bhagwat Gita" in the AboutBanner component and the name in the mobileNav array from "About Geeta" to "About Gita".
src/components/AcknowledgementBanner.tsx Introduced an acknowledgements banner component that displays a background image with a text overlay. The component uses locale and translations props for translating the displayed text.
src/components/Footers/Footer.tsx Updated the navigation menu to include the "Acknowledgements" page and renamed the existing "Privacy Policy" entry to "Privacy".

🐇💻

In the land of code, changes are afoot,

An Acknowledgements page, isn't that good?

Translations tweaked, banners unfurled,

Enhancing the user's digital world.

So here's to the devs, their efforts we laud,

Making the web a welcoming broad. 🎉🥳


Uplevel your code reviews with CodeRabbit Pro ### CodeRabbit Pro If you like this project, please support us by purchasing the [Pro version](https://coderabbit.ai). The Pro version has advanced context, superior noise reduction and several proprietary improvements compared to the open source version. Moreover, CodeRabbit Pro is free for open source projects.