diff --git a/src/components/dashboard/OSBar.tsx b/src/components/dashboard/OSBar.tsx index 4607fcf..44f6698 100644 --- a/src/components/dashboard/OSBar.tsx +++ b/src/components/dashboard/OSBar.tsx @@ -1,9 +1,45 @@ import { component$ } from "@builder.io/qwik"; +import { SolarLibraryLinear, SolarRoundedMagniferLinear, SolarSettingsLinear, SolarUploadMinimalisticLinear, StereoCircularProgress, StereoLogoLinear } from "../misc/Icons"; export default component$(() => { + const used = 3.8; + const total = 15; return ( -
{used} / {total} GB
+
{splits[0]}
diff --git a/src/components/landing/Footer.tsx b/src/components/landing/Footer.tsx
index 16fef9d..363619f 100644
--- a/src/components/landing/Footer.tsx
+++ b/src/components/landing/Footer.tsx
@@ -1,5 +1,5 @@
import { component$ } from "@builder.io/qwik";
-import StereoLogo from "../misc/StereoLogo";
+import { StereoLogoBold } from "../misc/Icons";
export default component$(() => {
return (
@@ -7,7 +7,7 @@ export default component$(() => {
diff --git a/src/components/misc/Icons.tsx b/src/components/misc/Icons.tsx
index 5500ae1..73511c1 100644
--- a/src/components/misc/Icons.tsx
+++ b/src/components/misc/Icons.tsx
@@ -1,5 +1,7 @@
import { QwikIntrinsicElements } from "@builder.io/qwik";
+// Solar - https://icones.js.org/collection/solar
+
export function SolarUploadLinear(props: QwikIntrinsicElements['svg'], key: string) {
return (
@@ -26,7 +28,6 @@ export function SolarLinkRoundBold(props: QwikIntrinsicElements['svg'], key: str
)
}
-
export function SolarDownloadMinimalisticBold(props: QwikIntrinsicElements['svg'], key: string) {
return (
@@ -36,4 +37,86 @@ export function SvgSpinnersBarsRotateFade(props: QwikIntrinsicElements['svg'], k
return (
)
+}
+
+export function SolarLibraryLinear(props: QwikIntrinsicElements['svg'], key: string) {
+ return (
+
+ )
+}
+
+export function SolarUploadMinimalisticLinear(props: QwikIntrinsicElements['svg'], key: string) {
+ return (
+
+ )
+}
+
+
+export function SolarRoundedMagniferLinear(props: QwikIntrinsicElements['svg'], key: string) {
+ return (
+
+ )
+}
+
+
+export function SolarSettingsLinear(props: QwikIntrinsicElements['svg'], key: string) {
+ return (
+
+ )
+}
+
+// Stereo
+
+export function StereoLogoBold(props: QwikIntrinsicElements['svg'], key: string) {
+ return (
+
+ )
+}
+
+export function StereoLogoLinear(props: QwikIntrinsicElements['svg'], key: string) {
+ return (
+
+ )
+}
+
+export function StereoCircularProgress(
+ { value, ...svgProps }: QwikIntrinsicElements['svg'] & { value: number },
+ key: string
+) {
+ const radius = 10;
+ const circumference = 2 * Math.PI * radius;
+ const dashOffset = circumference * (1 - value);
+
+ return (
+
+ );
}
\ No newline at end of file
diff --git a/src/components/misc/StereoLogo.tsx b/src/components/misc/StereoLogo.tsx
deleted file mode 100644
index 892ea95..0000000
--- a/src/components/misc/StereoLogo.tsx
+++ /dev/null
@@ -1,9 +0,0 @@
-import { component$, QwikIntrinsicElements } from "@builder.io/qwik";
-
-export default component$((props: QwikIntrinsicElements['svg']) => {
- return (
-
- )
-})
\ No newline at end of file
diff --git a/src/routes/dashboard/index.tsx b/src/routes/dashboard/index.tsx
index 10aa70b..5bd769c 100644
--- a/src/routes/dashboard/index.tsx
+++ b/src/routes/dashboard/index.tsx
@@ -26,7 +26,7 @@ export default component$(() => {
});
return (
-