Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
sujata
/
advithconsulting.io-frontend
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Registry
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit e4dc9099
authored
2025-10-03 19:02:42 +0530
by
sujata
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
map location update
1 parent
e93b1d9c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
13 deletions
components/reuseables/Heading.js
container/Contact/GoogleMap.js
pages/api/sendEmailHome.js
styles/styles.css
components/reuseables/Heading.js
View file @
e4dc909
...
@@ -21,7 +21,7 @@ const Heading = ({
...
@@ -21,7 +21,7 @@ const Heading = ({
opacity
:
1
,
opacity
:
1
,
y
:
0
,
y
:
0
,
transition
:
{
transition
:
{
delay
:
i
*
0.0
5
,
delay
:
i
*
0.0
7
,
},
},
}),
}),
};
};
...
...
container/Contact/GoogleMap.js
View file @
e4dc909
// import React from "react";
// const GoogleMap = () => {
// return (
// <div className="maps my-map-container">
// {" "}
// <div className="iframe-wrapper">
// {" "}
// <iframe
// src="https://www.google.com/maps/d/u/0/embed?mid=1-Y3WcCdJ8YQ9m2K72Fi9VvyxN_Kccc8&ehbc=2E312F&noprof=1"
// width="100%"
// height="480"
// style={{ border: 0 }}
// allowFullScreen
// loading="lazy"
// referrerPolicy="no-referrer-when-downgrade"
// ></iframe>{" "}
// {/* overlay to hide header */}{" "}
// <div className="iframe-header-mask"></div>{" "}
// </div>{" "}
// </div>
// );
// };
// export default GoogleMap;
import
React
from
"react"
;
import
React
from
"react"
;
const
GoogleMap
=
()
=>
{
const
GoogleMap
=
()
=>
{
...
@@ -6,18 +31,14 @@ const GoogleMap = () => {
...
@@ -6,18 +31,14 @@ const GoogleMap = () => {
<
div
className
=
"iframe-wrapper"
>
<
div
className
=
"iframe-wrapper"
>
<
iframe
<
iframe
src
=
"https://www.google.com/maps/d/u/0/embed?mid=1-Y3WcCdJ8YQ9m2K72Fi9VvyxN_Kccc8&ehbc=2E312F&noprof=1"
src
=
"https://www.google.com/maps/d/u/0/embed?mid=1-Y3WcCdJ8YQ9m2K72Fi9VvyxN_Kccc8&ehbc=2E312F&noprof=1"
width
=
"100%"
height
=
"480"
style
=
{{
border
:
0
}}
allowFullScreen
allowFullScreen
loading
=
"lazy"
loading
=
"lazy"
referrerPolicy
=
"no-referrer-when-downgrade"
referrerPolicy
=
"no-referrer-when-downgrade"
><
/iframe
>
><
/iframe
>
{
/* overlay to hide header */
}
<
div
className
=
"iframe-header-mask"
><
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
);
);
};
};
export
default
GoogleMap
;
export
default
GoogleMap
;
pages/api/sendEmailHome.js
View file @
e4dc909
...
@@ -2,19 +2,19 @@ import nodemailer from "nodemailer";
...
@@ -2,19 +2,19 @@ import nodemailer from "nodemailer";
export
default
function
(
req
,
res
)
{
export
default
function
(
req
,
res
)
{
const
transporter
=
nodemailer
.
createTransport
({
const
transporter
=
nodemailer
.
createTransport
({
host
:
"smtp
-mail.outlook
.com"
,
host
:
"smtp
.office365
.com"
,
port
:
587
,
port
:
587
,
secure
:
false
,
secure
:
false
,
auth
:
{
auth
:
{
user
:
"
info@advithconsulting
.in"
,
user
:
"
support@advithitec
.in"
,
pass
:
"
!nf0@2019
"
,
pass
:
"
supp@123
"
,
},
},
});
});
var
maillist
=
[
"
info@advithconsulting.in
"
];
var
maillist
=
[
"
sujatalogicloop@gmail.com
"
];
const
mailData
=
{
const
mailData
=
{
from
:
"
info@advithconsulting
.in"
,
from
:
"
support@advithitec
.in"
,
to
:
maillist
,
to
:
maillist
,
subject
:
`Advith Consulting Service Form Leads`
,
subject
:
`Advith Consulting Service Form Leads`
,
html
:
`
html
:
`
...
...
styles/styles.css
View file @
e4dc909
...
@@ -10032,7 +10032,7 @@ ul.pagination.custom-pagination {
...
@@ -10032,7 +10032,7 @@ ul.pagination.custom-pagination {
}
}
.iframe-wrapper
{
.iframe-wrapper
{
position
:
relative
;
position
:
relative
;
height
:
6
5
0px
;
height
:
6
8
0px
;
}
}
.iframe-header-mask
{
.iframe-header-mask
{
...
@@ -10040,8 +10040,9 @@ ul.pagination.custom-pagination {
...
@@ -10040,8 +10040,9 @@ ul.pagination.custom-pagination {
top
:
0
;
top
:
0
;
left
:
0
;
left
:
0
;
width
:
100%
;
width
:
100%
;
height
:
6
0px
;
height
:
1
0px
;
background-color
:
white
;
background-color
:
white
;
z-index
:
10
;
z-index
:
10
;
pointer-events
:
none
;
pointer-events
:
none
;
}
}
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment