Skip to content

Commit d7233d3

Browse files
committed
Remove glow shadow, update hero text
1 parent 4164198 commit d7233d3

File tree

5 files changed

+24
-24
lines changed

5 files changed

+24
-24
lines changed

src/components/homepage/CTA.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ import React from "react";
33
export default function CTA() {
44
return (
55
<div className="p-12 md:p-24 text-center dark:bg-black/40 bg-[#A6EBCA]/20 backdrop-blur">
6-
<h2 className="font-manrope dark:text-white tracking-tight font-semibold text-[3rem]">
6+
<h2 className="font-manrope dark:text-white tracking-tight font-semibold text-[3rem] mb-10">
77
Get started now!
88
</h2>
9-
<a href="https://useast.cm.elasticpath.com/free-trial" className="dark:!bg-[#1FEC90] !bg-black dark:shadow-[0px_0px_28px_0px_#1FEC90] text-lg py-1.5 px-6 dark:text-black text-white border-0 font-semibold bg-transparent !rounded-full transition-all duration-500 hover:!bg-[#61DEA6] hover:dark:!bg-transparent hover:dark:!text-white hover:dark:ring-2 hover:dark:ring-[#1FEC90] hover:!text-black hover:!no-underline">
9+
<a href="https://useast.cm.elasticpath.com/free-trial" className="dark:!bg-[#1FEC90] !bg-black text-lg py-4 px-6 dark:text-black text-white border-0 font-semibold bg-transparent !rounded-full transition-all duration-500 hover:!bg-[#61DEA6] hover:dark:!bg-transparent hover:dark:!text-white hover:dark:ring-2 hover:dark:ring-[#1FEC90] hover:!text-black hover:!no-underline">
1010
Start Free Trial
1111
</a>
1212
</div>

src/components/homepage/CommerceApps/CommerceApps.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const Trigger = ({ name }: { name: string }) => {
1414
return (
1515
<TabsTrigger
1616
value={name}
17-
className="data-[state='active']:dark:bg-[#1FEC90] data-[state='active']:bg-[#61DEA6] data-[state='active']:shadow-lg dark:data-[state='active']:shadow-[0px_0px_28px_0px_#1FEC90] data-[state='active']:text-black border-0 bg-transparent !rounded-full transition-all duration-500 text-xl py-1 px-6"
17+
className="data-[state='active']:dark:bg-[#1FEC90] data-[state='active']:bg-[#61DEA6] data-[state='active']:text-black border-0 bg-transparent !rounded-full transition-all duration-500 text-xl py-1 px-6"
1818
>
1919
{name}
2020
</TabsTrigger>
@@ -62,6 +62,7 @@ function Tab({
6262
<div className="flex text-black gap-8 mt-8">
6363
<a
6464
href={linkItems[0]}
65+
target="_blank"
6566
className="bg-transparent tracking-tight rounded-full ring-2 ring-gray-300 py-3 px-8 hover:ring-green-500 transition-all text-black border-0 text-base font-semibold hover:no-underline"
6667
>
6768
Watch Demo
@@ -121,7 +122,7 @@ export default function CommerceApps() {
121122
/>
122123

123124
<div className="flex flex-col items-center justify-between dark:text-white">
124-
<h2 className="mb-14 text-4xl md:text-[4rem] font-semibold tracking-tight dark:drop-shadow-md">
125+
<h2 className="mb-14 text-4xl md:text-[4rem] font-semibold tracking-tight">
125126
Elastic Path Composable Commerce
126127
</h2>
127128
<Tabs defaultValue="Merchandise">
@@ -150,8 +151,7 @@ export default function CommerceApps() {
150151
"Improve Customer Experience",
151152
]}
152153
linkItems={[
153-
"https://www.elasticpath.com/demo-library",
154-
"/docs/api/pxm/products/products",
154+
"https://www.elasticpath.com/demo-library?feedStatic33365=filter191470-%3Emerchandisers.89457",
155155
]}
156156
/>
157157

src/components/homepage/CommerceApps/CommerceAppsMobile.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function Tab({
3737
<BrowserOnly>
3838
{() => (
3939
<div className="relative w-full">
40-
<div className="dark:bg-white/20 bg-white mx-auto p-6 my-2 rounded-lg shadow-lg hover:shadow-xl dark:ring-0 ring-1 ring-gray-200">
40+
<div className="dark:bg-white/20 bg-white mx-auto p-6 my-2 rounded-lg dark:ring-0 ring-1 ring-gray-200">
4141
<div
4242
className="dark:text-white text-black flex items-center text-left"
4343
onClick={toggleOpen}
@@ -85,6 +85,7 @@ function Tab({
8585
<div className="flex gap-4 mt-8 justify-center">
8686
<a
8787
href={linkItems[0]}
88+
target="_blank"
8889
className="bg-transparent tracking-tight rounded-full ring-2 ring-gray-300 py-1.5 px-4 hover:ring-green-500 transition-all dark:text-white/90 text-black border-0 text-sm font-semibold hover:no-underline"
8990
>
9091
Watch a demo
@@ -109,7 +110,7 @@ export default function CommerceAppsMobile() {
109110
return (
110111
<section className="px-6 py-6 mx-auto w-full text-center leading-tight tracking-tight">
111112
<div className="flex flex-col items-center justify-between dark:text-white">
112-
<h2 className="mb-8 text-5xl md:text-[4rem] font-semibold tracking-tight dark:drop-shadow-md">
113+
<h2 className="mb-8 text-5xl md:text-[4rem] font-semibold tracking-tight">
113114
Elastic Path Composable Commerce
114115
</h2>
115116
<div className="flex flex-col my-6 w-full">

src/components/homepage/HeroSection.tsx

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,38 +13,39 @@ export default function HeroSection() {
1313
<div className="px-3 py-1 text-sm ring-1 ring-gray-300 dark:ring-white/50 rounded-3xl shadow-sm dark:shadow-[0px_0px_28px_0px_#0b3168]">
1414
<span className="mr-2">💡</span>
1515
<span className="text-black dark:text-white font-semibold mr-4 hidden md:inline">
16-
Note from our CTO:
16+
Start your free trial!
1717
</span>{" "}
1818
<a
1919
className="text-gray-600 hover:text-gray-600 dark:text-white dark:hover:text-white dark:hover:decoration-green-400 hover:decoration-green-600 hover:decoration-2 hover:decoration-dotted font-medium transition-all"
20-
href="https://www.elasticpath.com/blog/modern-commerce-ipaas-dbaas"
20+
href="https://useast.cm.elasticpath.com/free-trial"
21+
target="_blank"
2122
>
22-
Why an iPaaS brings world-class commerce to life
23+
Enjoy full access to the Elastic Path product family
2324
</a>
2425
</div>
2526
<h1 className="mb-4 text-center text-[4.5rem] md:text-[5rem] font-bold dark:drop-shadow-lg dark:text-white bg-clip-text text-transparent bg-gradient-to-r from-[#394464] -from-3% via-[#1F8552] via-32% to-[#2BCC7E] to-64%">
2627
Build modern commerce experiences
2728
</h1>
2829
<p className="text-base text-center md:text-[1.75rem] leading-10 font-light max-w-5xl">
29-
Launch faster, solve complex problems, and build world-class
30-
experiences with our {" "}
30+
Launch faster, tackle complex challenges, and create world-class
31+
experiences with our powerful {" "}
3132
<a
32-
href="#CommerceServices"
33-
className="dark:text-white text-black font-bold decoration-2 underline decoration-green-500"
33+
href="#APIs"
34+
className="dark:text-white text-black font-bold decoration-4 underline underline-offset-8 decoration-green-500"
3435
>
35-
e-Commerce Services
36+
APIs{" "}
3637
</a>
37-
,{" "}
38+
, {" "}
3839
<a
39-
href="#APIs"
40-
className="dark:text-white text-black font-bold decoration-2 underline decoration-green-500"
40+
href="#CommerceServices"
41+
className="dark:text-white text-black font-bold decoration-4 underline underline-offset-8 decoration-green-500"
4142
>
42-
APIs{" "}
43+
e-Commerce Services
4344
</a>
4445
, &{" "}
4546
<a
4647
href="#Tools"
47-
className="dark:text-white text-black font-bold decoration-2 underline decoration-green-500"
48+
className="dark:text-white text-black font-bold decoration-4 underline underline-offset-8 decoration-green-500"
4849
>
4950
tools for developers
5051
</a>

src/css/custom.css

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ html[data-theme="dark"]
523523
}
524524

525525
.sections-menu-trigger:hover {
526-
box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
526+
527527
}
528528

529529
.sections-menu-trigger,
@@ -591,8 +591,6 @@ html[data-theme="dark"]
591591
background-color: var(--docs-color-background-100);
592592
border-radius: 6px;
593593
padding: 6px 0;
594-
595-
box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
596594
}
597595

598596
.sections-menu-trigger.compact {

0 commit comments

Comments
 (0)