From 7fed443b74634021ae509e32a6d42cf11faf5ba7 Mon Sep 17 00:00:00 2001 From: Jamil Date: Mon, 12 Aug 2024 11:17:58 -0700 Subject: [PATCH] fix(website): Fix FeatureCards responsiveness (#6266) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Setting `max-w-` on the containing element instead of static `w-` on the items within is preferred. Fixes this issue: Screenshot 2024-08-12 at 9 35 34 AM --- website/src/app/page.tsx | 15 +- .../src/components/ElevatorPitch/index.tsx | 2 +- website/src/components/FeatureCards/index.tsx | 173 +++++++++--------- 3 files changed, 90 insertions(+), 100 deletions(-) diff --git a/website/src/app/page.tsx b/website/src/app/page.tsx index 23b0e7045..62da116c6 100644 --- a/website/src/app/page.tsx +++ b/website/src/app/page.tsx @@ -104,17 +104,16 @@ export default function Page() { - {/* TODO: ACLs for the rest of us */} - - {/* Feature section 1: Secure access to your most sensitive resources in minutes. */}
- -
+
+ +
+
-
-
+ +
-
+
{/* Feature section 2: Achieve compliance in minutes, not weeks. */} diff --git a/website/src/components/ElevatorPitch/index.tsx b/website/src/components/ElevatorPitch/index.tsx index 103d1df31..a2ffb6e7e 100644 --- a/website/src/components/ElevatorPitch/index.tsx +++ b/website/src/components/ElevatorPitch/index.tsx @@ -69,7 +69,7 @@ export default function ElevatorPitch() { }; return ( -
+
diff --git a/website/src/components/FeatureCards/index.tsx b/website/src/components/FeatureCards/index.tsx index b272886f9..3397c1713 100644 --- a/website/src/components/FeatureCards/index.tsx +++ b/website/src/components/FeatureCards/index.tsx @@ -9,102 +9,93 @@ import UpgradeDiagram from "../Animations/UpgradeDiagram"; export default function FeatureCards() { return ( -
-
-
-
-
- built for you -
-
-

- Simplify access management - with WireGuard. -

-
-
-
-

+

+
+
+ built for you +
+
+

- Seamlessly manage thousands of lightweight tunnels to whatever - resources you need, whenever. -

- - Protect your resources - + Simplify access management + with WireGuard. +

- {/*
-
- -
*/} - -
- -
- -
-

- Flexible -

-

- Control access to VPCs, subnets, hosts by IP or DNS, and even - public SaaS apps. -

-
- -
- -
-

- Secure -

-

- Users and groups automatically sync with your identity provider, - so access is revoked immediately. -

-
- -
- -
-

- Granular -

-

- Restrict access even further with port-level rules that control - access to services, even on the same host. -

-
+
+

+ Seamlessly manage thousands of lightweight tunnels to whatever + resources you need, whenever. +

+ + Protect your resources +
+
+ +
+ +
+

+ Flexible +

+

+ Control access to VPCs, subnets, hosts by IP or DNS, and even public + SaaS apps. +

+
+ +
+ +
+

+ Secure +

+

+ Users and groups automatically sync with your identity provider, so + access is revoked immediately. +

+
+ +
+ +
+

+ Granular +

+

+ Restrict access even further with port-level rules that control + access to services, even on the same host. +

+
+
); }