From 56f9927685c4b72bf370a0dff682bdacbcaee9ca Mon Sep 17 00:00:00 2001 From: Xanazf Date: Wed, 2 Jul 2025 02:40:16 +0300 Subject: [PATCH] updated the feature cloud, upgraded biome to 2.0.4 --- biome.json | 11 ++-- src/components/featurelist/FeatureList.astro | 35 +++++++------ src/styles/components/featurelist.css | 53 ++++++++++++++------ 3 files changed, 62 insertions(+), 37 deletions(-) diff --git a/biome.json b/biome.json index 201ccec..b06056c 100644 --- a/biome.json +++ b/biome.json @@ -1,5 +1,5 @@ { - "$schema": "https://biomejs.dev/schemas/1.8.3/schema.json", + "$schema": "https://biomejs.dev/schemas/2.0.4/schema.json", "formatter": { "enabled": true, "formatWithErrors": true, @@ -9,15 +9,12 @@ "lineWidth": 66, "attributePosition": "multiline" }, - "organizeImports": { - "enabled": true - }, + "plugins": [], "linter": { "enabled": true, "rules": { "recommended": true, "style": { - "noVar": "error", "useConst": "error" }, "suspicious": { @@ -56,7 +53,7 @@ }, "overrides": [ { - "include": [ + "includes": [ "**/*.ts", "**/*.tsx" ], @@ -83,7 +80,7 @@ } }, { - "include": [ + "includes": [ "*.astro" ], "linter": { diff --git a/src/components/featurelist/FeatureList.astro b/src/components/featurelist/FeatureList.astro index e2cd58d..8456cf4 100644 --- a/src/components/featurelist/FeatureList.astro +++ b/src/components/featurelist/FeatureList.astro @@ -89,21 +89,26 @@ FloatingWindow {
- -
-
- -
-
- -
-
- -
-
- -
-
+
+ Quickshell +
+
+ +
Wayland
+
+ +
Hyprland
+
+ +
Pipewire
+
+ +
X.Org
+
+ +
Sway
+
+
diff --git a/src/styles/components/featurelist.css b/src/styles/components/featurelist.css index 93054ff..018aed4 100644 --- a/src/styles/components/featurelist.css +++ b/src/styles/components/featurelist.css @@ -110,45 +110,69 @@ html:not(.dark) .feature-showcase .shiki span { height: 100%; min-height: 20rem; margin-bottom: 1rem; - animation: spin 40s linear infinite; + display: flex; + justify-content: center; + align-items: center; + + & .cloud-center { + position: absolute; + z-index: 2; + } + & .cloud-center img { + width: 80px; + height: 80px; + } + + & .cloud-items-wrapper { + position: absolute; + width: 100%; + height: 100%; + animation: spin 40s linear infinite; + } & .cloud-item { position: absolute; + left: 50%; + height: 50%; + transform-origin: center bottom; + transform: translateX(-50%); + + & > div { + transform: rotate(0deg); + animation: counter-spin 40s linear infinite; + & .feature-icon { + width: 80px; + height: 80px; + } + } + &.wayland { - transform: translate(-50%, 0); + transform: translate(-50%, 0) rotate(0deg); } &.hyprland { transform: translate(-50%, 0) rotate(72deg); - & > div { + & .feature-icon { transform: rotate(-72deg); } } &.pipewire { transform: translate(-50%, 0) rotate(144deg); - & > div { + & .feature-icon { transform: rotate(-144deg); } } &.x-org { transform: translate(-50%, 0) rotate(216deg); - & > div { + & .feature-icon { transform: rotate(-216deg); } } &.sway { transform: translate(-50%, 0) rotate(288deg); - & > div { + & .feature-icon { transform: rotate(-288deg); } } - & img, - svg { - animation: counter-spin 40s linear infinite; - width: 80px; - height: 80px; - } - left: 50%; - height: 100%; } } @@ -194,7 +218,6 @@ html:not(.dark) .feature-showcase .shiki span { } .featurelist-item { width: 100%; - padding: unset; padding: 1.217rem; justify-content: space-between; flex-direction: row;