4 Commits
Author SHA1 Message Date
hulthe ff612220ab 1.0.1 2026-10-22 21:16:40 +02:00
hulthe 8974463e82 Update dependencies 2026-10-22 21:15:41 +02:00
hulthe 3948efd5db More filthy scale hacks 2026-05-16 00:52:28 +02:00
hulthe 5a449927e3 1.0.0 2026-05-15 16:24:55 +02:00
7 changed files with 755 additions and 440 deletions

No files matched your search

Generated
+732 -421
View File
File diff suppressed because it is too large. Load diff
+2 -2
View File
@@ -1,10 +1,10 @@
################## ##################
### BASE STAGE ### ### BASE STAGE ###
################## ##################
FROM rust:1.95.0 AS base FROM rust:1.99.1 AS base
# Install build dependencies # Install build dependencies
RUN cargo install --locked trunk@^0.21.14 strip_cargo_version RUN cargo install --locked trunk@^0.22.0 strip_cargo_version
RUN rustup target add wasm32-unknown-unknown RUN rustup target add wasm32-unknown-unknown
RUN rustup target add x86_64-unknown-linux-musl RUN rustup target add x86_64-unknown-linux-musl
+3 -3
View File
@@ -1,7 +1,7 @@
[package] [package]
name = "hemma" name = "hemma"
version = "0.3.3" version = "1.0.1"
edition = "2021" edition = "2024"
[dependencies] [dependencies]
futures-util = "0.3.21" futures-util = "0.3.21"
@@ -10,7 +10,7 @@ pretty_env_logger = "0.4.0"
tokio = { version = "1.19.2", features = ["full"] } tokio = { version = "1.19.2", features = ["full"] }
warp = "0.3.2" warp = "0.3.2"
ron = "0.7.1" ron = "0.7.1"
reqwest = { version = "0.11.11", default_features = false, features = ["rustls-tls", "json"] } reqwest = { version = "0.11.11", default-features = false, features = ["rustls-tls", "json"] }
async-trait = "0.1.56" async-trait = "0.1.56"
anyhow = "1.0.58" anyhow = "1.0.58"
markdown = "0.3.0" markdown = "0.3.0"
+2 -2
View File
@@ -1,7 +1,7 @@
[package] [package]
name = "common" name = "common"
version = "0.3.3" version = "1.0.1"
edition = "2021" edition = "2024"
[dependencies] [dependencies]
serde = { version = "1.0.137", features = ["derive"] } serde = { version = "1.0.137", features = ["derive"] }
+3 -3
View File
@@ -1,8 +1,7 @@
[package] [package]
name = "hemma_web" name = "hemma_web"
version = "0.3.3" version = "1.0.1"
authors = ["Joakim Hulthe <joakim@hulthe.net"] edition = "2024"
edition = "2021"
[dependencies] [dependencies]
seed = "0.10.0" seed = "0.10.0"
@@ -12,6 +11,7 @@ ron = "0.7.1"
chrono = { version = "0.4.20", features = ["serde"] } chrono = { version = "0.4.20", features = ["serde"] }
gloo-net = { version = "0.4.0", default-features = false, features = ["websocket"] } gloo-net = { version = "0.4.0", default-features = false, features = ["websocket"] }
gloo-console = "0.3.0" gloo-console = "0.3.0"
uuid = { version = "1.28.0", features = ["js"] }
[dependencies.css_typegen] [dependencies.css_typegen]
git = "https://github.com/hulthe/css_typegen.git" git = "https://github.com/hulthe/css_typegen.git"
+9 -9
View File
@@ -5,26 +5,26 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<!-- stylesheets --> <!-- stylesheets -->
<link data-trunk data-inline rel="scss" href="/static/styles/common.scss"> <link data-trunk data-inline rel="scss" href="static/styles/common.scss">
<link data-trunk data-inline rel="scss" href="/static/styles/penguin.scss"> <link data-trunk data-inline rel="scss" href="static/styles/penguin.scss">
<!-- fonts --> <!-- fonts -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Ubuntu|Ubuntu+Mono&display=swap"> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Ubuntu|Ubuntu+Mono&display=swap">
<!-- pwa manifest --> <!-- pwa manifest -->
<link data-trunk rel="copy-file" href="/static/manifest.json"> <link data-trunk rel="copy-file" href="static/manifest.json">
<link rel="manifest" href="/manifest.json"> <link rel="manifest" href="manifest.json">
<!-- copy image directory --> <!-- copy image directory -->
<link data-trunk rel="copy-dir" href="/static/images"> <link data-trunk rel="copy-dir" href="static/images">
<!-- image preloading --> <!-- image preloading -->
<link rel="preload" href="/images/penguin1.svg" as="image"> <link rel="preload" href="images/penguin1.svg" as="image">
<link rel="preload" href="/images/penguin2.svg" as="image"> <link rel="preload" href="images/penguin2.svg" as="image">
<link rel="preload" href="/images/penguin3.svg" as="image"> <link rel="preload" href="images/penguin3.svg" as="image">
<!-- icon --> <!-- icon -->
<link rel="icon" type="image/png" href="/images/penguin2.svg"> <link rel="icon" type="image/png" href="images/penguin2.svg">
<title>hemma</title> <title>hemma</title>
<meta name="description" content="Home automation and information"> <meta name="description" content="Home automation and information">
+4
View File
@@ -28,6 +28,10 @@ body {
} }
} }
@media (width <= 390px) { body { scale: 0.85; } } @media (width <= 390px) { body { scale: 0.85; } }
@media (width <= 360px) { body { scale: 0.80; } }
@media (width <= 340px) { body { scale: 0.75; } }
@media (width <= 320px) { body { scale: 0.70; } }
@media (width <= 300px) { body { scale: 0.65; } }
.info_box { .info_box {
margin: auto; margin: auto;