Skip to content

Commit bf98d43

Browse files
committed
part 2
1 parent ac6b98d commit bf98d43

File tree

6 files changed

+20
-27
lines changed

6 files changed

+20
-27
lines changed

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@ edition = "2021"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77
[dependencies]
8-
leptos = { version = "0.7", features = ["csr"] }
8+
leptos = { version = "0.7", features = ["csr","nightly"] }
99
wasm-bindgen = "0.2"
1010
wasm-bindgen-futures = "0.4"
1111
js-sys = "0.3"
1212
serde = { version = "1", features = ["derive"] }
1313
serde-wasm-bindgen = "0.6"
1414
console_error_panic_hook = "0.1.7"
15+
log ="0.4"
1516

1617
[workspace]
1718
members = ["src-tauri"]

README.md

Lines changed: 10 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
**Built with Leptos + Tauri + Tailwind CSS**
33
*A Living Showcase of Modern Web Development Skills*
44

5-
[![Live Demo](https://img.shields.io/badge/🚀_Live_Demo-Click_Here!-brightgreen?style=flat)](https://yourusername.github.io)
6-
[![Leptos](https://img.shields.io/badge/Leptos-2.0-purple?style=flat)](https://leptos.dev)
5+
[![Live Demo](https://img.shields.io/badge/🚀_Live_Demo-Click_Here!-brightgreen?style=flat)](https://Kofituo.github.io)
6+
[![Leptos](https://img.shields.io/badge/Leptos-0.7-purple?style=flat)](https://leptos.dev)
77
[![Tauri](https://img.shields.io/badge/Tauri-2.0-blue?style=flat)](https://tauri.app)
8-
[![Tailwind CSS](https://img.shields.io/badge/Tailwind_CSS-3.4-38B2AC?style=flat)](https://tailwindcss.com)
8+
[![Tailwind CSS](https://img.shields.io/badge/Tailwind_CSS-4.0-38B2AC?style=flat)](https://tailwindcss.com)
99

1010
---
1111

@@ -45,30 +45,14 @@ Built with the same technologies I'll bring to your team and more:
4545

4646
## ⚙️ Installation
4747
```bash
48-
# Clone with submodules (for Tauri setup)
49-
git clone --recurse-submodules https://github.com/yourusername/resume-portfolio
50-
51-
# Install dependencies
52-
cd resume-portfolio
53-
cargo leptos install
54-
npm install
55-
56-
# Start development
57-
cargo leptos watch
48+
todo
5849
```
5950

6051
---
6152

6253
## 🖥️ Usage
6354
```bash
64-
# Dev server (Web)
65-
cargo leptos watch --hot-reload
66-
67-
# Production build
68-
cargo leptos build --release
69-
70-
# Desktop app (via Tauri)
71-
cargo tauri dev
55+
todo
7256
```
7357

7458
---
@@ -88,9 +72,11 @@ MIT Licensed - Feel free to adapt and use, but attribution appreciated!
8872
---
8973

9074
## 🙋 Let's Connect!
91-
Ready to add these skills to your team?
92-
[![LinkedIn](https://img.shields.io/badge/LinkedIn-Connect-blue?style=for-the-badge&logo=linkedin)](your-linkedin)
93-
📧 **Email**: [email protected]
75+
Ready to add these skills to your team?
76+
[![Upwork Kofi Otuo](https://img.shields.io/badge/Upwork-Kofi%20Otuo-blue?style=for-the-badge&logo=upwork&logoColor=black&labelColor=brightgreen)](https://www.upwork.com/freelancers/~0196d30a485de56f48?mp_source=share)
77+
78+
79+
📧 **Email**: [email protected]
9480

9581
*"This resume builds itself - ask me about the CI/CD pipeline!"* 🔥
9682

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8" />
55
<title>Tauri + Leptos App</title>
6-
<link data-trunk rel="css" href="styles.css" />
6+
<link data-trunk rel="css" href="output.css" />
77
<link data-trunk rel="copy-dir" href="public" />
88
<link data-trunk rel="rust" data-wasm-opt="z" />
99
</head>

rust-analyzer.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[rustfmt]
2+
overrideCommand = ["leptosfmt", "--stdin", "--rustfmt"]

src/app.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ pub fn App() -> impl IntoView {
3737
let args = serde_wasm_bindgen::to_value(&GreetArgs { name: &name }).unwrap();
3838
// Learn more about Tauri commands at https://tauri.app/develop/calling-rust/
3939
let new_msg = invoke("greet", args).await.as_string().unwrap();
40+
log::info!("nw {}", new_msg);
41+
log!("nw2 {}", new_msg);
4042
set_greet_msg.set(new_msg);
4143
});
4244
};
@@ -47,7 +49,7 @@ pub fn App() -> impl IntoView {
4749

4850
<div class="row">
4951
<a href="https://tauri.app" target="_blank">
50-
<img src="public/tauri.svg" class="logo tauri" alt="Tauri logo"/>
52+
<img src="public/tauri.svg" class="logo tauri scale-200" alt="Tauri logo"/>
5153
</a>
5254
<a href="https://docs.rs/leptos/" target="_blank">
5355
<img src="public/leptos.svg" class="logo leptos" alt="Leptos logo"/>

styles.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import "tailwindcss";
2+
13
.logo.leptos:hover {
24
filter: drop-shadow(0 0 2em #a82e20);
35
}

0 commit comments

Comments
 (0)