From 6de1ff52de5c2b523bd29e5b4c8dd38a8cb76276 Mon Sep 17 00:00:00 2001 From: Yue Yang Date: Mon, 25 Sep 2023 17:14:46 +0800 Subject: [PATCH] style: optimize Signed-off-by: Yue Yang --- src/pages/index.js | 52 ++++++++++++++++++++------------------ src/pages/index.module.css | 4 +-- 2 files changed, 29 insertions(+), 27 deletions(-) diff --git a/src/pages/index.js b/src/pages/index.js index 02ee6189..1c1d61f9 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -204,31 +204,33 @@ function Home() {
- {/* TODO: add translation. */} -

- Orchestrate complex fault scenarios with Workflows. -

-

- Real-world failures are often not isolated causes.Chaos Mesh has built-in workflows that allow you to - experiment serially or in parallel at will to build walkthroughs that fit the architecture. -

-
- -

Suspend

-

You can also use the suspend node to simulate a temporary recovery.

-
- -

Status Check

-

You can also use customized status checks to inform the cluster status.

-
+
+ {/* TODO: add translation. */} +

+ Orchestrate complex fault scenarios with Workflows. +

+

+ Real-world failures are often not isolated causes.Chaos Mesh has built-in workflows that allow you + to experiment serially or in parallel at will to build walkthroughs that fit the architecture. +

+
+ +

Suspend

+

You can also use the suspend node to simulate a temporary recovery.

+
+ +

Status Check

+

You can also use customized status checks to inform the cluster status.

+
+
+ + + Start Creating +
- - - Start Creating -
@@ -239,7 +241,7 @@ function Home() {
- +
diff --git a/src/pages/index.module.css b/src/pages/index.module.css index 0c5441a2..0845304c 100644 --- a/src/pages/index.module.css +++ b/src/pages/index.module.css @@ -38,13 +38,13 @@ mask-image: linear-gradient(to top, transparent 1%, #fff 60%, #000 100%); } -@media (min-width: 768px) { +@media (min-width: 1024px) { .workflowsImg { height: 768px; background: url(/img/home/workflows-min.png) top left / cover no-repeat; border: 1px solid hsl(var(--bc) / 0.15); box-shadow: 75px 75px 75px -25px rgba(0, 0, 0, 0.3); - transform: perspective(750px) translate3d(0px, 30px, -250px) rotateX(5deg) rotateY(-5deg); + transform: perspective(750px) translate3d(0px, 0px, -250px) rotateX(5deg) rotateY(-5deg); transition: 0.3s ease-in-out transform; &:hover {