more
This commit is contained in:
@@ -32,7 +32,6 @@
|
|||||||
function gtag() {
|
function gtag() {
|
||||||
dataLayer.push(arguments);
|
dataLayer.push(arguments);
|
||||||
}
|
}
|
||||||
|
|
||||||
gtag("js", new Date());
|
gtag("js", new Date());
|
||||||
gtag("config", "G-J6SQL5DF6V");
|
gtag("config", "G-J6SQL5DF6V");
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -23,23 +23,38 @@ const HomePage = () => {
|
|||||||
: process.env.REACT_APP_API_PROD;
|
: process.env.REACT_APP_API_PROD;
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
window.gtag("event", "screen_view", {
|
if (typeof window.gtag !== "undefined") {
|
||||||
app_name: "novodraft",
|
window.gtag("event", "screen_view", {
|
||||||
screen_name: "Home",
|
app_name: "novodraft",
|
||||||
});
|
screen_name: "Home",
|
||||||
|
});
|
||||||
|
}
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
function clickedTryItButton() {
|
function clickedTryItButton() {
|
||||||
window.gtag("event", "try_it_click", {
|
if (typeof window.gtag !== "undefined") {
|
||||||
app_name: "novodraft",
|
window.gtag("event", "try_it_click", {
|
||||||
screen_name: "Home",
|
app_name: "novodraft",
|
||||||
});
|
screen_name: "Home",
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function promoSignup() {
|
function promoSignup() {
|
||||||
window.gtag("event", "promo_sign_up", {
|
if (typeof window.gtag !== "undefined") {
|
||||||
send_to: "G-J6SQL5DF6V",
|
window.gtag("event", "promo_sign_up", {
|
||||||
});
|
send_to: "G-J6SQL5DF6V",
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function clickedExploreLink() {
|
||||||
|
if (typeof window.gtag !== "undefined") {
|
||||||
|
window.gtag("event", "explore_click", {
|
||||||
|
app_name: "novodraft",
|
||||||
|
screen_name: "Home",
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async function saveUserData(
|
async function saveUserData(
|
||||||
@@ -340,11 +355,14 @@ const HomePage = () => {
|
|||||||
pleadings and briefs. Use it to augment your drafting as much or
|
pleadings and briefs. Use it to augment your drafting as much or
|
||||||
as little as you prefer.
|
as little as you prefer.
|
||||||
</p>
|
</p>
|
||||||
<div className="home-link-box">
|
<div
|
||||||
<a className="link">
|
className="home-link-box"
|
||||||
|
onClick={() => clickedExploreLink()}
|
||||||
|
>
|
||||||
|
<div className="explore-link">
|
||||||
Explore Novodraft
|
Explore Novodraft
|
||||||
<img src={arrow} className="img-1" alt="" />
|
<img src={arrow} className="img-1" alt="" />
|
||||||
</a>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -109,6 +109,12 @@ section.section-1 {
|
|||||||
margin-right: 15px;
|
margin-right: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.explore-link {
|
||||||
|
color: blue;
|
||||||
|
cursor: pointer;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
.card-link-box {
|
.card-link-box {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@@ -253,6 +259,7 @@ a.link:hover {
|
|||||||
|
|
||||||
img.img-1 {
|
img.img-1 {
|
||||||
padding-left: 13px;
|
padding-left: 13px;
|
||||||
|
color: blue;
|
||||||
}
|
}
|
||||||
|
|
||||||
.section-3 {
|
.section-3 {
|
||||||
|
|||||||
Reference in New Issue
Block a user