diff --git a/.env b/.env index 34b74ea..48b23cd 100644 --- a/.env +++ b/.env @@ -2,4 +2,5 @@ STRIPE_PRICING_TABLE=prctbl_1O0hFcFI67mXFum2kEqiD57r STRIPE_KEY=pk_test_51NzD5xFI67mXFum2XDMXiLu89SbCAMY5O0RnKjlU6XqyfboRVvFHI3f5OJHaxsrjjB7WqDYqN7Y3eF8mq3sF354F00l30L5GuJ STRIPE_SECRET=sk_test_51NzD5xFI67mXFum2Lzi2JtR8Th9zuA3CnoKKkAaOBiHmiHDQdGt7Pruj1Z89e4nF5eVNStL866twJLoVBUgfiaxZ00yqst8gkh -WEBHOOK_URL=http://localhost:3001/api/stripe \ No newline at end of file +WEBHOOK_URL=http://localhost:3001/api/stripe +NEXT_PUBLIC_APP_URL=http://localhost:3001 \ No newline at end of file diff --git a/package.json b/package.json index 69826da..01fabc1 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,8 @@ "@stripe/stripe-js": "^2.1.7", "axios": "^1.5.1", "clsx": "^2.0.0", + "currency-symbol-map": "^5.1.0", + "lodash": "^4.17.21", "moment": "^2.29.4", "next": "13.5.4", "react": "^18", @@ -24,6 +26,7 @@ "sharp": "^0.32.6" }, "devDependencies": { + "@types/lodash": "^4.14.202", "@types/node": "^20", "@types/react": "^18", "@types/react-dom": "^18", diff --git a/public/banner_encoach.jpeg b/public/banner_encoach.jpeg deleted file mode 100644 index 78091e3..0000000 Binary files a/public/banner_encoach.jpeg and /dev/null differ diff --git a/public/banner_encoach_home.png b/public/banner_encoach_home.png new file mode 100644 index 0000000..c7e4ef9 Binary files /dev/null and b/public/banner_encoach_home.png differ diff --git a/src/app/ar/price/page.tsx b/src/app/ar/price/page.tsx new file mode 100644 index 0000000..9e42ebf --- /dev/null +++ b/src/app/ar/price/page.tsx @@ -0,0 +1,5 @@ +import Price from "@/templates/Price"; + +export default function Page() { + return ; +} diff --git a/src/app/price/page.tsx b/src/app/price/page.tsx new file mode 100644 index 0000000..8d0e1ba --- /dev/null +++ b/src/app/price/page.tsx @@ -0,0 +1,5 @@ +import Price from "@/templates/Price"; + +export default function Page() { + return ; +} diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index d0e9aab..0a4db3c 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -13,6 +13,7 @@ import translation from "@/translation/navbar.json"; const items = [ {page: "/", key: "home"}, {page: "/services", key: "services"}, + {page: "/price", key: "price"}, {page: "/about", key: "about"}, {page: "/history", key: "history"}, {page: "/contact", key: "contact"}, @@ -25,7 +26,7 @@ export default function Navbar({currentPage, language}: {currentPage: string; la <>
- EnCoach logo + EnCoach logo
{items.map((item) => ( @@ -93,7 +94,7 @@ export default function Navbar({currentPage, language}: {currentPage: string; la - EnCoach logo + EnCoach logo
{language === "ar" ? ( diff --git a/src/templates/Home.tsx b/src/templates/Home.tsx index 26d341a..42cbf61 100644 --- a/src/templates/Home.tsx +++ b/src/templates/Home.tsx @@ -2,21 +2,13 @@ import Link from "next/link"; import { BsBook, - BsCardChecklist, - BsClipboardFill, - BsClockFill, BsHeadphones, - BsInstagram, BsMegaphone, BsPen, - BsShieldFillCheck, - BsTwitter, } from "react-icons/bs"; -import {BiLogoFacebook} from "react-icons/bi"; import Navbar from "@/components/Navbar"; import Footer from "@/components/Footer"; import translation from "@/translation/home.json"; -import reactStringReplace from "react-string-replace"; import clsx from "clsx"; import Tag from "@/components/Tag"; import Title from "@/components/Title"; @@ -31,7 +23,7 @@ export default function Home({language}: Props) {
- IELTS Packages - Together we prepare for the future + IELTS Packages - Together we prepare for the future