diff --git a/app/Services/ContactData.js b/app/Services/ContactData.js index 084fe95..e932bb3 100644 --- a/app/Services/ContactData.js +++ b/app/Services/ContactData.js @@ -5,7 +5,7 @@ async function ContactData(reqData) { for (let value in reqData) { formData.append(value, reqData[value]); } - let response = await axios.post(`${process.env.REACT_APP_AUX_ENDPOINT}/sitecontact`, reqData); + let response = await axios.post(`${process.env.NEXT_PUBLIC_AUX_ENDPOINT}/sitecontact`, reqData); return response; } diff --git a/app/Services/FaqData.js b/app/Services/FaqData.js index 42cb2c6..cc0e1dd 100644 --- a/app/Services/FaqData.js +++ b/app/Services/FaqData.js @@ -1,10 +1,7 @@ import Axios from 'axios'; -import getConfig from './../Config/config' async function FaqData() { - // debugger; - var site = getConfig()[0]; - let response = await Axios.post(`${process.env.REACT_APP_AUX_ENDPOINT}/faq`); + let response = await Axios.post(`${process.env.NEXT_PUBLIC_AUX_ENDPOINT}/faq`); return await response; } diff --git a/app/Services/JobsData.js b/app/Services/JobsData.js index 84f46bb..04f1bff 100644 --- a/app/Services/JobsData.js +++ b/app/Services/JobsData.js @@ -1,8 +1,7 @@ import Axios from 'axios'; -import getConfig from './../Config/config' async function JobsData() { - var site = getConfig()[0]; + var callData = [{ "limit": 10, "page": 1 @@ -16,7 +15,7 @@ async function JobsData() { }); } */ - let response = await Axios.post(process.env.REACT_APP_AUX_ENDPOINT+'/startjoblist', callData); + let response = await Axios.post(process.env.NEXT_PUBLIC_AUX_ENDPOINT+'/startjoblist', callData); return await response; } diff --git a/app/assets/css/main.css b/app/assets/css/main.css index 134041d..4940229 100644 --- a/app/assets/css/main.css +++ b/app/assets/css/main.css @@ -6117,7 +6117,7 @@ blockquote cite { padding-top: 250px; width: 100%; min-height: 100vh; - background: url("../images//wrench-page-notfound.jpg") center/cover; + background: url(/assets//images/wrench-page-notfound.jpg) center/cover; position: relative; /* z-index: 1; */ } diff --git a/app/components/Error/Svg.js b/app/components/Error/Svg.js new file mode 100644 index 0000000..513fba7 --- /dev/null +++ b/app/components/Error/Svg.js @@ -0,0 +1,20 @@ +import React from 'react'; + +function Svg() { + return ( + <> + + > + ); +} + +export default Svg; diff --git a/app/components/Error/index.js b/app/components/Error/index.js new file mode 100644 index 0000000..4510614 --- /dev/null +++ b/app/components/Error/index.js @@ -0,0 +1,42 @@ +"use client" +import React from 'react'; +import Link from 'next/link'; +// import { useHistory } from 'react-router-dom'; +import Svg from './Svg'; + +function Error() { + // const history = useHistory(); + const goBack = (e) => { + e.preventDefault(); + // history.goBack(); + }; + return ( + <> +
+ The page you're looking for isn't available. Use the go back + button below +
+ {/* goBack(e)} href="#"> + Go Back + */} + + Go Back + +Can't find an answer contact us
++ {datas.title} +
++ {datas.msg} +
++ (updated August 10, 2023) +
++ These Website Terms & Conditions (“T&Cs”) apply to your access and + use of www.wrenchboard.com,users.wrenchboard.com (the “Site”), + native apps, including all software, data, reports, text, images, + sounds, video, and all contents made available through any portion + of the Site (collectively, the “Content”). The range includes all + such elements as whole, individual, and parts. +
++ WRENCHBOARD permits you (“User” or “you” or “your”) to access and + use the Site and Content, subject to these T&Cs. By accessing or + using any portion of the Site, you acknowledge that you have read, + understood, and agree to be bound by these T&Cs. If you do not agree + with these T&Cs, you must not accept these T&Cs or access or use the + site or content. +
++ Subject to your compliance with these T&Cs and the provisions + hereof, you may access or use the Site and Content solely to + evaluate WRENCHBOARD and WRENCHBOARD’s products and services. + You may only link to the Site or Content, or any portion + thereof, as expressly permitted by WRENCHBOARD. +
++ All rights, title, and interest in and to the Site and Content + will remain exclusive to WRENCHBOARD. You will not: +
++ You are not permitted to copy, modify, frame, repost, publicly + perform or display, sell, reproduce, distribute, or create + derivative works of the Site and Content, except that you may + download and print one copy of the publicly available materials + (i.e., the Content that does not require an Account name or + password to access) on any single computer solely for your + personal, non-commercial use, provided that you do not modify + the material in any way. You keep intact all copyright, + trademark, and other proprietary notices. +
++ You agree not to access the Site or Content by any means other + than through the interface that WRENCHBOARD provides to access + the same. You may not use any “page-scrape,” “deep-link,” + “spider,” or “robot or other automatic program, device, + algorithm or methodology, or any similar manual process, to + access, copy, acquire, or monitor any portion of the Site or any + Content, or in any way reproduce or circumvent the presentation + or navigational structure of the Site or any Content, to obtain + or attempt to obtain any Content or other information through + any means not made generally available through the Site by + WRENCHBOARD. +
++ WRENCHBOARD reserves the right to take lawful measures to + prevent such activity. You may not forge headers or otherwise + manipulate identifiers to disguise the origin of any message or + transmittal you send to WRENCHBOARD on or through the Site or + any service offered on or through the Site. You may not pretend + that you are, or that you represent, someone else or impersonate + any other individual or entity. +
+
+ You are solely responsible for all data, information, and other
+ Content, that you upload, post, or otherwise provide or store
+ (hereafter “post(ing)”) in connection with or relating to the
+ Site. By posting your information and other Content (“User
+ Content”) on or through the Site and Content, you grant
+ WRENCHBOARD a worldwide, non-exclusive, perpetual, irrevocable,
+ royalty-free, sublicensable, and transferable license to use,
+ modify, reproduce, distribute, display, publish and perform User
+ Content in connection with the Site and Content. WRENCHBOARD has
+ the right, but not the obligation, to monitor the Site and
+ Content and User Content.
+ WRENCHBOARD may remove or turn off any User Content at any time
+ for any reason or no reason. WRENCHBOARD will have no liability
+ to you for any unauthorized access or use of any of User Content
+ or any corruption, deletion, destruction, or loss of any of User
+ Content.
+
+ You may submit ideas, suggestions, or comments (“Feedback”) + regarding the Site and Content or WRENCHBOARD’s business, + products, or services. By submitting any Feedback, you + acknowledge and agree that:{" "} +
++ WRENCHBOARD may, in its sole discretion and without prior notice, + terminate your access to the Site and block your future access to + the Site if we determine that you have violated these T&Cs or other + agreements or guidelines which may be associated with your use of + the Site. Further, WRENCHBOARD may, in its sole discretion and + without prior notice, terminate your access to the Site for cause, + which includes (but is not limited to): +
++ WRENCHBOARD reserves the right, at its sole discretion, to change or + modify portions of these T&Cs at any time. WRENCHBOARD will post the + changes to these T&Cs on the Site and indicate at the top of this + page the date these terms were last revised. It is your + responsibility to check the T&Cs periodically for changes. Your + continued use of the Site and Content after the date any such + changes become effective constitutes your acceptance of the new or + revised T&Cs. +
++ THE SITE AND CONTENT, AND ALL SERVER AND NETWORK COMPONENTS, ARE + PROVIDED ON AN “AS IS” AND “AS AVAILABLE” BASIS WITH ALL ERRORS AND + DEFECTS AND WITHOUT ANY WARRANTIES OF ANY KIND, AND WRENCHBOARD + EXPRESSLY DISCLAIMS ALL REPRESENTATIONS AND WARRANTIES, INCLUDING + ANY IMPLIED WARRANTIES OF ACCURACY, COMPLETENESS, MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, AND ANY + REPRESENTATIONS OR WARRANTIES ARISING FROM COURSE OF DEALING, COURSE + OF PERFORMANCE OR USAGE OF TRADE. YOU ACKNOWLEDGE THAT WRENCHBOARD + DOES NOT WARRANT THAT YOUR ACCESS OR USE OR BOTH OF THE SITE AND + CONTENT WILL BE UNINTERRUPTED, TIMELY, SECURE, ERROR-FREE, OR + VIRUS-FREE, AND WRENCHBOARD DOES NOT MAKE ANY WARRANTY AS TO THE + RESULTS THAT MAY BE OBTAINED FROM THE USE OF THE SITE AND CONTENT. + NO INFORMATION, ADVICE, OR SERVICES OBTAINED BY YOU FROM WRENCHBOARD + OR THROUGH THE SITE WILL CREATE ANY WARRANTY NOT EXPRESSLY STATED IN + THESE TERMS and CONDITIONS, AND YOU SHOULD NOT RELY ON THE SITE AND + THE GENERAL CONTENT ALONE AS THE BASIS FOR YOUR BUSINESS DECISIONS. +
++ WRENCHBOARD reserves the right to do any of the following, at any + time, without notice: ( 1 ); to modify, suspend or terminate operation + of or access to the Site, or any portion of the Site, for any + reason; ( 2 ) to modify or change the Site, or any portion of the + Site, for any reason; and ( 3 ) to interrupt the operation of the + Site, or any portion of the Site, as necessary to perform routine or + non-routine maintenance, error correction, or other changes. Changes + to the Policy +
+ ++ We reserve the right to update and change this Privacy policy at any + time. Changes will become effective once posted. However, we will + notify you by email or when you log on to the service or website + about any changes that fundamentally affect how we manage your + personal information. Contacting Us: You may contact us about this + policy through our email address anytime: support@wrenchboard.com +
+