Skip to content

Commit 027e49b

Browse files
committed
Fix:Correction of the layout on the license and privacy pages and removal of unnecessary text
1 parent e360ba9 commit 027e49b

File tree

2 files changed

+2
-23
lines changed

2 files changed

+2
-23
lines changed

src/pages/License.jsx

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const License = () => {
1313
<div className="min-h-screen bg-white">
1414
<div className="sm:w-[80%] md:w-[90%] lg:w-[70%] xl:w-[80%] 2xl:w-[55%] mx-auto px-6 py-24">
1515
{/* Header */}
16-
<div className="mb-12">
16+
<div className="mb-10 mt-10">
1717
<Link
1818
to="/"
1919
className="inline-flex items-center gap-2 text-sm font-medium text-zinc-600 hover:text-yellow-500 transition mb-6"
@@ -151,16 +151,6 @@ const License = () => {
151151
</p>
152152
</div>
153153
</section>
154-
155-
{/* Footer Note */}
156-
<div className="mt-12 pt-8 border-t border-zinc-200 text-center">
157-
<p className="text-sm text-zinc-500">
158-
© {currentYear} BuyMeACoffee-Africa. All rights reserved.
159-
</p>
160-
<p className="text-sm text-zinc-600 mt-2 italic">
161-
Built with ❤️ for the African developer community
162-
</p>
163-
</div>
164154
</div>
165155
</div>
166156
</div>

src/pages/Privacy.jsx

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,14 @@ import { useI18n } from "../context/I18nContext";
55

66
const Privacy = () => {
77
const { t } = useI18n();
8-
const currentYear = new Date().getFullYear();
98

109
return (
1110
<>
1211
<Navbar />
1312
<div className="min-h-screen bg-white">
1413
<div className="sm:w-[80%] md:w-[90%] lg:w-[70%] xl:w-[80%] 2xl:w-[55%] mx-auto px-6 py-24">
1514
{/* Header */}
16-
<div className="mb-12">
15+
<div className="mb-10 mt-10">
1716
<Link
1817
to="/"
1918
className="inline-flex items-center gap-2 text-sm font-medium text-zinc-600 hover:text-yellow-500 transition mb-6"
@@ -262,16 +261,6 @@ const Privacy = () => {
262261
</p>
263262
</div>
264263
</section>
265-
266-
{/* Footer Note */}
267-
<div className="mt-12 pt-8 border-t border-zinc-200 text-center">
268-
<p className="text-sm text-zinc-500">
269-
© {currentYear} BuyMeACoffee-Africa. All rights reserved.
270-
</p>
271-
<p className="text-sm text-zinc-600 mt-2 italic">
272-
Thank you for trusting BuyMeACoffee-Africa with your information. Your privacy matters to us.
273-
</p>
274-
</div>
275264
</div>
276265
</div>
277266
</div>

0 commit comments

Comments
 (0)