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='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'>
|
||||
<h2 className='xl:text-3xl text-sm font-bold'>
|
||||
<h2 className='xl:text-3xl text-lg font-bold'>
|
||||
همکاری با داناک
|
||||
</h2>
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ const DanakSuggestedService: FC = () => {
|
||||
|
||||
return (
|
||||
<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>
|
||||
|
||||
|
||||
@@ -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='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'>
|
||||
<h2 className='xl:text-3xl text-sm font-bold'>
|
||||
<h2 className='xl:text-3xl text-lg font-bold'>
|
||||
چرا داناک؟
|
||||
</h2>
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ const DanakSuggestedService: FC = () => {
|
||||
|
||||
return (
|
||||
<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>
|
||||
|
||||
|
||||
+1
-1
@@ -2,4 +2,4 @@ export const BASE_URL = "https://api.danakcorp.com";
|
||||
export const REFRESH_TOKEN_NAME = "dsc_refresh_token";
|
||||
export const TOKEN_NAME = "dsc_token";
|
||||
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>
|
||||
|
||||
<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>
|
||||
<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'>
|
||||
<ul className='flex gap-4 xl:text-sm text-[10px]'>
|
||||
<Link href={'/about'}>
|
||||
|
||||
@@ -80,7 +80,7 @@ const Header: FC = () => {
|
||||
{typeof window !== 'undefined' && (
|
||||
(() => {
|
||||
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 (
|
||||
<a href={profileLink} target='_blank' className='border-l-2 whitespace-nowrap border-[#D8DCE4] pl-4 flex gap-2'>
|
||||
<Profile
|
||||
@@ -128,7 +128,7 @@ const Header: FC = () => {
|
||||
{typeof window !== 'undefined' && (
|
||||
(() => {
|
||||
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 (
|
||||
<a href={profileLink} target='_blank'>
|
||||
<Profile
|
||||
|
||||
Reference in New Issue
Block a user