From d18528cb6def7ed66106da9bedfe4217245ca461 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C5=91rik=20Levente?= <33373714+Levminer@users.noreply.github.com> Date: Sun, 21 Jul 2024 16:53:39 +0200 Subject: [PATCH] Landing page improvements --- .../interface/ui/components/accordion.svelte | 27 ++ .../interface/ui/components/homeList.svelte | 133 +++++++++ .../interface/ui/pages/onboarding.svelte | 7 +- .../web/src/routes/(marketing)/+page.svelte | 280 ++++++++++++++++-- 4 files changed, 413 insertions(+), 34 deletions(-) create mode 100644 platforms/interface/ui/components/accordion.svelte create mode 100644 platforms/interface/ui/components/homeList.svelte diff --git a/platforms/interface/ui/components/accordion.svelte b/platforms/interface/ui/components/accordion.svelte new file mode 100644 index 0000000..cd90fae --- /dev/null +++ b/platforms/interface/ui/components/accordion.svelte @@ -0,0 +1,27 @@ + + + + +
+ +
+ + + +
+
+ + + +
+
+ + diff --git a/platforms/interface/ui/components/homeList.svelte b/platforms/interface/ui/components/homeList.svelte new file mode 100644 index 0000000..517a8c4 --- /dev/null +++ b/platforms/interface/ui/components/homeList.svelte @@ -0,0 +1,133 @@ +
+ + +
+
+ +
+

CPU

+
+

{$hardwareInfo.cpu.name}

+
+ +
+
+ {#each $hardwareInfo.cpu.load as item, i} +
+
+

{item.name?.replaceAll("CPU", "")}

+

{Math.round(item.value)}%

+
+ +
+ {/each} +
+
+ {#each $hardwareInfo.cpu.load as item, i} +
+
+

{item.name?.replaceAll("CPU", "")}

+

{Math.round(item.min)}%

+
+ +
+ {/each} +
+
+ {#each $hardwareInfo.cpu.load as item, i} +
+
+

{item.name?.replaceAll("CPU", "")}

+

{Math.round(item.max)}%

+
+ +
+ {/each} +
+
+
+
+ + + +
+
+ +
+

RAM

+
+

{$hardwareInfo.ram.info[0]?.manufacturerName ?? "Generic Memory"}

+
+ +

content

+
+
+ + + +
+
+ +
+

GPU

+
+

{$hardwareInfo.gpu.name}

+
+ +

content

+
+
+ + + +
+
+ +
+

Drive

+
+

{$hardwareInfo.system.storage.disks[0]?.name ?? "Generic Drive"}

+
+ +

content

+
+
+ + + +
+
+ +
+

Interface

+
+

{$hardwareInfo.system.network.interfaces[0]?.name ?? "Generic Interface"}

+
+ +

content

+
+
+
+ + diff --git a/platforms/interface/ui/pages/onboarding.svelte b/platforms/interface/ui/pages/onboarding.svelte index ffcbdaa..c744341 100644 --- a/platforms/interface/ui/pages/onboarding.svelte +++ b/platforms/interface/ui/pages/onboarding.svelte @@ -65,7 +65,8 @@ >

Get started for free

-
You can use Cores for 7 days, after that you will need to buy it.
+ +
During the beta period you can use Cores for free, please consider buying it to support the development.
@@ -128,7 +129,7 @@ let trialOver = false // Check if trial is over - if ($settings.licenseActivated) { + /* if ($settings.licenseActivated) { let dateActivated = new Date($settings.licenseActivated) let dateNow = new Date() let diff = dateNow.getTime() - dateActivated.getTime() @@ -137,7 +138,7 @@ if (days > 7) { trialOver = true } - } + } */ const step2 = () => { document.querySelector(".step1").classList.add("hidden") diff --git a/platforms/interface/web/src/routes/(marketing)/+page.svelte b/platforms/interface/web/src/routes/(marketing)/+page.svelte index 00d1965..cc4dff3 100644 --- a/platforms/interface/web/src/routes/(marketing)/+page.svelte +++ b/platforms/interface/web/src/routes/(marketing)/+page.svelte @@ -34,16 +34,25 @@
-
-
+
+
-

- Informative home screen +

+ Monitor every component in your PC

-

Track your CPU, GPU and RAM stats on the home screen.

+

Track every component in your PC from your phone or a web browser.

+
+ +
+
+
+
@@ -53,11 +62,37 @@

CPU

-
-

Temperature

-

Clock speed

-

Power usage

-

Voltage

+
+
+ +

Load

+
+
+ +

Temperature

+
+
+ +

Clock Speed

+
+
+ +

Voltage

+
+
+ +

Power Usage

+
@@ -69,12 +104,45 @@

GPU

-
-

Temperature

-

Fan speed

-

Memory usage

-

Clock speed

-

Power usage

+
+
+ +

Temperature

+
+
+ +

Clock Speed

+
+ +
+ +

Load

+
+
+ +

Fan Speed

+
+ +
+ +

Memory Usage

+
+
+ +

Power Usage

+
@@ -88,9 +156,19 @@

RAM

-
-

RAM usage

-

Virtual RAM usage

+
+
+ +

Memory

+
+
+ +

Virtual Memory

+
@@ -102,19 +180,89 @@

System

-
-

Drives

-

Fans

-

Network interfaces

-

BIOS

+
+
+ +

Fan Speed

+
+
+ +

Battery Info

+
- -
-
@@ -291,6 +439,30 @@

System requirements: Windows 10 or 11, 64bit processor

+ +
+
+
+
+ +

Linux

+
+ Subscribe to get notified +
+
+
+ +
+
+
+
+ +

macOS

+
+ Subscribe to get notified +
+
+
@@ -361,12 +533,18 @@ > Coming soon! + {:else}

Coming soon!

+ {/if}
@@ -378,6 +556,23 @@
+ +
+
+

Interested in Cores?

+

Subscribe to the newsletter and get the latest updates.

+
+
+
+
+
+ +
+ + +
+
+
@@ -388,9 +583,32 @@