Skip to content

Commit

Permalink
Interface restructuring (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
Levminer authored Jul 11, 2024
1 parent caaed30 commit 87b60d8
Show file tree
Hide file tree
Showing 90 changed files with 200 additions and 49 deletions.
File renamed without changes
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
## Features

- 💻 Monitor CPU/RAM/GPU usage like clock speed, voltage, memory usage and load
- 📡 You can monitor your system from any device with a web browser
- 📡 Remote monitoring, you can monitor your system from any device with a web browser
- 🌡️ CPU/GPU/Drive temperatures
- 📈 See beautiful CPU/RAM/GPU graphs
- 📈 See historical charts
- 💾 Keep an eye on your SSD health and usage
- ❄️ Fan speed and RPM information
- 🛜 Network speed and usage stats
- 🖥️ See detailed info about your computer
- 🔋 Battery health, cycles and capacity

## Screenshot

<img src="https://raw.githubusercontent.com/Levminer/cores/dev/screenshots/home.png?raw=true">
<img src="https://raw.githubusercontent.com/Levminer/cores/dev/.github/screenshots/home.png?raw=true">

## Download

Expand Down
1 change: 0 additions & 1 deletion apps/app/tailwind.config.cjs

This file was deleted.

13 changes: 0 additions & 13 deletions apps/web/src/routes/get-started/+page.svelte

This file was deleted.

1 change: 0 additions & 1 deletion apps/web/tailwind.config.js

This file was deleted.

83 changes: 73 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"private": true,
"type": "module",
"workspaces": [
"apps/*",
"packages/*"
"platforms/interface/*"
],
"scripts": {
"dev:core": "tauri dev",
Expand Down
6 changes: 0 additions & 6 deletions packages/config/package.json

This file was deleted.

1 change: 0 additions & 1 deletion packages/ui/tailwind.config.js

This file was deleted.

File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
import { setHardwareInfo, hardwareInfo } from "ui/stores/hardwareInfo"
import Loading from "ui/navigation/loading.svelte"
import { generateMinutesData, generateSecondsData } from "ui/utils/stats"
import build from "../../../build.json"
import build from "../../../../build.json"
import DesktopNavigation from "ui/navigation/desktopNavigation.svelte"
import { invoke } from "@tauri-apps/api/core"
import { check } from "@tauri-apps/plugin-updater"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
49 changes: 49 additions & 0 deletions platforms/interface/app/tailwind.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
/** @type {import('tailwindcss').Config} */
export default {
content: ["./src/**/*.{html,js,svelte,ts}", "./layout/**/*.{html,js,svelte,ts}", , "../ui/**/*.{html,js,svelte,ts}"],
theme: {
extend: {
colors: {
gray: {
100: "#ffffff",
200: "#d3cfcf",
500: "#282828",
600: "#1E1E1E",
700: "#141414",
800: "#0a0a0a",
900: "#000000",
},
popup: {
red: "#CC001B",
green: "#28A443",
blue: "#16A3DF",
yellow: "#F5AB00",
magenta: "#9B5094",
},
cores: {
min: "#35cbfd",
current: "#ff5380",
max: "#9d0cfd",
alternative: "#d800ef",
},
html: {
gray: "#808080",
},
},

borderRadius: {
xl: "15px",
"2xl": "30px",
},

screens: {
sm: { max: "1200px" },
},
},
},
plugins: [
require("@tailwindcss/forms")({
strategy: "class",
}),
],
}
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ export default defineConfig({
},
},
emptyOutDir: true,
outDir: "../../dist",
outDir: "../../../dist",
},
})
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
</div>

<script lang="ts">
import build from "../../../build.json"
import build from "../../../../build.json"
</script>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
import { settings } from "../stores/settings.ts"
import { Popover } from "bits-ui"
import { flyAndScale } from "../utils/transitions.ts"
import build from "../../../build.json"
import build from "../../../../build.json"
let trialOver = false
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
<script lang="ts">
import { hardwareInfo } from "ui/stores/hardwareInfo.ts"
import { settings } from "ui/stores/settings.ts"
import build from "../../../build.json"
import build from "../../../../build.json"
import Select from "ui/components/select.svelte"
import Toggle from "ui/components/toggle.svelte"
import { Minimize2, RefreshCcw, Bug, Megaphone, Info, Cable, Github, FileCog } from "lucide-svelte"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** @type {import('tailwindcss').Config} */
export default {
content: ["./src/**/*.{html,js,svelte,ts}", "./layout/**/*.{html,js,svelte,ts}", , "../../packages/**/*.{html,js,svelte,ts}"],
content: ["./src/**/*.{html,js,svelte,ts}", "./layout/**/*.{html,js,svelte,ts}", , "../ui/**/*.{html,js,svelte,ts}"],
theme: {
extend: {
colors: {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
import { settings } from "ui/stores/settings.ts"
import Dialog from "ui/components/dialog.svelte"
import { Trash2, MonitorSmartphone, Info, Pencil } from "lucide-svelte"
import { version, number, date } from "../../../../../../build.json"
import { version, number, date } from "../../../../../../../build.json"
import { onMount } from "svelte"
$: dialogOpen = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -392,10 +392,10 @@
import { onDestroy, onMount } from "svelte"
import { GpuCard, Memory, PcDisplay, Microsoft } from "svelte-bootstrap-icons"
import { slide } from "svelte/transition"
import Footer from "../components/footer.svelte"
import Header from "../components/header.svelte"
import GetStarted from "../components/getStarted.svelte"
import OSSelector from "../components/OSSelector.svelte"
import Footer from "../../components/footer.svelte"
import Header from "../../components/header.svelte"
import GetStarted from "../../components/getStarted.svelte"
import OSSelector from "../../components/OSSelector.svelte"
// prettier-ignore
const features=["CPU Temperature","CPU Clock Speed","CPU Load","CPU Voltage","CPU Power Usage","RAM Usage","RAM Speed","Virtual RAM Usage","GPU Load","GPU Temperature","GPU Power Usage","GPU Clock Speed","GPU Fan Speed","GPU Driver Date","Network Speed","Network Usage","Drive Temperature","Drive Health","Drive Usage","BIOS Date", "Fan Speed","Remote Access","Runs In The Background", "Minimal Resource Usage"]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<Header />

<div class="mb-48 mt-16">
<GetStarted />
</div>

<Footer />

<script lang="ts">
import Footer from "../../../components/footer.svelte"
import GetStarted from "../../../components/getStarted.svelte"
import Header from "../../../components/header.svelte"
</script>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
49 changes: 49 additions & 0 deletions platforms/interface/web/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
/** @type {import('tailwindcss').Config} */
export default {
content: ["./src/**/*.{html,js,svelte,ts}", "./layout/**/*.{html,js,svelte,ts}", , "../ui/**/*.{html,js,svelte,ts}"],
theme: {
extend: {
colors: {
gray: {
100: "#ffffff",
200: "#d3cfcf",
500: "#282828",
600: "#1E1E1E",
700: "#141414",
800: "#0a0a0a",
900: "#000000",
},
popup: {
red: "#CC001B",
green: "#28A443",
blue: "#16A3DF",
yellow: "#F5AB00",
magenta: "#9B5094",
},
cores: {
min: "#35cbfd",
current: "#ff5380",
max: "#9d0cfd",
alternative: "#d800ef",
},
html: {
gray: "#808080",
},
},

borderRadius: {
xl: "15px",
"2xl": "30px",
},

screens: {
sm: { max: "1200px" },
},
},
},
plugins: [
require("@tailwindcss/forms")({
strategy: "class",
}),
],
}
File renamed without changes.
File renamed without changes.

0 comments on commit 87b60d8

Please sign in to comment.