turn14 to motorstate replaced
This commit is contained in:
parent
aba50b0fae
commit
4beb2e1a7b
@ -79,7 +79,7 @@ export default function EbayAuthPage() {
|
|||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
(async () => {
|
(async () => {
|
||||||
try {
|
try {
|
||||||
await getAccessToken_client().catch(() => null);
|
// await getAccessToken_client().catch(() => null);
|
||||||
const userid = sessionStorage.getItem('USERID') || undefined;
|
const userid = sessionStorage.getItem('USERID') || undefined;
|
||||||
if (!userid) {
|
if (!userid) {
|
||||||
setStatus('disconnected');
|
setStatus('disconnected');
|
||||||
@ -88,7 +88,7 @@ export default function EbayAuthPage() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const res = await fetch(
|
const res = await fetch(
|
||||||
'https://ebay.backend.data4autos.com/api/auth/ebay/store/checkstorestatus',
|
'https://ebay.backend.data4autos.com/api/motorstate/auth/ebay/store/checkstorestatus',
|
||||||
{
|
{
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: { 'Content-Type': 'application/json' },
|
headers: { 'Content-Type': 'application/json' },
|
||||||
|
|||||||
@ -372,8 +372,8 @@ const ManageBrandProducts: React.FC<ManageBrandProductsProps> = () => {
|
|||||||
if (Turn14Enabled === false) {
|
if (Turn14Enabled === false) {
|
||||||
return (
|
return (
|
||||||
<div className="p-6 text-center">
|
<div className="p-6 text-center">
|
||||||
<h1 className="text-xl font-semibold">Turn14 isn't connected yet</h1>
|
<h1 className="text-xl font-semibold">MotorState isn't connected yet</h1>
|
||||||
<p className="text-gray-600">Please connect Turn14 to continue.</p>
|
<p className="text-gray-600">Please connect MotorState to continue.</p>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -437,7 +437,7 @@ const ManageBrandProducts: React.FC<ManageBrandProductsProps> = () => {
|
|||||||
<div className="flex flex-col md:flex-row md:items-center md:justify-between gap-4">
|
<div className="flex flex-col md:flex-row md:items-center md:justify-between gap-4">
|
||||||
<div className="flex flex-col">
|
<div className="flex flex-col">
|
||||||
<h1 className="text-2xl font-bold bg-[#00d1ff] to-purple-600 bg-clip-text text-[#00d1ff]">
|
<h1 className="text-2xl font-bold bg-[#00d1ff] to-purple-600 bg-clip-text text-[#00d1ff]">
|
||||||
Data4Autos Turn14 – Manage Brand Products
|
Data4Autos MotorState – Manage Brand Products
|
||||||
</h1>
|
</h1>
|
||||||
<p className="text-sm text-gray-500 mt-1">{getHeaderStatus()}</p>
|
<p className="text-sm text-gray-500 mt-1">{getHeaderStatus()}</p>
|
||||||
<p className="text-sm font-medium text-[#00d1ff] mt-1">
|
<p className="text-sm font-medium text-[#00d1ff] mt-1">
|
||||||
|
|||||||
@ -87,7 +87,7 @@ const Home = () => {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 3,
|
id: 3,
|
||||||
title: '⚙️ About Motor StateStateStateStateState Integration',
|
title: '⚙️ About Motor State Integration',
|
||||||
content: (
|
content: (
|
||||||
<p className="text-gray-700 leading-relaxed">
|
<p className="text-gray-700 leading-relaxed">
|
||||||
Sync your Motor StateState account to autgfhjklomatically import products, pricing, and stock updates.
|
Sync your Motor StateState account to autgfhjklomatically import products, pricing, and stock updates.
|
||||||
|
|||||||
@ -114,7 +114,7 @@ const Sidebar = () => {
|
|||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<li className="nav-item">
|
<li className="nav-item">
|
||||||
<Link href="/turn14-settings" className="group nav-link">
|
<Link href="/motorstate-settings" className="group nav-link">
|
||||||
<div className="flex items-center">
|
<div className="flex items-center">
|
||||||
<span className="shrink-0 text-lg group-hover:!text-primary">⚡</span>
|
<span className="shrink-0 text-lg group-hover:!text-primary">⚡</span>
|
||||||
<span className="text-black ltr:pl-3 rtl:pr-3 dark:text-[#506690] dark:group-hover:text-white-dark">{t('MotorState')}</span>
|
<span className="text-black ltr:pl-3 rtl:pr-3 dark:text-[#506690] dark:group-hover:text-white-dark">{t('MotorState')}</span>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user