enamad + ...
This commit is contained in:
@@ -9,7 +9,7 @@ const Collaboration: FC = () => {
|
|||||||
<div className='w-full xl:py-32 py-20 bg-gradient-to-r from-[#eef0f6] via-[#e2e5ec] to-[#dee1e9] xl:mt-40 mt-12 rounded-4xl'>
|
<div className='w-full xl:py-32 py-20 bg-gradient-to-r from-[#eef0f6] via-[#e2e5ec] to-[#dee1e9] xl:mt-40 mt-12 rounded-4xl'>
|
||||||
<div className='max-w-maxWidth px-6 xl:px-0 mx-auto flex xl:flex-row flex-col items-center xl:gap-20 gap-14'>
|
<div className='max-w-maxWidth px-6 xl:px-0 mx-auto flex xl:flex-row flex-col items-center xl:gap-20 gap-14'>
|
||||||
<div className='xl:max-w-[300px] text-center xl:text-right'>
|
<div className='xl:max-w-[300px] text-center xl:text-right'>
|
||||||
<h2 className='xl:text-3xl text-sm font-bold'>
|
<h2 className='xl:text-3xl text-lg font-bold'>
|
||||||
همکاری با داناک
|
همکاری با داناک
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ const DanakSuggestedService: FC = () => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className='max-w-maxWidth mx-auto xl:mt-20 mt-12'>
|
<div className='max-w-maxWidth mx-auto xl:mt-20 mt-12'>
|
||||||
<h2 className='xl:text-2xl text-sm font-bold text-center xl:text-right'>
|
<h2 className='xl:text-2xl text-lg font-bold text-center xl:text-right'>
|
||||||
سرویس های پیشنهادی داناک
|
سرویس های پیشنهادی داناک
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ const WhyDanak: FC = () => {
|
|||||||
<div className='w-full xl:py-32 py-20 bg-gradient-to-l from-[#eef0f6] via-[#e2e5ec] to-[#dee1e9] xl:mt-40 mt-12 rounded-4xl'>
|
<div className='w-full xl:py-32 py-20 bg-gradient-to-l from-[#eef0f6] via-[#e2e5ec] to-[#dee1e9] xl:mt-40 mt-12 rounded-4xl'>
|
||||||
<div className='max-w-maxWidth px-4 xl:px-0 mx-auto flex xl:flex-row flex-col items-center xl:gap-20 gap-14'>
|
<div className='max-w-maxWidth px-4 xl:px-0 mx-auto flex xl:flex-row flex-col items-center xl:gap-20 gap-14'>
|
||||||
<div className='xl:max-w-[300px] text-center xl:text-right'>
|
<div className='xl:max-w-[300px] text-center xl:text-right'>
|
||||||
<h2 className='xl:text-3xl text-sm font-bold'>
|
<h2 className='xl:text-3xl text-lg font-bold'>
|
||||||
چرا داناک؟
|
چرا داناک؟
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ const DanakSuggestedService: FC = () => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className='max-w-maxWidth mx-auto xl:mt-20 mt-12'>
|
<div className='max-w-maxWidth mx-auto xl:mt-20 mt-12'>
|
||||||
<h2 className='xl:text-2xl text-sm font-bold text-center xl:text-right'>
|
<h2 className='xl:text-2xl text-lg font-bold text-center xl:text-right'>
|
||||||
سرویس های پیشنهادی داناک
|
سرویس های پیشنهادی داناک
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -2,4 +2,4 @@ export const BASE_URL = "https://api.danakcorp.com";
|
|||||||
export const REFRESH_TOKEN_NAME = "dsc_refresh_token";
|
export const REFRESH_TOKEN_NAME = "dsc_refresh_token";
|
||||||
export const TOKEN_NAME = "dsc_token";
|
export const TOKEN_NAME = "dsc_token";
|
||||||
export const LOGIN_URL = "https://console.danakcorp.com/auth/login";
|
export const LOGIN_URL = "https://console.danakcorp.com/auth/login";
|
||||||
export const CONSOLE_URL = "https://console.danakcorp.com/dashboard";
|
export const CONSOLE_URL = "https://console.danakcorp.com";
|
||||||
|
|||||||
@@ -153,11 +153,12 @@ const Footer: FC = () => {
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<a referrerPolicy='origin' target='_blank' href='https://trustseal.enamad.ir/?id=587664&Code=5mx5bxt3mnywD3cXcgFawApYNfTjmYGX'>
|
|
||||||
<img referrerPolicy='origin' src='https://trustseal.enamad.ir/logo.aspx?id=587664&Code=5mx5bxt3mnywD3cXcgFawApYNfTjmYGX' alt='enamad trust seal' style={{ cursor: 'pointer', width: '60px' }} />
|
|
||||||
</a>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
<a className='flex justify-center pb-5' referrerPolicy='origin' target='_blank' href='https://trustseal.enamad.ir/?id=587664&Code=5mx5bxt3mnywD3cXcgFawApYNfTjmYGX'>
|
||||||
|
<img referrerPolicy='origin' src='https://trustseal.enamad.ir/logo.aspx?id=587664&Code=5mx5bxt3mnywD3cXcgFawApYNfTjmYGX' alt='enamad trust seal' style={{ cursor: 'pointer', width: '60px' }} />
|
||||||
|
</a>
|
||||||
<div className='xl:h-14 border-t border-[#DADDE6] flex xl:flex-row flex-col gap-5 pt-5 xl:pt-0 justify-between items-center'>
|
<div className='xl:h-14 border-t border-[#DADDE6] flex xl:flex-row flex-col gap-5 pt-5 xl:pt-0 justify-between items-center'>
|
||||||
<ul className='flex gap-4 xl:text-sm text-[10px]'>
|
<ul className='flex gap-4 xl:text-sm text-[10px]'>
|
||||||
<Link href={'/about'}>
|
<Link href={'/about'}>
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ const Header: FC = () => {
|
|||||||
{typeof window !== 'undefined' && (
|
{typeof window !== 'undefined' && (
|
||||||
(() => {
|
(() => {
|
||||||
const currentUrl = window.location.href
|
const currentUrl = window.location.href
|
||||||
const profileLink = isLogin ? `${CONSOLE_URL}` : `${LOGIN_URL}?redirect=${encodeURIComponent(currentUrl)}`
|
const profileLink = isLogin ? `${CONSOLE_URL}/dashboard` : `${LOGIN_URL}?redirect=${encodeURIComponent(currentUrl)}`
|
||||||
return (
|
return (
|
||||||
<a href={profileLink} target='_blank' className='border-l-2 whitespace-nowrap border-[#D8DCE4] pl-4 flex gap-2'>
|
<a href={profileLink} target='_blank' className='border-l-2 whitespace-nowrap border-[#D8DCE4] pl-4 flex gap-2'>
|
||||||
<Profile
|
<Profile
|
||||||
@@ -128,7 +128,7 @@ const Header: FC = () => {
|
|||||||
{typeof window !== 'undefined' && (
|
{typeof window !== 'undefined' && (
|
||||||
(() => {
|
(() => {
|
||||||
const currentUrl = window.location.href
|
const currentUrl = window.location.href
|
||||||
const profileLink = isLogin ? `${CONSOLE_URL}` : `${LOGIN_URL}?redirect=${encodeURIComponent(currentUrl)}`
|
const profileLink = isLogin ? `${CONSOLE_URL}/dashboard` : `${LOGIN_URL}?redirect=${encodeURIComponent(currentUrl)}`
|
||||||
return (
|
return (
|
||||||
<a href={profileLink} target='_blank'>
|
<a href={profileLink} target='_blank'>
|
||||||
<Profile
|
<Profile
|
||||||
|
|||||||
Reference in New Issue
Block a user