Skip to content

Commit

Permalink
Changes for 2023
Browse files Browse the repository at this point in the history
  • Loading branch information
vaijira committed Mar 19, 2024
1 parent cd6cf9d commit 5d037dc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ reqwest = { version = "0.11", default-features = false, features = ["json"] }
thirtyfour = "0.27"
tokio = { version = "1.0", features = ["fs", "macros", "rt-multi-thread", "io-util"] }

[profile.dev.package."*"]
opt-level = 3

[profile.release]
# less code to include into binary
panic = 'abort'
Expand Down
4 changes: 2 additions & 2 deletions src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ use crate::parsers::{degiro::DegiroParser, pdf::read_pdf};
use crate::tooltip::Tooltip;
use crate::utils::web;

const DEFAULT_YEAR: usize = 2022;
const DEFAULT_YEAR: usize = 2023;

pub struct App {
current_error: Mutable<Option<String>>,
Expand Down Expand Up @@ -806,7 +806,7 @@ impl App {
.text("Para cualquier mejora, duda, sugerencia o error puedes crear un ")
.child(
html!("a", {
.attr("href", "https://github.com/vaijira/burocratin/issues")
.attr("href", "https://github.com/vaijira/burocratin/issues/new?title=Error&body=He%20encontrado%20un%20error")
.attr("alt", "informar de problemas o sugerencias")
.attr("target", "_blank")
.attr("rel", "external nofollow")
Expand Down
2 changes: 1 addition & 1 deletion src/feathers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ pub fn render_svg_instagram_icon(color: &str, size: &str) -> Dom {
pub fn render_svg_linkedin_icon(color: &str, size: &str) -> Dom {
// <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-linkedin"><path d="M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"></path><rect x="2" y="9" width="4" height="12"></rect><circle cx="4" cy="4" r="2"></circle></svg>
svg!("svg", {
.attr("alt", "instagram icon")
.attr("alt", "linkedin icon")
.attr("width", size)
.attr("height", size)
.attr("viewBox", "0 0 24 24")
Expand Down

0 comments on commit 5d037dc

Please sign in to comment.