diff --git a/src/app/about/page.tsx b/src/app/about/page.tsx
index 0666a7e..bd195bc 100644
--- a/src/app/about/page.tsx
+++ b/src/app/about/page.tsx
@@ -1,117 +1,113 @@
+import { getTranslations } from "next-intl/server";
import Header from "@/components/layout/Header";
import Footer from "@/components/layout/Footer";
-export const metadata = {
- title: "About - ManoonOils",
- description: "Learn about ManoonOils - our story, mission, and commitment to natural beauty.",
-};
+export async function generateMetadata() {
+ return {
+ title: "O nama - ManoonOils",
+ description: "Saznajte više o ManoonOils - naša priča, misija i posvećenost prirodnoj lepoti.",
+ };
+}
+
+export default async function AboutPage() {
+ const t = await getTranslations("About");
-export default function AboutPage() {
return (
<>
- {/* Page Header */}
-
-
- Our Story
-
- About ManoonOils
-
-
-
-
-
- {/* Hero Image */}
-
-
-
-
-
- {/* Content */}
-
-
-
- {/* Introduction */}
-
-
- ManoonOils was born from a passion for natural beauty and the belief
- that the best skincare comes from nature itself.
-
-
- We believe in the power of natural ingredients. Every oil in our
- collection is carefully selected for its unique properties and
- benefits. From nourishing oils that restore hair vitality to serums
- that rejuvenate skin, we craft each product with love and attention
- to detail.
-
-
-
- {/* Values Grid */}
-
-
-
Natural Ingredients
-
- We use only the finest natural ingredients, sourced ethically and sustainably
- from trusted suppliers around the world.
-
-
-
-
Cruelty-Free
-
- Our products are never tested on animals. We believe in beauty
- without compromise.
-
-
-
-
Sustainable Packaging
-
- We use eco-friendly packaging materials and minimize waste
- throughout our production process.
-
-
-
-
Handcrafted Quality
-
- Every bottle is handcrafted in small batches to ensure
- the highest quality and freshness.
-
-
-
-
- {/* Mission */}
-
- Our Mission
-
- “To provide premium quality, natural products that enhance
- your daily beauty routine.”
-
-
-
- {/* Story Section */}
-
-
Handmade with Love
-
- Every bottle of ManoonOils is handcrafted with care. We small-batch
- produce our products to ensure the highest quality and freshness.
- When you use ManoonOils, you can feel confident that you're using
- something made with genuine care and expertise.
-
-
- Our journey began with a simple question: how can we create products
- that truly nurture both hair and skin? Today, we continue to innovate
- while staying true to our commitment to natural, effective beauty solutions.
-
+
+
+
+ {t("subtitle")}
+
+
+ {t("title")}
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+ {t("intro")}
+
+
+ {t("intro2")}
+
+
+
+
+
+
+ {t("naturalIngredients")}
+
+
+ {t("naturalIngredientsDesc")}
+
+
+
+
+ {t("crueltyFree")}
+
+
+ {t("crueltyFreeDesc")}
+
+
+
+
+ {t("sustainablePackaging")}
+
+
+ {t("sustainablePackagingDesc")}
+
+
+
+
+ {t("handcraftedQuality")}
+
+
+ {t("handcraftedQualityDesc")}
+
+
+
+
+
+
+ {t("mission")}
+
+
+ “{t("missionQuote")}”
+
+
+
+
+
+ {t("handmadeTitle")}
+
+
+ {t("handmadeText1")}
+
+
+ {t("handmadeText2")}
+
+
+
+
+
diff --git a/src/app/contact/page.tsx b/src/app/contact/page.tsx
index 02c7072..05d5a95 100644
--- a/src/app/contact/page.tsx
+++ b/src/app/contact/page.tsx
@@ -1,11 +1,13 @@
"use client";
import { useState } from "react";
+import { useTranslations } from "next-intl";
import Header from "@/components/layout/Header";
import Footer from "@/components/layout/Footer";
import { Mail, MapPin, Truck, Check } from "lucide-react";
export default function ContactPage() {
+ const t = useTranslations("Contact");
const [formData, setFormData] = useState({
name: "",
email: "",
@@ -22,179 +24,165 @@ export default function ContactPage() {
<>
- {/* Page Header */}
-
-
- Get in Touch
-
- Contact Us
-
-
- Have questions? We'd love to hear from you.
-
+
+
+
+ {t("subtitle")}
+
+
+ {t("title")}
+
+
+ {t("getInTouchDesc")}
+
+
-
- {/* Contact Section */}
-
-
-
- {/* Contact Info */}
-
-
Get in Touch
-
- We're here to help! Whether you have questions about our products,
- need assistance with an order, or just want to say hello, we'd love to hear from you.
-
+
+
+
+
+
+ {t("getInTouch")}
+
+
+ {t("getInTouchDesc")}
+
-
-
-
-
+
+
+
+
+
+
+
{t("email")}
+
hello@manoonoils.com
+
{t("emailReply")}
+
-
-
Email
-
hello@manoonoils.com
-
We reply within 24 hours
-
-
-
-
-
+
+
+
+
+
+
{t("shippingTitle")}
+
{t("freeShipping")}
+
{t("deliveryTime")}
+
-
-
Shipping
-
Free shipping over 3,000 RSD
-
Delivered within 2-5 business days
-
-
-
-
-
-
-
-
Location
-
Serbia
-
Shipping nationwide
+
+
+
+
+
+
{t("location")}
+
{t("locationDesc")}
+
{t("worldwideShipping")}
+
-
- {/* Contact Form */}
-
- {submitted ? (
-
-
-
+
+ {submitted ? (
+
+
+
+
+
{t("thankYou")}
+
+ {t("thankYouDesc")}
+
-
Thank You!
-
- Your message has been sent. We'll get back to you soon.
-
-
- ) : (
-
- )}
+ ) : (
+
+ )}
+
-
-
+
- {/* FAQ Section */}
-
-
-
-
- Frequently Asked Questions
-
-
-
- {[
- {
- q: "How long does shipping take?",
- a: "Orders are typically delivered within 2-5 business days for domestic shipping. You'll receive a tracking number once your order ships."
- },
- {
- q: "Are your products 100% natural?",
- a: "Yes! All our oils are 100% natural, cold-pressed, and free from any additives, preservatives, or artificial fragrances."
- },
- {
- q: "What is your return policy?",
- a: "We accept returns within 14 days of delivery for unopened products. Please contact us if you have any issues with your order."
- },
- {
- q: "Do you offer wholesale?",
- a: "Yes, we offer wholesale pricing for bulk orders. Please contact us at hello@manoonoils.com for more information."
- }
- ].map((faq, index) => (
-
diff --git a/src/app/en/about/page.tsx b/src/app/en/about/page.tsx
index 0c9b479..521f2b7 100644
--- a/src/app/en/about/page.tsx
+++ b/src/app/en/about/page.tsx
@@ -1,12 +1,17 @@
+import { getTranslations } from "next-intl/server";
import Header from "@/components/layout/Header";
import Footer from "@/components/layout/Footer";
-export const metadata = {
- title: "About - ManoonOils",
- description: "Learn about ManoonOils - our story, mission, and commitment to natural beauty.",
-};
+export async function generateMetadata() {
+ return {
+ title: "About - ManoonOils",
+ description: "Learn about ManoonOils - our story, mission, and commitment to natural beauty.",
+ };
+}
+
+export default async function AboutPage() {
+ const t = await getTranslations("About");
-export default function AboutPage() {
return (
<>
@@ -14,9 +19,11 @@ export default function AboutPage() {
- Our Story
+
+ {t("subtitle")}
+
- About ManoonOils
+ {t("title")}
@@ -36,69 +43,66 @@ export default function AboutPage() {
- ManoonOils was born from a passion for natural beauty and the belief
- that the best skincare comes from nature itself.
+ {t("intro")}
- We believe in the power of natural ingredients. Every oil in our
- collection is carefully selected for its unique properties and
- benefits. From nourishing oils that restore hair vitality to serums
- that rejuvenate skin, we craft each product with love and attention
- to detail.
+ {t("intro2")}
-
Natural Ingredients
+
+ {t("naturalIngredients")}
+
- We use only the finest natural ingredients, sourced ethically and sustainably
- from trusted suppliers around the world.
+ {t("naturalIngredientsDesc")}
-
Cruelty-Free
+
+ {t("crueltyFree")}
+
- Our products are never tested on animals. We believe in beauty
- without compromise.
+ {t("crueltyFreeDesc")}
-
Sustainable Packaging
+
+ {t("sustainablePackaging")}
+
- We use eco-friendly packaging materials and minimize waste
- throughout our production process.
+ {t("sustainablePackagingDesc")}
-
Handcrafted Quality
+
+ {t("handcraftedQuality")}
+
- Every bottle is handcrafted in small batches to ensure
- the highest quality and freshness.
+ {t("handcraftedQualityDesc")}
- Our Mission
+
+ {t("mission")}
+
- “To provide premium quality, natural products that enhance
- your daily beauty routine.”
+ “{t("missionQuote")}”
-
Handmade with Love
+
+ {t("handmadeTitle")}
+
- Every bottle of ManoonOils is handcrafted with care. We small-batch
- produce our products to ensure the highest quality and freshness.
- When you use ManoonOils, you can feel confident that you're using
- something made with genuine care and expertise.
+ {t("handmadeText1")}
- Our journey began with a simple question: how can we create products
- that truly nurture both hair and skin? Today, we continue to innovate
- while staying true to our commitment to natural, effective beauty solutions.
+ {t("handmadeText2")}
diff --git a/src/app/en/contact/page.tsx b/src/app/en/contact/page.tsx
index 06f3be6..05d5a95 100644
--- a/src/app/en/contact/page.tsx
+++ b/src/app/en/contact/page.tsx
@@ -1,11 +1,13 @@
"use client";
import { useState } from "react";
+import { useTranslations } from "next-intl";
import Header from "@/components/layout/Header";
import Footer from "@/components/layout/Footer";
import { Mail, MapPin, Truck, Check } from "lucide-react";
export default function ContactPage() {
+ const t = useTranslations("Contact");
const [formData, setFormData] = useState({
name: "",
email: "",
@@ -25,12 +27,14 @@ export default function ContactPage() {
- Get in Touch
+
+ {t("subtitle")}
+
- Contact Us
+ {t("title")}
- Have questions? We'd love to hear from you.
+ {t("getInTouchDesc")}
@@ -40,10 +44,11 @@ export default function ContactPage() {
-
Get in Touch
+
+ {t("getInTouch")}
+
- We're here to help! Whether you have questions about our products,
- need assistance with an order, or just want to say hello, we'd love to hear from you.
+ {t("getInTouchDesc")}
@@ -52,9 +57,9 @@ export default function ContactPage() {
-
Email
+
{t("email")}
hello@manoonoils.com
-
We reply within 24 hours
+
{t("emailReply")}
@@ -63,9 +68,9 @@ export default function ContactPage() {
-
Shipping
-
Free shipping over £50
-
Delivered within 2-5 business days
+
{t("shippingTitle")}
+
{t("freeShipping")}
+
{t("deliveryTime")}
@@ -74,9 +79,9 @@ export default function ContactPage() {
-
Location
-
Serbia
-
Shipping worldwide
+
{t("location")}
+
{t("locationDesc")}
+
{t("worldwideShipping")}
@@ -88,16 +93,16 @@ export default function ContactPage() {
-
Thank You!
+
{t("thankYou")}
- Your message has been sent. We'll get back to you soon.
+ {t("thankYouDesc")}
{[
- {
- q: "How long does shipping take?",
- a: "Orders are typically delivered within 2-5 business days for domestic shipping. You'll receive a tracking number once your order ships."
- },
- {
- q: "Are your products 100% natural?",
- a: "Yes! All our oils are 100% natural, cold-pressed, and free from any additives, preservatives, or artificial fragrances."
- },
- {
- q: "What is your return policy?",
- a: "We accept returns within 14 days of delivery for unopened products. Please contact us if you have any issues with your order."
- },
- {
- q: "Do you offer wholesale?",
- a: "Yes, we offer wholesale pricing for bulk orders. Please contact us at hello@manoonoils.com for more information."
- }
+ { q: t("faq1q"), a: t("faq1a") },
+ { q: t("faq2q"), a: t("faq2a") },
+ { q: t("faq3q"), a: t("faq3a") },
+ { q: t("faq4q"), a: t("faq4a") },
].map((faq, index) => (
{faq.q}
@@ -189,7 +182,7 @@ export default function ContactPage() {
-
+
diff --git a/src/app/en/page.tsx b/src/app/en/page.tsx
index d2463d9..d22fbe0 100644
--- a/src/app/en/page.tsx
+++ b/src/app/en/page.tsx
@@ -1,4 +1,5 @@
import { getProducts } from "@/lib/saleor";
+import { getTranslations } from "next-intl/server";
import Header from "@/components/layout/Header";
import Footer from "@/components/layout/Footer";
import HeroVideo from "@/components/home/HeroVideo";
@@ -10,13 +11,17 @@ import BeforeAfterGallery from "@/components/home/BeforeAfterGallery";
import ProblemSection from "@/components/home/ProblemSection";
import HowItWorks from "@/components/home/HowItWorks";
-export const metadata = {
- title: "ManoonOils - Premium Natural Oils for Hair & Skin",
- description:
- "Discover our premium collection of natural oils for hair and skin care. Handmade with love using only the finest ingredients.",
-};
+export async function generateMetadata() {
+ return {
+ title: "ManoonOils - Premium Natural Oils for Hair & Skin",
+ description: "Discover our premium collection of natural oils for hair and skin care.",
+ };
+}
export default async function EnglishHomepage() {
+ const t = await getTranslations("Home");
+ const tBenefits = await getTranslations("Benefits");
+
let products: any[] = [];
try {
products = await getProducts("UK");
@@ -44,19 +49,19 @@ export default async function EnglishHomepage() {
-
+
{hasProducts && (
- Our Collection
+ {t("collection")}
- Premium Natural Oils
+ {t("premiumOils")}
- Cold-pressed, pure, and natural oils for your daily beauty routine
+ {t("oilsDescription")}
@@ -85,25 +90,22 @@ export default async function EnglishHomepage() {
- Our Story
+ {t("ourStory")}
- Handmade with Love
+ {t("handmadeWithLove")}
- Every bottle of ManoonOils is crafted with care using traditional
- methods passed down through generations. We source only the finest
- organic ingredients to bring you oils that nourish both hair and skin.
+ {t("storyText1")}
- Our commitment to purity means no additives, no preservatives -
- just nature's goodness in its most potent form.
+ {t("storyText2")}