diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 898ecd8..68ecc26 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,7 +14,7 @@ env: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-latest # https://github.com/actions/virtual-environments steps: #- run: rustup update @@ -40,7 +40,7 @@ jobs: #- uses: taiki-e/install-action@nextest - name: Build Project with Dioxus and TailwindCSS run: | - cargo binstall dioxus-cli + cargo binstall dioxus-cli@0.6.0 npm install tailwindcss -D -g npx tailwindcss -i tailwind_base.css -o assets/tailwind.css -m #cargo r --bin syncd -F syncdep diff --git a/Cargo.toml b/Cargo.toml index f941bc4..1238942 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ [package] edition = "2021" name = "inperiod" -version = "0.1.3" +version = "0.1.6" license = "MIT OR Apache-2.0" authors = ["MeiHui FAN "] homepage = "https://mhfan.github.io/inperiod" diff --git a/Dioxus.toml b/Dioxus.toml index 3c8d4e9..985f724 100644 --- a/Dioxus.toml +++ b/Dioxus.toml @@ -16,7 +16,7 @@ default_platform = "web" # value: web | desktop | mobile level = "4" # The level wasm-opt should target. z is the smallest. 4 is the fastest. [web.app] -#title = "Elements Periodic Table" # HTML title tag content +title = "Elements Periodic Table" # HTML title tag content base_path = "inperiod" # "/" #index_on_404 = true diff --git a/README.md b/README.md index 776f615..ac0876c 100644 --- a/README.md +++ b/README.md @@ -22,9 +22,13 @@ Thus, this project was born. -![Elements Periodic Table](https://github.com/user-attachments/assets/34632195-1344-4377-a02e-d654e88a0afb) -![Show electron configuration diagram](https://github.com/user-attachments/assets/e6a46fba-04cf-4275-b1e0-db78aecf307d) -![Show crystal structure](https://github.com/user-attachments/assets/32518da9-e1b5-4314-95bc-cffa43ec6fc4) +![Elements Periodic Table](https://github.com/user-attachments/assets/e1e34ebd-2ee6-4bd9-8804-6c8a81f0f6f7) +![Chinese Periodic Table](https://github.com/user-attachments/assets/f32ee5d1-da6b-46d1-b478-9dbb7a9500ac) +![Elements cosmic origin](https://github.com/user-attachments/assets/0aec4ecc-5e56-4e61-848d-e00b4fa06873) +![Elements flame test](https://github.com/user-attachments/assets/271122e5-42a6-4011-81e0-3ed5f20b3153) + +![Show electron configuration diagram](https://github.com/user-attachments/assets/931590e3-34e0-44d8-9209-7febac64306a) +![Show crystal structure](https://github.com/user-attachments/assets/b9c0c651-5d3c-43be-af42-8cd374c5aa07) Additionally, this project also targets to provide a set of API in Rust for accessing all kinds of information and data about the elements. @@ -54,7 +58,7 @@ dx serve --platform android #ios Open the browser to -Note: Recommended to print as PDF on Chrome browser. +Note: Recommended to `Print to PDF` on Chrome, or `Export to PDF` on Safari. ## References diff --git a/index.html b/index.html index b49b192..ff0a83a 100644 --- a/index.html +++ b/index.html @@ -5,22 +5,16 @@ {app_title} +