summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorHATEC\SPVDEV001 <tri.susilo@altama.co.id>2023-08-31 16:47:34 +0700
committerHATEC\SPVDEV001 <tri.susilo@altama.co.id>2023-08-31 16:47:34 +0700
commit96e59b7af6895f82ac005d60b65084bd5ec2d01f (patch)
tree33cfa2e934392d6b9510cb197414025782bfc30f /src/core
parent4cfc5bf25ba20b2a1a8ca140c785557d6c00cef6 (diff)
change ui open newtab, g maps, top banner, profil
Diffstat (limited to 'src/core')
-rw-r--r--src/core/components/elements/Footer/BasicFooter.jsx12
-rw-r--r--src/core/components/elements/Navbar/NavbarDesktop.jsx9
2 files changed, 14 insertions, 7 deletions
diff --git a/src/core/components/elements/Footer/BasicFooter.jsx b/src/core/components/elements/Footer/BasicFooter.jsx
index 9f68c2f7..23bca677 100644
--- a/src/core/components/elements/Footer/BasicFooter.jsx
+++ b/src/core/components/elements/Footer/BasicFooter.jsx
@@ -83,7 +83,8 @@ const OfficeLocation = () => (
<div>
<div className={headerClassName}>Kantor Pusat</div>
<div className='leading-6 text-gray_r-12/80'>
- Jl. Bandengan Utara 85A No. 8-9 RT.3/RW.16, Penjaringan, Kec. Penjaringan, Jakarta Utara
+ <a href='https://goo.gl/maps/3DCJxtki8jUV32pR7' target='_blank' rel='noreferrer' className='text-gray_r-12/80'>
+ Jl. Bandengan Utara 85A No. 8-9 RT.3/RW.16, Penjaringan, Kec. Penjaringan, Jakarta Utara</a>
</div>
</div>
)
@@ -186,11 +187,11 @@ const InformationCenter = () => (
<ul className='flex flex-col gap-y-3'>
<li className='text-gray_r-12/80 flex items-center'>
<PhoneArrowUpRightIcon className='w-[18px] mr-2' />
- <a href='tel:02129338828'>(021) 2933-8828 / 29</a>
+ <a href='tel:02129338828' target='_blank' rel='noreferrer'>(021) 2933-8828 / 29</a>
</li>
<li className='text-gray_r-12/80 flex items-center'>
<EnvelopeIcon className='w-[18px] mr-2' />
- <a href='mailto:sales@indoteknik.com'>sales@indoteknik.com</a>
+ <a href='mailto:sales@indoteknik.com' target='_blank' rel='noreferrer'>sales@indoteknik.com</a>
</li>
<li className='text-gray_r-12/80 flex items-center'>
<DevicePhoneMobileIcon className='w-[18px] mr-2' />
@@ -239,6 +240,9 @@ const SocialMedias = () => (
<a target='_blank' rel='noreferrer' href='https://www.linkedin.com/company/pt-indoteknik-dotcom-gemilang/'>
<NextImage src='/images/socials/Linkedin.png' alt='Linkedin Logo' width={24} height={24} />
</a>
+ <a target='_blank' rel='noreferrer' href='https://goo.gl/maps/GF8EmDjpQTHZPsJ1A'>
+ <NextImage src='/images/socials/g_maps.png' alt='Linkedin Logo' width={24} height={24} />
+ </a>
</div>
</div>
)
@@ -275,7 +279,7 @@ const Payments = () => (
)
const InternalItemLink = ({ href, children }) => (
- <Link href={href} className='!text-gray_r-12/80 font-normal line-clamp-1'>
+ <Link href={href} className='!text-gray_r-12/80 font-normal line-clamp-1' target="_blank" rel="noopener noreferrer">
{children}
</Link>
)
diff --git a/src/core/components/elements/Navbar/NavbarDesktop.jsx b/src/core/components/elements/Navbar/NavbarDesktop.jsx
index acd2d1ee..81ec6d0e 100644
--- a/src/core/components/elements/Navbar/NavbarDesktop.jsx
+++ b/src/core/components/elements/Navbar/NavbarDesktop.jsx
@@ -97,13 +97,13 @@ const NavbarDesktop = () => {
<Search />
</div>
<div className='flex gap-x-4'>
- <Link href='/my/transactions' className='flex items-center gap-x-2 !text-gray_r-12/80'>
+ <Link href='/my/transactions' target='_blank' rel='noreferrer' className='flex items-center gap-x-2 !text-gray_r-12/80'>
<DocumentCheckIcon className='w-7' />
Daftar
<br />
Quotation
</Link>
- <Link href='/shop/cart' className='flex items-center gap-x-2 !text-gray_r-12/80'>
+ <Link href='/shop/cart' target='_blank' rel='noreferrer' className='flex items-center gap-x-2 !text-gray_r-12/80'>
<div className={`relative ${cartCount > 0 && 'mr-2'}`}>
<ShoppingCartIcon className='w-7' />
{cartCount > 0 && (
@@ -118,7 +118,7 @@ const NavbarDesktop = () => {
Belanja
</span>
</Link>
- <Link href='/my/wishlist' className='flex items-center gap-x-2 !text-gray_r-12/80'>
+ <Link target='_blank' rel='noreferrer' href='/my/wishlist' className='flex items-center gap-x-2 !text-gray_r-12/80'>
<HeartIcon className='w-7' />
Wishlist
</Link>
@@ -155,12 +155,14 @@ const NavbarDesktop = () => {
<Link
href='/shop/brands'
className='p-4 flex-1 flex justify-center items-center !text-gray_r-12/80 hover:bg-gray_r-3 idt-transition'
+ target='_blank' rel='noreferrer'
>
Semua Brand
</Link>
<Link
href='/shop/search?orderBy=stock'
className='p-4 flex-1 flex justify-center items-center !text-gray_r-12/80 hover:bg-gray_r-3 idt-transition'
+ target='_blank' rel='noreferrer'
>
Ready Stock
</Link>
@@ -175,6 +177,7 @@ const NavbarDesktop = () => {
<Link
href='/video'
className='p-4 flex-1 flex justify-center items-center !text-gray_r-12/80 hover:bg-gray_r-3 idt-transition'
+ target='_blank' rel='noreferrer'
>
Indoteknik TV
</Link>