From 2f88aa46ad372cf35543964c0e6ec900d81ed777 Mon Sep 17 00:00:00 2001 From: Xanazf Date: Sat, 9 Nov 2024 00:48:09 +0200 Subject: [PATCH] more spinning logos --- public/assets/pipewire-logo-small.svg | 54 ++++++ public/assets/pipewire-logo.svg | 91 ++++++++++ public/assets/sway-logo.svg | 47 ++++++ public/assets/x-org-logo.svg | 168 +++++++++++++++++++ src/components/featurelist/FeatureList.astro | 14 ++ src/styles/components/featurelist.css | 27 ++- 6 files changed, 398 insertions(+), 3 deletions(-) create mode 100644 public/assets/pipewire-logo-small.svg create mode 100644 public/assets/pipewire-logo.svg create mode 100644 public/assets/sway-logo.svg create mode 100644 public/assets/x-org-logo.svg diff --git a/public/assets/pipewire-logo-small.svg b/public/assets/pipewire-logo-small.svg new file mode 100644 index 0000000..d81f547 --- /dev/null +++ b/public/assets/pipewire-logo-small.svg @@ -0,0 +1,54 @@ + + + + + + + + + + + + diff --git a/public/assets/pipewire-logo.svg b/public/assets/pipewire-logo.svg new file mode 100644 index 0000000..df95cfc --- /dev/null +++ b/public/assets/pipewire-logo.svg @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/assets/sway-logo.svg b/public/assets/sway-logo.svg new file mode 100644 index 0000000..1aa9f2a --- /dev/null +++ b/public/assets/sway-logo.svg @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/assets/x-org-logo.svg b/public/assets/x-org-logo.svg new file mode 100644 index 0000000..25ff98f --- /dev/null +++ b/public/assets/x-org-logo.svg @@ -0,0 +1,168 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/src/components/featurelist/FeatureList.astro b/src/components/featurelist/FeatureList.astro index 88abddd..4a849a2 100644 --- a/src/components/featurelist/FeatureList.astro +++ b/src/components/featurelist/FeatureList.astro @@ -1,5 +1,8 @@ --- import { processMarkdown } from "@config/io/markdown"; +import PipewireLogoSmall from "@public/assets/pipewire-logo-small.svg?raw"; +import XOrgLogo from "@public/assets/x-org-logo.svg?raw"; +import SwayLogo from "@public/assets/sway-logo.svg?raw"; let codeString = `\`\`\`qml // a standard desktop window @@ -56,12 +59,23 @@ const codeHTML = await processMarkdown(codeString);
+
+ + + + + + + + + +
diff --git a/src/styles/components/featurelist.css b/src/styles/components/featurelist.css index 2837aea..b4c7a9c 100644 --- a/src/styles/components/featurelist.css +++ b/src/styles/components/featurelist.css @@ -53,26 +53,30 @@ .feature-showcase { height: 21rem; aspect-ratio: 16 / 9; + border: 1px solid yellow; } .feature-video { border-radius: 0.681rem; } -.feature-showcase.cloud { +.feature-cloud { position: relative; - max-width: 345.717px; + margin: auto; + max-width: 21.5rem; + height: 100%; border-radius: 100vh; animation: spin 40s linear infinite; + border: 1px solid red; & .cloud-item { position: absolute; display: flex; align-items: center; justify-content: center; + animation: counter-spin 40s linear infinite; width: 60px; height: 60px; - animation: counter-spin 40s linear infinite; &.hyprland { left: 60px; top: 60px; @@ -81,10 +85,27 @@ right: 60px; top: 60px; } + &.pipewire { + left: 60px; + bottom: 60px; + } + &.x-org { + right: 60px; + bottom: 60px; + scale: 0.9; + } + &.sway { + left: 140px; + bottom: 30px; + scale: 0.7; + } & img { width: 60px; height: 60px; } + & svg { + scale: 1.5; + } } }