Skip to content

Commit fba4965

Browse files
committed
style(return-policy): fix design based on figma files
1 parent 51c2949 commit fba4965

2 files changed

Lines changed: 31 additions & 23 deletions

File tree

package-lock.json

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/pages/ReturnPolicy/ReturnPolicy.jsx

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import SEO from "../../components/SEO";
1+
import SEO from '../../components/SEO';
22

33
export default function ReturnPolicy() {
44
return (
@@ -19,7 +19,7 @@ export default function ReturnPolicy() {
1919

2020
<main
2121
id="main-content"
22-
className="min-h-screen bg-white py-12 px-4 sm:px-6 lg:px-8"
22+
className="min-h-screen bg-white font-inter py-12 px-4 sm:px-6 lg:px-8"
2323
role="main"
2424
aria-labelledby="return-policy-title"
2525
>
@@ -28,20 +28,20 @@ export default function ReturnPolicy() {
2828
<header className="mb-8">
2929
<h1
3030
id="return-policy-title"
31-
className="text-4xl font-bold text-gray-900 mb-4"
31+
className="text-5xl md:text-6xl text-gray-900 mb-4"
3232
>
3333
Return Policy
3434
</h1>
3535
</header>
36-
<hr />
36+
<hr className="text-slate-400" />
3737

3838
{/* Main Content */}
39-
<article className="prose prose-lg max-w-none text-gray-700 space-y-8">
39+
<article className="prose prose-lg max-w-none space-y-8">
4040
{/* Our Approach */}
4141
<section aria-labelledby="our-approach-section">
4242
<h2
4343
id="our-approach-section"
44-
className="text-2xl font-semibold text-gray-900 mb-4"
44+
className="text-3xl font-bold text-gray-900 mt-8 mb-8"
4545
>
4646
OUR APPROACH
4747
</h2>
@@ -54,13 +54,13 @@ export default function ReturnPolicy() {
5454
would look in a production e-commerce environment.
5555
</p>
5656
</section>
57-
<hr />
57+
<hr className="text-slate-400" />
5858

5959
{/* Refunds & Returns */}
6060
<section aria-labelledby="refunds-returns-section">
6161
<h2
6262
id="refunds-returns-section"
63-
className="text-2xl font-semibold text-gray-900 mb-4"
63+
className="text-3xl font-bold text-gray-900 mb-8"
6464
>
6565
REFUNDS & RETURNS
6666
</h2>
@@ -72,13 +72,13 @@ export default function ReturnPolicy() {
7272
unused and in good condition.
7373
</p>
7474
</section>
75-
<hr />
75+
<hr className="text-slate-400" />
7676

7777
{/* Damaged or Defective Products */}
7878
<section aria-labelledby="damaged-defective-section">
7979
<h2
8080
id="damaged-defective-section"
81-
className="text-2xl font-semibold text-gray-900 mb-4"
81+
className="text-3xl font-bold text-gray-900 mb-8"
8282
>
8383
DAMAGED OR DEFECTIVE PRODUCTS
8484
</h2>
@@ -88,13 +88,13 @@ export default function ReturnPolicy() {
8888
a replacement or refund would be issued accordingly.
8989
</p>
9090
</section>
91-
<hr />
91+
<hr className="text-slate-400" />
9292

9393
{/* Important Note */}
9494
<section aria-labelledby="important-note-section">
9595
<h2
9696
id="important-note-section"
97-
className="text-2xl font-semibold text-gray-900 mb-4"
97+
className="text-3xl font-bold text-gray-900 mb-8"
9898
>
9999
IMPORTANT NOTE
100100
</h2>
@@ -105,10 +105,16 @@ export default function ReturnPolicy() {
105105
to showcase what a professional supplement store might include.
106106
</p>
107107
</section>
108-
<hr />
108+
<hr className="text-slate-400" />
109109

110110
{/* Disclaimer */}
111111
<section aria-labelledby="disclaimer-section">
112+
<h2
113+
id="disclaimer-section"
114+
className="text-3xl font-bold text-gray-900 mb-8"
115+
>
116+
DISCLAIMER
117+
</h2>
112118
<div className="flex">
113119
<div className="flex-shrink-0">
114120
<svg
@@ -125,16 +131,11 @@ export default function ReturnPolicy() {
125131
</svg>
126132
</div>
127133
<div className="ml-3">
128-
<h2
129-
id="disclaimer-section"
130-
className="text-lg font-semibold mb-2"
131-
>
132-
DISCLAIMER
133-
</h2>
134-
<p className="text-yellow-700">
135-
CoreX Nutrition is a community-driven, open-source project.
136-
No real transactions, shipments, or returns are processed.
137-
This content is for educational and portfolio purposes only.
134+
<p>
135+
Core<span className="text-red-600">X</span> Nutrition is a
136+
community-driven, open-source project. No real transactions,
137+
shipments, or returns are processed. This content is for
138+
educational and portfolio purposes only.
138139
</p>
139140
</div>
140141
</div>

0 commit comments

Comments
 (0)