diff --git a/src/app/[...not_found]/page.tsx b/src/app/[...not_found]/page.tsx new file mode 100644 index 0000000..cfc1256 --- /dev/null +++ b/src/app/[...not_found]/page.tsx @@ -0,0 +1,31 @@ +import routeFactory from '@/assets/constants/routeFactory'; +import images from '@/assets/images/images'; +import Button from '@/components/uikit/button'; +import { t } from '@/locales/translates'; + +export default function NotFound() { + return ( +
+

+ {t('pages_notFound_title') as string} +

+

+ {t('pages_notFound_description') as string} +

+
+ 404 page +
+ +
+ ); +} diff --git a/src/app/contact-us/page.tsx b/src/app/contact-us/page.tsx index 98ca9ba..55c4116 100644 --- a/src/app/contact-us/page.tsx +++ b/src/app/contact-us/page.tsx @@ -21,18 +21,21 @@ export default async function Contact() { imageSrc={images.blogBanner.src} /> -
-
+
+
+
+ footer-bg +
+
+
-
- footer-bg -
+
diff --git a/src/assets/images/404.png b/src/assets/images/404.png new file mode 100644 index 0000000..932c0fd Binary files /dev/null and b/src/assets/images/404.png differ diff --git a/src/assets/images/images.ts b/src/assets/images/images.ts index 6abdce2..4c4c24d 100644 --- a/src/assets/images/images.ts +++ b/src/assets/images/images.ts @@ -10,7 +10,7 @@ import whatWeDoImage from './what-we-do-image.png'; import blogImg_1 from './blog_img_1.jpeg' import projectImg_1 from './project_img_1.jpeg' import product1 from './product1.png'; - +import notFound from './404.png' export default { homeBanner, logo, @@ -21,6 +21,7 @@ export default { factoryVector, aboutImg_1, aboutImg_2, + notFound, homeProductBack, whatWeDoImage, product1, diff --git a/src/components/pages/contact/ContactMeForm.tsx b/src/components/pages/contact/ContactMeForm.tsx index e2b6dde..4a39038 100644 --- a/src/components/pages/contact/ContactMeForm.tsx +++ b/src/components/pages/contact/ContactMeForm.tsx @@ -1,17 +1,38 @@ import Button from '@/components/uikit/button'; import FormField from '@/components/uikit/inputs'; +import { t } from '@/locales/translates'; const ContactForm = () => { return (
-

- Contact me +

+ {t('com_contact_title') as string}{' '} + + {' '} + {t('com_contact_title_bold') as string} +

-
- - - - +
+
+ + + +
+ + +
diff --git a/src/components/pages/contact/TouchUs.tsx b/src/components/pages/contact/TouchUs.tsx index 50d219c..6efbd1f 100644 --- a/src/components/pages/contact/TouchUs.tsx +++ b/src/components/pages/contact/TouchUs.tsx @@ -1,26 +1,33 @@ import { Icon } from '@/components/uikit/icons'; +import { t } from '@/locales/translates'; const TouchUs = () => { return (
-

- Get in touch{' '} +
+ {' '} + +

{t('pages_contact_title') as string}

+
+

+ {t('com_contact_touch_title') as string}{' '} - with us + {t('com_contact_touch_title_bold') as string}

-

- Reach out for any inquiries, support, or feedback—we’d love to hear from - you! +

+ {t('com_contact_touch_description') as string}

-
+
-

Contact

+

+ {t('com_contact_touch_option_1') as string} +

+44 (0) 20 1234 5678

@@ -30,7 +37,9 @@ const TouchUs = () => {
-

Email

+

+ {t('com_contact_touch_option_2') as string} +

support@mybusiness.com

@@ -40,9 +49,11 @@ const TouchUs = () => {
-

Our Address

+

+ {t('com_contact_touch_option_3') as string} +

- 123 Business Street, London EC1A 1BB, UK + {t('com_contact_touch_option_3_description') as string}

diff --git a/src/components/uikit/icons/emailIcon.tsx b/src/components/uikit/icons/emailIcon.tsx index ab73fef..3e829b2 100644 --- a/src/components/uikit/icons/emailIcon.tsx +++ b/src/components/uikit/icons/emailIcon.tsx @@ -1,18 +1,18 @@ export const EmailIcon = (props: React.SVGProps) => ( diff --git a/src/components/uikit/icons/locationIcon.tsx b/src/components/uikit/icons/locationIcon.tsx index 0249a88..a4c8267 100644 --- a/src/components/uikit/icons/locationIcon.tsx +++ b/src/components/uikit/icons/locationIcon.tsx @@ -1,33 +1,33 @@ export const LocationIcon = (props: React.SVGProps) => ( - + diff --git a/src/locales/en.ts b/src/locales/en.ts index 4e71440..8e7b637 100644 --- a/src/locales/en.ts +++ b/src/locales/en.ts @@ -3,6 +3,9 @@ const en = { pages_home_description: 'Welcome to the home page', pages_about_title: 'About Us', pages_about_description: 'Learn more about us on this page', + pages_notFound_title: '404 Not Found Page', + pages_notFound_description: 'You can either head back to the Homepage or try a search.', + pages_notFound_button:"Go To Home", pages_contact_title: 'Contact Us', pages_product_categories_title: 'Products', pages_products_title: 'Products', @@ -32,6 +35,20 @@ const en = { com_home_products_description: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. ', +com_contact_touch_title: 'Get in touch', +com_contact_touch_title_bold: 'with us', +com_contact_touch_description: 'Reach out for any inquiries, support, or to discuss how we can meet your industrial needs.', +com_contact_touch_option_1:'Contact', +com_contact_touch_option_2:'E-mail', +com_contact_touch_option_3:'Our Address', +com_contact_touch_option_3_description:'37 San Juan Lane Graaf Florisstraat 22A,3021 CH', +com_contact_title: 'Contact ', +com_contact_title_bold: 'me', +com_contact_first_name: 'Enter first name', +com_contact_last_name: 'Enter last name', +com_contact_email: 'Enter your e-mail', +com_contact_phone: 'Enter your phone no.', +com_contact_textarea: 'Write Message', footer_title: 'Industrial Solutions for a Modern World', footer_description: 'We are committed to providing personalized industrial solutions that meet the unique needs of our clients. Our team of experts is dedicated to delivering high-quality products and services that drive success in today’s competitive market.', diff --git a/src/locales/fa.ts b/src/locales/fa.ts index 8f3ac9b..159db20 100644 --- a/src/locales/fa.ts +++ b/src/locales/fa.ts @@ -5,6 +5,9 @@ const fa = { pages_home_description: 'Welcome to the home page', pages_about_title: 'About Us', pages_about_description: 'Learn more about us on this page', + pages_notFound_title: '404 Not Found Page', + pages_notFound_description: 'You can either head back to the Homepage or try a search.', + pages_notFound_button:"Go To Home", pages_contact_title: 'Contact Us', pages_product_categories_title: 'Product', pages_blog_title: 'Blog', @@ -18,6 +21,20 @@ const fa = { com_home_Banner_link1: ' Advanced Manufacturing Solutions', com_home_Banner_link2: 'Quality Assurance Systems', com_home_Banner_link3: 'State-of-the-Art Technology', + com_contact_touch_title: 'Get in touch', +com_contact_touch_title_bold: 'with us', +com_contact_touch_description: 'Reach out for any inquiries, support, or to discuss how we can meet your industrial needs.', +com_contact_touch_option_1:'Contact', +com_contact_touch_option_2:'E-mail', +com_contact_touch_option_3:'Our Address', +com_contact_touch_option_3_description:'37 San Juan Lane Graaf Florisstraat 22A,3021 CH', +com_contact_title: 'Contact ', +com_contact_title_bold: 'me', +com_contact_first_name: 'Enter first name', +com_contact_last_name: 'Enter last name', +com_contact_email: 'Enter your e-mail', +com_contact_phone: 'Enter your phone no.', +com_contact_textarea: 'Write Message', } as Translates; export default fa;