Skip to content

Commit 56f9927

Browse files
committed
updated the feature cloud, upgraded biome to 2.0.4
1 parent 1178bb7 commit 56f9927

File tree

3 files changed

+62
-37
lines changed

3 files changed

+62
-37
lines changed

biome.json

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.0.4/schema.json",
33
"formatter": {
44
"enabled": true,
55
"formatWithErrors": true,
@@ -9,15 +9,12 @@
99
"lineWidth": 66,
1010
"attributePosition": "multiline"
1111
},
12-
"organizeImports": {
13-
"enabled": true
14-
},
12+
"plugins": [],
1513
"linter": {
1614
"enabled": true,
1715
"rules": {
1816
"recommended": true,
1917
"style": {
20-
"noVar": "error",
2118
"useConst": "error"
2219
},
2320
"suspicious": {
@@ -56,7 +53,7 @@
5653
},
5754
"overrides": [
5855
{
59-
"include": [
56+
"includes": [
6057
"**/*.ts",
6158
"**/*.tsx"
6259
],
@@ -83,7 +80,7 @@
8380
}
8481
},
8582
{
86-
"include": [
83+
"includes": [
8784
"*.astro"
8885
],
8986
"linter": {

src/components/featurelist/FeatureList.astro

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -89,21 +89,26 @@ FloatingWindow {
8989
</section>
9090
<section class="feature-showcase cloud">
9191
<section class="feature-cloud">
92-
<span class="cloud-item wayland">
93-
<div><img src="/assets/logos/wayland.svg"/></div>
94-
</span>
95-
<span class="cloud-item hyprland">
96-
<div><img src="/assets/logos/hyprland.svg"/></div>
97-
</span>
98-
<span class="cloud-item pipewire">
99-
<div><img src="/assets/logos/pipewire.svg"/></div>
100-
</span>
101-
<span class="cloud-item x-org">
102-
<div><img src="/assets/logos/xorg.svg"/></div>
103-
</span>
104-
<span class="cloud-item sway">
105-
<div><img src="/assets/logos/sway.svg"/></div>
106-
</span>
92+
<div class="cloud-center">
93+
<img src="/favicon.svg" alt="Quickshell" />
94+
</div>
95+
<div class="cloud-items-wrapper">
96+
<span class="cloud-item wayland">
97+
<div><img class="feature-icon" src="/assets/logos/wayland.svg" alt="Wayland" /></div>
98+
</span>
99+
<span class="cloud-item hyprland">
100+
<div><img class="feature-icon" src="/assets/logos/hyprland.svg" alt="Hyprland" /></div>
101+
</span>
102+
<span class="cloud-item pipewire">
103+
<div><img class="feature-icon" src="/assets/logos/pipewire.svg" alt="Pipewire" /></div>
104+
</span>
105+
<span class="cloud-item x-org">
106+
<div><img class="feature-icon" src="/assets/logos/xorg.svg" alt="X.Org" /></div>
107+
</span>
108+
<span class="cloud-item sway">
109+
<div><img class="feature-icon" src="/assets/logos/sway.svg" alt="Sway" /></div>
110+
</span>
111+
</div>
107112
</section>
108113
</section>
109114
</li>

src/styles/components/featurelist.css

Lines changed: 38 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -110,45 +110,69 @@ html:not(.dark) .feature-showcase .shiki span {
110110
height: 100%;
111111
min-height: 20rem;
112112
margin-bottom: 1rem;
113-
animation: spin 40s linear infinite;
113+
display: flex;
114+
justify-content: center;
115+
align-items: center;
116+
117+
& .cloud-center {
118+
position: absolute;
119+
z-index: 2;
120+
}
121+
& .cloud-center img {
122+
width: 80px;
123+
height: 80px;
124+
}
125+
126+
& .cloud-items-wrapper {
127+
position: absolute;
128+
width: 100%;
129+
height: 100%;
130+
animation: spin 40s linear infinite;
131+
}
114132

115133
& .cloud-item {
116134
position: absolute;
135+
left: 50%;
136+
height: 50%;
137+
transform-origin: center bottom;
138+
transform: translateX(-50%);
139+
140+
& > div {
141+
transform: rotate(0deg);
142+
animation: counter-spin 40s linear infinite;
143+
& .feature-icon {
144+
width: 80px;
145+
height: 80px;
146+
}
147+
}
148+
117149
&.wayland {
118-
transform: translate(-50%, 0);
150+
transform: translate(-50%, 0) rotate(0deg);
119151
}
120152
&.hyprland {
121153
transform: translate(-50%, 0) rotate(72deg);
122-
& > div {
154+
& .feature-icon {
123155
transform: rotate(-72deg);
124156
}
125157
}
126158
&.pipewire {
127159
transform: translate(-50%, 0) rotate(144deg);
128-
& > div {
160+
& .feature-icon {
129161
transform: rotate(-144deg);
130162
}
131163
}
132164
&.x-org {
133165
transform: translate(-50%, 0) rotate(216deg);
134-
& > div {
166+
& .feature-icon {
135167
transform: rotate(-216deg);
136168
}
137169
}
138170
&.sway {
139171
transform: translate(-50%, 0) rotate(288deg);
140-
& > div {
172+
& .feature-icon {
141173
transform: rotate(-288deg);
142174
}
143175
}
144-
& img,
145-
svg {
146-
animation: counter-spin 40s linear infinite;
147-
width: 80px;
148-
height: 80px;
149-
}
150-
left: 50%;
151-
height: 100%;
152176
}
153177
}
154178

@@ -194,7 +218,6 @@ html:not(.dark) .feature-showcase .shiki span {
194218
}
195219
.featurelist-item {
196220
width: 100%;
197-
padding: unset;
198221
padding: 1.217rem;
199222
justify-content: space-between;
200223
flex-direction: row;

0 commit comments

Comments
 (0)