Project card done
This commit is contained in:
parent
b0bb9a836c
commit
474cbf3817
@ -3,7 +3,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.page-container {
|
.page-container {
|
||||||
padding-top: 80px;
|
padding-top: 83px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
@ -55,7 +55,6 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-item {
|
.navbar-item {
|
||||||
@ -91,7 +90,7 @@
|
|||||||
|
|
||||||
.navbar-title {
|
.navbar-title {
|
||||||
color: white;
|
color: white;
|
||||||
font-size: 18pt;
|
font-size: 16pt;
|
||||||
font-weight: 100;
|
font-weight: 100;
|
||||||
font-family: 'Gill Sans';
|
font-family: 'Gill Sans';
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
use jl_types::{domain::{media::Media}, dto::project_card::ProjectCardDto};
|
use jl_types::{domain::{media::Media}, dto::project_card::ProjectCardDto};
|
||||||
use stylist::css;
|
|
||||||
use thousands::Separable;
|
use thousands::Separable;
|
||||||
use yew::prelude::*;
|
use yew::prelude::*;
|
||||||
use yew_router::prelude::use_navigator;
|
use yew_router::prelude::use_navigator;
|
||||||
@ -37,7 +36,7 @@ pub fn project_card(props: &ProjectCardProps) -> Html {
|
|||||||
format!("{price_separated}.00")
|
format!("{price_separated}.00")
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
None => "N/A".into()
|
None => "0.00".into()
|
||||||
});
|
});
|
||||||
|
|
||||||
let project_condition = props.project.project_condition.to_string();
|
let project_condition = props.project.project_condition.to_string();
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
use jl_types::{domain::{project_state::ProjectState, project_type::ProjectType, project_condition::ProjectCondition, project::Project}, dto::{filters::Filter, project_card::ProjectCardDto}};
|
use jl_types::{domain::{project_state::ProjectState, project_type::ProjectType, project_condition::ProjectCondition}, dto::{filters::Filter, project_card::ProjectCardDto}};
|
||||||
use log::info;
|
use log::info;
|
||||||
use yew::prelude::*;
|
use yew::prelude::*;
|
||||||
use yew_utils::{components::drop_down::{DropDownProps, DropDown}, vdom::comp_with};
|
use yew_utils::{components::drop_down::{DropDownProps, DropDown}, vdom::comp_with};
|
||||||
|
Loading…
Reference in New Issue
Block a user